mirror of
https://github.com/elliotnunn/powermac-rom.git
synced 2024-10-19 03:24:43 +00:00
neaten labels
This commit is contained in:
parent
e52f6d1ecd
commit
05350c4884
@ -19,7 +19,6 @@ rXER set r17
|
|||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
InitVectorTables
|
InitVectorTables
|
||||||
|
|
||||||
; System/Alternate Context tables
|
; System/Alternate Context tables
|
||||||
|
|
||||||
_kaddr r23, rNK, SystemCrash
|
_kaddr r23, rNK, SystemCrash
|
||||||
@ -151,7 +150,6 @@ InitKCalls
|
|||||||
; Put HTABORG and PTEGMask in KDP, and zero out the last PTEG
|
; Put HTABORG and PTEGMask in KDP, and zero out the last PTEG
|
||||||
|
|
||||||
InitHTAB
|
InitHTAB
|
||||||
|
|
||||||
mfspr r8, sdr1
|
mfspr r8, sdr1
|
||||||
|
|
||||||
; get settable HTABMASK bits
|
; get settable HTABMASK bits
|
||||||
@ -189,7 +187,6 @@ InitHTAB
|
|||||||
; in which 256 MB "segments".
|
; in which 256 MB "segments".
|
||||||
|
|
||||||
CopyPageMap
|
CopyPageMap
|
||||||
|
|
||||||
; r9 = PageMap ptr, r22 = PageMap size
|
; r9 = PageMap ptr, r22 = PageMap size
|
||||||
lwz r9, NKConfigurationInfo.PageMapInitOffset(rCI)
|
lwz r9, NKConfigurationInfo.PageMapInitOffset(rCI)
|
||||||
lwz r22, NKConfigurationInfo.PageMapInitSize(rCI)
|
lwz r22, NKConfigurationInfo.PageMapInitSize(rCI)
|
||||||
@ -261,7 +258,6 @@ CopyPageMap
|
|||||||
; Copy "BATRangeInit" array
|
; Copy "BATRangeInit" array
|
||||||
|
|
||||||
CopyBATRangeInit
|
CopyBATRangeInit
|
||||||
|
|
||||||
addi r9, rCI, NKConfigurationInfo.BATRangeInit - 4
|
addi r9, rCI, NKConfigurationInfo.BATRangeInit - 4
|
||||||
addi r8, r1, KDP.BATs - 4
|
addi r8, r1, KDP.BATs - 4
|
||||||
li r22, 4*4*8 ; 4 maps * 4 BATs * (UBAT+LBAT=8b)
|
li r22, 4*4*8 ; 4 maps * 4 BATs * (UBAT+LBAT=8b)
|
||||||
@ -323,7 +319,6 @@ CopyBATRangeInit
|
|||||||
; Leave ptr to topmost entry in r29.
|
; Leave ptr to topmost entry in r29.
|
||||||
|
|
||||||
CreatePageList
|
CreatePageList
|
||||||
|
|
||||||
lwz r21, KDP.KernelMemoryBase(r1) ; "KernelMemory" is forbidden
|
lwz r21, KDP.KernelMemoryBase(r1) ; "KernelMemory" is forbidden
|
||||||
lwz r20, KDP.KernelMemoryEnd(r1)
|
lwz r20, KDP.KernelMemoryEnd(r1)
|
||||||
subi r29, r21, 4 ; ptr to last added entry
|
subi r29, r21, 4 ; ptr to last added entry
|
||||||
@ -376,7 +371,6 @@ CreatePageList
|
|||||||
; Going in, r21/r29 point to first/last element of PageList
|
; Going in, r21/r29 point to first/last element of PageList
|
||||||
|
|
||||||
CreatePARInPageMap
|
CreatePARInPageMap
|
||||||
|
|
||||||
; r19 = size of RAM represented in PageList ("Usable" and initial "Logical" RAM)
|
; r19 = size of RAM represented in PageList ("Usable" and initial "Logical" RAM)
|
||||||
; r22 = number of 4096b pages, minus one page (counter)
|
; r22 = number of 4096b pages, minus one page (counter)
|
||||||
subf r22, r21, r29
|
subf r22, r21, r29
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
IllegalInstruction
|
IllegalInstruction
|
||||||
|
|
||||||
mfmsr r9
|
mfmsr r9
|
||||||
_bset r8, r9, bitMsrDR
|
_bset r8, r9, bitMsrDR
|
||||||
mtmsr r8
|
mtmsr r8
|
||||||
@ -293,7 +292,6 @@ KCallPrioritizeInterrupts
|
|||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
KCallSystemCrash
|
KCallSystemCrash
|
||||||
|
|
||||||
stw r0, KDP.r0(r1)
|
stw r0, KDP.r0(r1)
|
||||||
stw r2, KDP.r2(r1)
|
stw r2, KDP.r2(r1)
|
||||||
stw r3, KDP.r3(r1)
|
stw r3, KDP.r3(r1)
|
||||||
@ -425,7 +423,6 @@ IntProgram
|
|||||||
|
|
||||||
_alignToCacheBlock
|
_alignToCacheBlock
|
||||||
IntSyscall
|
IntSyscall
|
||||||
|
|
||||||
bl LoadInterruptRegisters
|
bl LoadInterruptRegisters
|
||||||
mfmsr r8
|
mfmsr r8
|
||||||
subi r10, r10, 4
|
subi r10, r10, 4
|
||||||
@ -437,7 +434,6 @@ IntSyscall
|
|||||||
|
|
||||||
_alignToCacheBlock
|
_alignToCacheBlock
|
||||||
IntTrace
|
IntTrace
|
||||||
|
|
||||||
bl LoadInterruptRegisters
|
bl LoadInterruptRegisters
|
||||||
li r8, ecInstTrace
|
li r8, ecInstTrace
|
||||||
b Exception
|
b Exception
|
||||||
|
Loading…
Reference in New Issue
Block a user