omap4: update for new syscall interface and syscallfmt

This commit is contained in:
cinap_lenrek 2014-06-08 00:13:10 +02:00
parent 314e23b709
commit 07f7c46d37
4 changed files with 8 additions and 5 deletions

View file

@ -30,7 +30,9 @@
#define KSTKSIZ (16*KiB)
#define KSTACK KSTKSIZ
#define USTKSIZE (8*MiB)
#define HZ 100
#define HZ (100) /* clock frequency */
#define MS2HZ (1000/HZ) /* millisec per clock tick */
#define MAXSYSARG 7
#define MAXMACH 2

View file

@ -32,6 +32,7 @@ PORT=\
qlock.$O\
segment.$O\
swap.$O\
syscallfmt.$O\
sysfile.$O\
sysproc.$O\
taslock.$O\
@ -46,6 +47,7 @@ OBJ=\
clock.$O\
arch.$O\
trap.$O\
syscall.$O\
$CONF.root.$O\
$CONF.rootc.$O\
$DEVS\

View file

@ -29,7 +29,7 @@ dev
# mouse
uart
usb
# usb
link
# archoma
@ -39,7 +39,7 @@ link
netdevmedium
# usbohci
usbehci usbehciomap
# usbehci usbehciomap
ip
tcp
@ -58,7 +58,6 @@ misc
# mouse
# sdaoe sdscsi
# softfpu
# syscall
# uarti8250
# ucalloc
# ucallocb

View file

@ -346,7 +346,7 @@ syscall(Ureg *ureg)
error(Ebadarg);
}
up->psstate = sysctab[scall];
ret = systab[scall](up->s.args);
ret = systab[scall]((va_list)up->s.args);
poperror();
}else{
e = up->syserrstr;