Annotation of xinu/sys/pscfuncts.c, revision 1.1.1.1

1.1       root        1: #include <kernel.h>
                      2: #include <proc.h>
                      3: disable()
                      4: {
                      5: #ifdef DEBUG
                      6:        dotrace("disable()",NULL,NULL);
                      7: #endif
                      8:        if (!(proctab[currpid].phasps)++)
                      9:                _disable(&(proctab[currpid].pstatreg));
                     10: }
                     11: 
                     12: restore()
                     13: {
                     14: #ifdef DEBUG
                     15:        dotrace("restore()",NULL,NULL);
                     16: #endif
                     17:        if (--(proctab[currpid].phasps) == 0)
                     18:                _restore(&(proctab[currpid].pstatreg));
                     19: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.