zephyr/scripts
Andrew Boie 990bf16206 kernel: abolish __syscall_inline
This used to exist because in earlier versions of the system call
interfaces, an "extern" declaration of the system call implementation
function would precede the real inline version of the implementation.
The compiler would not like this and would throw "static declaration
of ‘foo’ follows non-static declaration". So alternate macros were
needed which declare the implementation function as 'static inline'
instead of extern.

However, currently the inline version of these system call
implementations appear first, the K_SYSCALL_DECLARE() macros appear in
the header generated by gen_syscalls.py, which is always included at the
end of the header file. The compiler does not complain if a
static inline function is succeeded by an extern prototype of the
same function. This lets us simplify the generated system call
macros and just use __syscall everywhere.

The disassembly of this was checked on x86 to ensure that for
kernel-only or CONFIG_USERSPACE=n scenarios, everything is still being
inlined as expected.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-10-03 16:16:03 -04:00
..
basic
checkpatch
ci ci: compliance script should use python3 2017-09-12 19:01:58 -04:00
cross_compiler
dts scripts/dts/extract_dts_includes.py: allow multiple fixup files 2017-09-17 17:34:38 -04:00
footprint
gitlint
kconfig scrips/merge_config.sh: fix corner case \n-less last line 2017-09-30 22:42:08 -04:00
sanity_chk
support
.gitignore
check_link_map.py
checkpatch.pl scripts: Update checkpatch to latest from the linux kernel 2017-10-02 18:48:56 -04:00
checkstack.pl
file2hex.py build: Add rules in Makefile.gen to generate a hex file 2017-09-18 14:56:16 -04:00
filter-known-issues.py doc: filter-known-issues.py and empty files 2017-09-21 16:58:17 -04:00
gcc-version.sh
gen_gdt.py x86: implement userspace APIs 2017-09-12 12:46:36 -07:00
gen_idt.py
gen_kobject_list.py gen_kobject_list.py: device driver support 2017-09-29 13:25:58 -07:00
gen_mmu.py gen_mmu.py: load directly 2017-09-21 13:27:25 -04:00
gen_offset_header.py
gen_syscall_header.py kernel: abolish __syscall_inline 2017-10-03 16:16:03 -04:00
gen_syscalls.py kernel: abolish __syscall_inline 2017-10-03 16:16:03 -04:00
headerdep.pl
Kbuild.include
make-ll
Makefile
Makefile.build
Makefile.clean
Makefile.extrawarn
Makefile.gen build: Makefile.gen: reorder make rules to deal with greedy rule match 2017-09-28 09:29:34 -07:00
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.lib
Makefile.modbuiltin
Makefile.qemu qemu: cleanup qemu configurations 2017-09-23 16:51:20 -07:00
Makefile.toolchain.espressif
Makefile.toolchain.gccarmemb
Makefile.toolchain.issm
Makefile.toolchain.riscv32
Makefile.toolchain.xcc
Makefile.toolchain.xtools
Makefile.toolchain.zephyr
Makefile.xt-run
Makefile.xtsc-run
mkmakefile
mksysmap
process_gperf.py
qemu-machine-hack.py
requirements.txt
sanitycheck sanitycheck: save/load lists of filterd tests 2017-09-12 18:13:46 -04:00
spelling.txt
tags.sh
timestamp
uncrustify.cfg
vercomp
waitpid