zephyr/scripts
Daniel Leung a0224842bc microkernel: introduce support for private semaphores
This enable defining semaphores in source code in addition to
defining in MDEF files. This introduces the macro
DEFINE_SEMAPHORE(semaphore_name). The semaphores created this
way are the same, in functionality, as those defined in MDEF
files. They can be manipulated by the standard microkernel
semaphore APIs.

Define the semaphore using:

  DEFINE_SEMAPHORE(sem1);

and "sem1" can be used, for example:

  task_sem_give(sem1);

or,

  task_sem_take(sem1);

etc.

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

extern const ksem_t sem11;

to the desired C or header file.

Change-Id: Ia9c128648f7a26fc776eeb8f6fcc4158b1712a97
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 initial commit for next-gen sanity checks 2016-02-05 20:14:42 -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 semaphores 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