STATUS: 60%

0000 T _signal		compatible
    0052 T _psignal		compatible
    00b6 T _issig		not compatible
    0186 T _stop		compatible
    0216 T _psig		compatible
    02d4 T _fsig		compatible
    031e T _core		not compatible
    0512 T _grow		not compatible
    0640 T _ptrace		not compatible
    075c T _procxmt		compatible
This commit is contained in:
Oliver Lehmann 2008-06-03 20:19:28 +00:00
parent 678e4dc80d
commit fbecd39b7a
1 changed files with 4 additions and 3 deletions

View File

@ -107,6 +107,7 @@ issig()
{ {
register n; register n;
register struct proc *p, *q; register struct proc *p, *q;
int foo1;
p = u.u_procp; p = u.u_procp;
while(p->p_sig) { while(p->p_sig) {
@ -250,7 +251,7 @@ core()
u.u_base.l = (caddr_t)&u; u.u_base.l = (caddr_t)&u;
u.u_count = ctob(USIZE); u.u_count = ctob(USIZE);
u.u_segflg = 1; u.u_segflg = 1;
u.u_limit = (daddr_t)ctod(Maxmem); u.u_limit = (daddr_t)ctod(umemory);
writei(ip); writei(ip);
u.u_segflg = 0; u.u_segflg = 0;
if(!u.u_segmented) { if(!u.u_segmented) {
@ -297,7 +298,7 @@ int sp;
this needs more work... this needs more work...
*/ */
if(sp >= ctob(-(u.u_ssize-1)+0x100)) if((unsigned)sp >= ctob(-(u.u_ssize-1)+0x100))
return(0); return(0);
for(j=6;;) { for(j=6;;) {
@ -413,7 +414,7 @@ procxmt()
/* read u */ /* read u */
case 3: case 3:
i = (int)ipc.ip_addr.right; i = (int)ipc.ip_addr.right;
if (i<0 || i >= ctob(USIZE)) if (i<0 || (unsigned)i >= ctob(USIZE))
goto error; goto error;
ipc.ip_data = (long)((physadr)&u)->r[i>>1]; ipc.ip_data = (long)((physadr)&u)->r[i>>1];
break; break;