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 KSTKSIZ (16*KiB)
#define KSTACK KSTKSIZ #define KSTACK KSTKSIZ
#define USTKSIZE (8*MiB) #define USTKSIZE (8*MiB)
#define HZ 100
#define HZ (100) /* clock frequency */
#define MS2HZ (1000/HZ) /* millisec per clock tick */
#define MAXSYSARG 7 #define MAXSYSARG 7
#define MAXMACH 2 #define MAXMACH 2

View file

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

View file

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

View file

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