diff --git a/src/sys/include/sys/tss.h b/src/sys/include/sys/tss.h index 20d996c..57d868f 100644 --- a/src/sys/include/sys/tss.h +++ b/src/sys/include/sys/tss.h @@ -80,10 +80,38 @@ long st_space[20]; /* 8*10 bytes for each FP-reg = 80 bytes */ }; +struct i386_frame { + uInt32 gs; + uInt32 fs; + uInt32 es; + uInt32 ds; + uInt32 ss; + uInt32 edi; + uInt32 esi; + uInt32 ebp; + uInt32 esp; + uInt32 ebx; + uInt32 edx; + uInt32 ecx; + uInt32 eax; + /* + uInt32 vector; + uInt32 error_code; + */ + uInt32 eip; + uInt32 cs; + uInt32 flags; + uInt32 user_esp; + uInt32 user_ss; + } + #endif /*** $Log$ + Revision 1.3 2004/07/22 20:53:07 reddawg + atkbd: fixed problem + Revision 1.2 2004/05/21 15:12:17 reddawg Cleaned up diff --git a/src/sys/include/ubixos/exec.h b/src/sys/include/ubixos/exec.h index 8b51a5c..98c2074 100644 --- a/src/sys/include/ubixos/exec.h +++ b/src/sys/include/ubixos/exec.h @@ -33,13 +33,16 @@ #include #include -uInt32 execThread(void (* tproc)(void),int,char *); +uInt32 execThread(void (* tproc)(void),uInt32,char *); void execFile(char *file,int argc,char **argv,int console); #endif /*** $Log$ + Revision 1.4 2004/05/21 15:20:00 reddawg + Cleaned up + END ***/ diff --git a/src/sys/kernel/exec.c b/src/sys/kernel/exec.c index a6232a1..6205506 100644 --- a/src/sys/kernel/exec.c +++ b/src/sys/kernel/exec.c @@ -49,7 +49,7 @@ so do not use out side of kernel space *****************************************************************************************/ -uInt32 execThread(void (* tproc)(void),int stack,char *arg) { +uInt32 execThread(void (* tproc)(void),uInt32 stack,char *arg) { kTask_t * newProcess = 0x0; /* Find A New Thread */ newProcess = schedNewTask(); @@ -405,6 +405,9 @@ /*** $Log$ + Revision 1.51 2004/07/27 07:25:09 reddawg + chg: I should of made it print out stackAddr + Revision 1.50 2004/07/27 07:17:50 reddawg chg: verify location of stack before building process