diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/fpu.c | 2 | ||||
-rw-r--r-- | i386/i386/pcb.c | 2 | ||||
-rw-r--r-- | i386/intel/pmap.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/i386/i386/fpu.c b/i386/i386/fpu.c index ad88a5d..d5824f8 100644 --- a/i386/i386/fpu.c +++ b/i386/i386/fpu.c @@ -152,7 +152,7 @@ init_fpu() void fpu_module_init() { - ifps_zone = zinit(sizeof(struct i386_fpsave_state), + ifps_zone = zinit(sizeof(struct i386_fpsave_state), 0, THREAD_MAX * sizeof(struct i386_fpsave_state), THREAD_CHUNK * sizeof(struct i386_fpsave_state), 0, "i386 fpsave state"); diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c index f431e89..1b24557 100644 --- a/i386/i386/pcb.c +++ b/i386/i386/pcb.c @@ -311,7 +311,7 @@ thread_t switch_context(old, continuation, new) void pcb_module_init() { - pcb_zone = zinit(sizeof(struct pcb), + pcb_zone = zinit(sizeof(struct pcb), 0, THREAD_MAX * sizeof(struct pcb), THREAD_CHUNK * sizeof(struct pcb), 0, "i386 pcb state"); diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index aa89aa5..de65ac8 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -697,9 +697,9 @@ void pmap_init() * and of the physical-to-virtual entries. */ s = (vm_size_t) sizeof(struct pmap); - pmap_zone = zinit(s, 400*s, 4096, 0, "pmap"); /* XXX */ + pmap_zone = zinit(s, 0, 400*s, 4096, 0, "pmap"); /* XXX */ s = (vm_size_t) sizeof(struct pv_entry); - pv_list_zone = zinit(s, 10000*s, 4096, 0, "pv_list"); /* XXX */ + pv_list_zone = zinit(s, 0, 10000*s, 4096, 0, "pv_list"); /* XXX */ #if NCPUS > 1 /* |