| plan 9 kernel history: overview | file list | diff list |
1990/0814/gnot/fault.c (diff list | history)
| 1990/08101/sys/src/9/gnot/fault.c:109,117 – 1990/0814/sys/src/9/gnot/fault.c:109,115 (short | long | prev | next) | ||
| 1990/03091 | /* grow stack */ o = s->o; n = o->npte; | |
| 1990/0802 |
| |
| 1990/08101/sys/src/9/gnot/fault.c:118,123 – 1990/0814/sys/src/9/gnot/fault.c:116,122 | ||
| 1990/03091 | growpte(o, (s->maxva-addr)>>PGSHIFT); | |
| 1990/0802 | poperror(); | |
| 1990/03091 | /* stacks grown down, sigh */ | |
| 1990/0814 | lock(o); | |
| 1990/03091 | memcpy(o->pte+(o->npte-n), o->pte, n*sizeof(PTE)); memset(o->pte, 0, (o->npte-n)*sizeof(PTE)); unlock(o); | |