diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-31 20:59:25 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-31 20:59:25 +0100 |
commit | d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8 (patch) | |
tree | e110d378f34f909ab5871bf1fc7ccc3ea899f677 /i386/i386at/model_dep.c | |
parent | 422ab47d25576587600d093297512d8b6cbec890 (diff) | |
download | gnumach-d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8.tar.gz gnumach-d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8.tar.bz2 gnumach-d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8.zip |
Fix other confusions between KERNEL_STACK_SIZE and INTSTACK_SIZE
Diffstat (limited to 'i386/i386at/model_dep.c')
-rw-r--r-- | i386/i386at/model_dep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index 7a679ba4..fe11bffc 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -135,7 +135,7 @@ extern char version[]; boolean_t rebootflag = FALSE; /* exported to kdintr */ /* Interrupt stack. */ -static char int_stack[KERNEL_STACK_SIZE] __aligned(KERNEL_STACK_SIZE); +static char int_stack[INTSTACK_SIZE] __aligned(INTSTACK_SIZE); #if NCPUS <= 1 vm_offset_t int_stack_top[1], int_stack_base[1]; #endif @@ -553,7 +553,7 @@ i386at_init(void) #endif /* MACH_XEN */ int_stack_base[0] = (vm_offset_t)&int_stack; - int_stack_top[0] = int_stack_base[0] + KERNEL_STACK_SIZE - 4; + int_stack_top[0] = int_stack_base[0] + INTSTACK_SIZE - 4; } /* |