- Timestamp:
- Dec 8, 2012, 4:59:50 PM (12 years ago)
- Location:
- trunk/softs/tsar_boot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/Makefile
r276 r281 42 42 C_SRCS += boot_tty.c 43 43 C_SRCS += boot_loader_entry.c 44 C_SRCS += exceptions.c 44 45 45 46 OBJS := $(subst .s,.o,$(S_SRCS)) -
trunk/softs/tsar_boot/reset.S
r276 r281 42 42 43 43 _boot: 44 # Disable interruptions 44 # Disable interruptions, keep STATUSbev enabled 45 45 46 mtc0 $0, $12 46 la $4, (1 << 22) 47 mtc0 $4, $12 47 48 48 49 # computes proc_id, local_id, cluster_id, and cluster_increment … … 124 125 jr $2 125 126 127 # exeption entry point 128 .org 0x0380 129 _exep: 130 mfc0 $4, $12, 0 # first arg is status 131 mfc0 $5, $13, 0 # second arg is cause 132 mfc0 $6, $14, 0 # third argc is epc 133 nop 134 j handle_exept 135 nop 136 126 137 .end boot 127 138
Note: See TracChangeset
for help on using the changeset viewer.