zephyr/scripts
Daniel Leung 0abe07a0cd microkernel: introduce support for private memory maps
This enable defining memory maps in source code in addition to
defining in MDEF files. This introduces the macro
DEFINE_MEM_MAP(mem_map_name, ...). The memory maps created this
way are the same, in functionality, as those defined in MDEF
files. They can be manipulated by the standard microkernel
memory map APIs.

Define the memory map using:

  DEFINE_MEM_MAP(mem_map1, blocks, block_size);

and "mem_map1" can be used, for example:

  task_mem_map_alloc(mem_map1, ...);

or,

  task_mem_map_free(mem_map1, ...);

etc.

To use the memory map defined in another source file, simply add:

extern const kmemory_map_t mem_map1;

to the desired C or header file.

Change-Id: I9c551b90f9d0a95f961fd8ec1c5278c2ea44312d
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:15:18 -05:00
..
basic First commit 2015-04-10 16:44:37 -07:00
cross_compiler First commit 2015-04-10 16:44:37 -07:00
gen_idt Rename Zephyr OS into Zephyr Kernel 2016-02-05 20:14:26 -05:00
genksyms First commit 2015-04-10 16:44:37 -07:00
kconfig doxygen: add @brief and capitalize 2016-02-05 20:14:33 -05:00
sanity_chk samples/microkernel: add test for private pipes 2016-02-05 20:15:18 -05:00
0001-armv7m-support-basepri-primask-interrupt-locking.patch Add patch for QEMU that solves the interrupt locking issue with ARM in QEMU. 2016-02-05 19:45:10 -05:00
check_known_checkpatch_issues.sh Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
checkpatch.pl First commit 2015-04-10 16:44:37 -07:00
checkstack.pl First commit 2015-04-10 16:44:37 -07:00
config First commit 2015-04-10 16:44:37 -07:00
diffconfig First commit 2015-04-10 16:44:37 -07:00
do_checkpatch.sh Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
gcc-version.sh First commit 2015-04-10 16:44:37 -07:00
headerdep.pl First commit 2015-04-10 16:44:37 -07:00
Kbuild.include Revert "Kbuild: Tools build at TIMO_BASE directory." 2016-02-05 20:14:24 -05:00
link-zephyr.sh toolchain: add support for iamcu toolchain 2016-02-05 20:14:38 -05:00
maintainer-checkpatch.bash maintainer-checkpatch.bash: ignore gerrit ID 2016-02-05 20:14:27 -05:00
make-ll Rename VXMICRO_JOBS to ZEPHYR_JOBS 2016-02-05 20:14:15 -05:00
Makefile Kbuild: Clean target fix. 2016-02-05 20:14:22 -05:00
Makefile.arc.preparch Support ARC architecture with kbuild 2016-02-05 20:14:41 -05:00
Makefile.arm.preparch Kbuild: Introduce QEMU_PIPE option 2016-02-05 20:14:38 -05:00
Makefile.asm-generic First commit 2015-04-10 16:44:37 -07:00
Makefile.build Revert "Kbuild: Tools build at TIMO_BASE directory." 2016-02-05 20:14:24 -05:00
Makefile.clean First commit 2015-04-10 16:44:37 -07:00
Makefile.dtbinst First commit 2015-04-10 16:44:37 -07:00
Makefile.extrawarn First commit 2015-04-10 16:44:37 -07:00
Makefile.headersinst First commit 2015-04-10 16:44:37 -07:00
Makefile.help First commit 2015-04-10 16:44:37 -07:00
Makefile.host First commit 2015-04-10 16:44:37 -07:00
Makefile.lib Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
Makefile.modbuiltin First commit 2015-04-10 16:44:37 -07:00
Makefile.preparch build: don't use FORCE in deps for sysgen 2016-02-05 20:14:42 -05:00
Makefile.toolchain.iamcu toolchain: add support for iamcu toolchain 2016-02-05 20:14:38 -05:00
Makefile.toolchain.xtools kbuild: Add libgcc.a directory to xtools search path 2016-02-05 20:14:16 -05:00
Makefile.toolchain.yocto Use qemu from toolchain if available 2016-02-05 20:14:12 -05:00
Makefile.x86.preparch Kconfig: Rework PLATFORM_QUARK to become PLATFORM_IA32_PCI 2016-02-05 20:14:45 -05:00
mkmakefile First commit 2015-04-10 16:44:37 -07:00
mksysmap First commit 2015-04-10 16:44:37 -07:00
sanitycheck sanitycheck: treat warnings as errors 2016-02-05 20:14:45 -05:00
spelling.txt First commit 2015-04-10 16:44:37 -07:00
sysgen microkernel: introduce support for private memory maps 2016-02-05 20:15:18 -05:00
timestamp First commit 2015-04-10 16:44:37 -07:00
truesize Rewrite truesize tool to use python 2016-02-05 20:13:58 -05:00