minix/include/minix
Lorenzo Cavallaro 8dfc7699a6 cdecl calling convention requires to push arguments on the stack in a
reverse order to easily support variadic arguments. Thus, instead of
using the proper stdarg.h macros (that nowadays are
compiler-dependent), it may be tempting to directly take the address of
the last argument and considering it as the start of an array. This is
a shortcut that avoid looping to get all the arguments as the CPU
already pushed them on the stack before the call to the function.

Unfortunately, such an assumption is strictly compiler-dependent and
compilers are free to move the last argument on the stack, as a local
variable, and return the address of the location where the argument was
stored, if asked for. This will break things as the rest of the array's
argument are stored elsewhere (typically, a couple of words above the
location where the argument was stored).

This patch fixes the issue by allowing ACK to take the shortcut and
enabling gcc/llvm-gcc to follow the right way.
2010-03-30 09:36:46 +00:00
..
a.out.h a.out.h typo (Bug#398, reported by 7shi) 2010-02-07 12:01:37 +00:00
bitmap.h Fixed brackets in bitmap macros 2010-03-30 08:34:33 +00:00
callnr.h New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
cdrom.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
com.h Userspace scheduling 2010-03-29 11:07:20 +00:00
compiler-ack.h cdecl calling convention requires to push arguments on the stack in a 2010-03-30 09:36:46 +00:00
compiler.h cdecl calling convention requires to push arguments on the stack in a 2010-03-30 09:36:46 +00:00
config.h Bump version number to 3.1.7 2010-02-17 12:51:26 +00:00
const.h Add an UNUSED annotation, and use it in libsys. 2010-03-11 14:23:33 +00:00
cpufeature.h _cpuid() - full cpuid instruction wrapper 2010-01-15 15:23:57 +00:00
crtso.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
debug.h - VM_KERN_NOPAGEZERO feature is gone 2009-09-21 14:23:10 +00:00
devio.h panic() cleanup. 2010-03-05 15:05:11 +00:00
dir.h Changes to the include files in order to make cross-compilation possible. 2009-11-06 08:46:22 +00:00
dirent.h Changes to the include files in order to make cross-compilation possible. 2009-11-06 08:46:22 +00:00
dl_eth.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
dmap.h New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
driver.h Convert drivers/ and servers/ over to bsdmake 2010-03-22 21:25:22 +00:00
drivers.h Convert drivers/ and servers/ over to bsdmake 2010-03-22 21:25:22 +00:00
drvlib.h Convert drivers/ and servers/ over to bsdmake 2010-03-22 21:25:22 +00:00
ds.h New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
endpoint.h Mostly a revert of r5306. com.h defines MAX_NR_TASKS value which replaces 2009-09-29 20:13:41 +00:00
fslib.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
ioctl.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
ipc.h IPC status code for receive(). 2010-03-23 00:09:11 +00:00
ipcconst.h A reliable way for userspace to check if a msg is from kernel 2010-03-29 11:25:01 +00:00
keymap.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
minlib.h More const correctness. 2010-03-23 14:25:09 +00:00
mq.h use servers/inet/mq.[ch] to queue messages using mq_queue() in 2007-01-12 13:33:12 +00:00
partition.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
paths.h Drivers and servers are simply known as services. 2009-12-17 01:53:26 +00:00
portio.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
profile.h Changes to the include files in order to make cross-compilation possible. 2009-11-06 08:46:22 +00:00
queryparam.h Added paramvalue to the library. 2005-11-08 13:59:27 +00:00
rs.h New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
safecopies.h New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sef.h IPC status code for receive(). 2010-03-23 00:09:11 +00:00
sound.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
sys_config.h Throw out obsolete Atari, Macintosh and Sun code to un-break packages; 2010-02-16 19:19:42 +00:00
sysinfo.h Add 'getidle' CPU utilization measurement infrastructure 2009-12-02 11:52:26 +00:00
syslib.h Userspace scheduling 2010-03-29 11:07:20 +00:00
sysutil.h panic() cleanup. 2010-03-05 15:05:11 +00:00
tty.h Changes to the include files in order to make cross-compilation possible. 2009-11-06 08:46:22 +00:00
type.h Include directory reorg and makefile updates. 2010-03-08 11:04:59 +00:00
types.h Explicitly mark i8_t as signed 2010-01-25 18:17:04 +00:00
u64.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
vfsif.h - Fix dangling symlink regression 2010-01-21 09:32:15 +00:00
vm.h New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00