Changes in kernel/arch/mips32/src/start.S [9d58539:33add3a8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/start.S
r9d58539 r33add3a8 30 30 #include <arch/mm/page.h> 31 31 #include <arch/asm/boot.h> 32 #include <arch/context_offset.h>33 32 #include <arch/stack.h> 33 #include <arch/istate_struct.h> 34 34 35 35 .text … … 51 51 #define REG_SAVE_MASK 0x1f 52 52 53 #define ISTATE_OFFSET_A0 054 #define ISTATE_OFFSET_A1 455 #define ISTATE_OFFSET_A2 856 #define ISTATE_OFFSET_A3 1257 #define ISTATE_OFFSET_T0 1658 #define ISTATE_OFFSET_T1 2059 #define ISTATE_OFFSET_V0 2460 #define ISTATE_OFFSET_V1 2861 #define ISTATE_OFFSET_AT 3262 #define ISTATE_OFFSET_T2 3663 #define ISTATE_OFFSET_T3 4064 #define ISTATE_OFFSET_T4 4465 #define ISTATE_OFFSET_T5 4866 #define ISTATE_OFFSET_T6 5267 #define ISTATE_OFFSET_T7 5668 #define ISTATE_OFFSET_S0 6069 #define ISTATE_OFFSET_S1 6470 #define ISTATE_OFFSET_S2 6871 #define ISTATE_OFFSET_S3 7272 #define ISTATE_OFFSET_S4 7673 #define ISTATE_OFFSET_S5 8074 #define ISTATE_OFFSET_S6 8475 #define ISTATE_OFFSET_S7 8876 #define ISTATE_OFFSET_T8 9277 #define ISTATE_OFFSET_T9 9678 #define ISTATE_OFFSET_KT0 10079 #define ISTATE_OFFSET_KT1 10480 #define ISTATE_OFFSET_GP 10881 #define ISTATE_OFFSET_SP 11282 #define ISTATE_OFFSET_S8 11683 #define ISTATE_OFFSET_RA 12084 #define ISTATE_OFFSET_LO 12485 #define ISTATE_OFFSET_HI 12886 #define ISTATE_OFFSET_STATUS 13287 #define ISTATE_OFFSET_EPC 13688 #define ISTATE_OFFSET_ALIGNMENT 14089 90 #define ISTATE_SOFT_SIZE 14491 92 53 /* 93 54 * The fake ABI prologue is never executed and may not be part of the … … 97 58 */ 98 59 .macro FAKE_ABI_PROLOGUE 99 sub $sp, ISTATE_S OFT_SIZE60 sub $sp, ISTATE_SIZE 100 61 sw $ra, ISTATE_OFFSET_EPC($sp) 101 62 .endm … … 265 226 KERNEL_STACK_TO_K0 266 227 267 sub $k0, ISTATE_S OFT_SIZE228 sub $k0, ISTATE_SIZE 268 229 sw $sp, ISTATE_OFFSET_SP($k0) 269 230 move $sp, $k0 … … 355 316 tlb_refill_handler: 356 317 KERNEL_STACK_TO_K0 357 sub $k0, ISTATE_S OFT_SIZE318 sub $k0, ISTATE_SIZE 358 319 REGISTERS_STORE_AND_EXC_RESET $k0 359 320 sw $sp, ISTATE_OFFSET_SP($k0) … … 371 332 cache_error_handler: 372 333 KERNEL_STACK_TO_K0 373 sub $k0, ISTATE_S OFT_SIZE334 sub $k0, ISTATE_SIZE 374 335 REGISTERS_STORE_AND_EXC_RESET $k0 375 336 sw $sp, ISTATE_OFFSET_SP($k0)
Note:
See TracChangeset
for help on using the changeset viewer.