|
|
1.1.1.2 ! root 1: DISABLE = 0x2700 | PS to disable interrupts ! 2: ENABLE = 0x2000 | PS to enable interrupts 1.1 root 3: 4: .text 1.1.1.2 ! root 5: .globl panic, _panic 1.1 root 6: 1.1.1.2 ! root 7: |------------------------------------------------------------------------ ! 8: | panic -- entry point when called by exception processor ! 9: |------------------------------------------------------------------------ 1.1 root 10: 11: panic: 1.1.1.2 ! root 12: movl #panmsg2, sp@- ! 13: jmp continue 1.1 root 14: 1.1.1.2 ! root 15: |------------------------------------------------------------------------ ! 16: | _panic -- entry point when called by user programs ! 17: |------------------------------------------------------------------------ ! 18: ! 19: _panic: ! 20: movl #panmsg1,sp@- ! 21: continue: ! 22: jsr _kprintf ! 23: jsr _regdump ! 24: loop: jmp loop ! 25: .data 1.1 root 26: panmsg1: 1.1.1.2 ! root 27: .asciz "Panic trap: Return Address = 0x%x\12\15Message: %s\12\15" ! 28: .even 1.1 root 29: panmsg2: 1.1.1.2 ! root 30: .asciz "Panic trap: Return Address = 0x%x\12\15Vector: %x\12\15" ! 31: .even ! 32: .skip 300 ! 33: .globl kernstk ! 34: .even 1.1 root 35: kernstk: 1.1.1.2 ! root 36: .long 0
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.