Remove junk from old disassembler

This commit is contained in:
Elliot Nunn 2018-03-31 12:26:30 +08:00
parent 123c1e4bee
commit e2e519b863
17 changed files with 0 additions and 1345 deletions

View File

@ -24,9 +24,6 @@ InitFreeList
; Pretty obvious from log output. ; Pretty obvious from log output.
; Xrefs:
; setup
convert_pmdts_to_areas ; OUTSIDE REFERER convert_pmdts_to_areas ; OUTSIDE REFERER
; The kind of crap we have to do without a stack ; The kind of crap we have to do without a stack
@ -856,13 +853,6 @@ MPCreateArea
; createarea
; Xrefs:
; convert_pmdts_to_areas
; MPCall_72
; MPCall_73
; This function actually gets passed its own structure. ; This function actually gets passed its own structure.
; What the frick? ; What the frick?
@ -1299,11 +1289,6 @@ createarea_0x67c
; major_0x10284
; Xrefs:
; createarea
major_0x10284 ; OUTSIDE REFERER major_0x10284 ; OUTSIDE REFERER
subi r8, r8, 4 subi r8, r8, 4
addi r9, r9, -0x01 addi r9, r9, -0x01
@ -1319,11 +1304,6 @@ major_0x10284_0x10
; major_0x102a8
; Xrefs:
; createarea
major_0x102a8 ; OUTSIDE REFERER major_0x102a8 ; OUTSIDE REFERER
addi r8, r8, -0x02 addi r8, r8, -0x02
addi r9, r9, -0x01 addi r9, r9, -0x01
@ -1338,11 +1318,6 @@ major_0x102a8_0xc
; major_0x102c8
; Xrefs:
; createarea
major_0x102c8 ; OUTSIDE REFERER major_0x102c8 ; OUTSIDE REFERER
_AssertAndRelease PSA.PoolLock, scratch=r16 _AssertAndRelease PSA.PoolLock, scratch=r16
addi r30, r8, 0x08 addi r30, r8, 0x08
@ -1365,19 +1340,6 @@ major_0x102c8 ; OUTSIDE REFERER
; major_0x10320
; Xrefs:
; IntDSIOtherOther
; PagingFunc1
; MPCall_60
; convert_pmdts_to_areas
; createarea
; major_0x102c8
; MPCall_80
; MPCall_125
; MPCall_95
major_0x10320 ; OUTSIDE REFERER major_0x10320 ; OUTSIDE REFERER
mr r8, r31 mr r8, r31
li r9, -29294 li r9, -29294
@ -2200,13 +2162,6 @@ major_0x10cb8
; major_0x10d38
; Xrefs:
; convert_pmdts_to_areas
; KCSetAreaAccess
; MPCall_123
major_0x10d38 ; OUTSIDE REFERER major_0x10d38 ; OUTSIDE REFERER
andi. r16, r17, 0x06 andi. r16, r17, 0x06
li r18, 0x00 li r18, 0x00
@ -2752,12 +2707,6 @@ MPCall_82 ; OUTSIDE REFERER
; MPCall_83
; Xrefs:
; kcMPDispatch
; KCMapPage
DeclareMPCall 83, MPCall_83 DeclareMPCall 83, MPCall_83
MPCall_83 ; OUTSIDE REFERER MPCall_83 ; OUTSIDE REFERER
@ -2848,15 +2797,6 @@ MPCall_84_0x48
; free_list_add_page
; Xrefs:
; setup
; MPCall_74
; MPCall_75
; MPCall_84
; KCUnmapPages
; > r1 = kdp ; > r1 = kdp
; > r8 = maybe the page ; > r8 = maybe the page
@ -3390,10 +3330,6 @@ KCUnlockPages_0xc4
; KCHoldPages ; KCHoldPages
; Xrefs:
; kcMPDispatch
; KCMapPage
DeclareMPCall 89, KCHoldPages DeclareMPCall 89, KCHoldPages
KCHoldPages ; OUTSIDE REFERER KCHoldPages ; OUTSIDE REFERER
@ -3797,34 +3733,6 @@ MPCall_129_0x6c
; MPCall_95
; Xrefs:
; major_0x03324
; IntDSIOtherOther
; PagingFunc1
; kcMPDispatch
; NKxprintf
; MPCall_115
; MPCall_75
; MPCall_130
; KCSetAreaAccess
; MPCall_123
; MPCall_81
; MPCall_98
; KCMapPage
; KCUnmapPages
; KCMakePhysicallyContiguous
; KCLockPages
; KCUnlockPages
; KCHoldPages
; KCUnholdPages
; MPCall_91
; MPCall_92
; MPCall_93
; MPCall_94
; MPCall_129
DeclareMPCall 95, MPCall_95 DeclareMPCall 95, MPCall_95
MPCall_95 ; OUTSIDE REFERER MPCall_95 ; OUTSIDE REFERER

View File

@ -1256,9 +1256,6 @@ skip_cache_hackery_never
; copied_code_1 ; copied_code_1
; Xrefs:
; new_world
copied_code_1 ; OUTSIDE REFERER copied_code_1 ; OUTSIDE REFERER
li r10, 0x03 li r10, 0x03
@ -1317,9 +1314,6 @@ copied_code_1_end ; OUTSIDE REFERER
; copied_code_2 ; copied_code_2
; Xrefs:
; new_world
copied_code_2 ; OUTSIDE REFERER copied_code_2 ; OUTSIDE REFERER
li r10, 0x03 li r10, 0x03
mflr r9 mflr r9

View File

@ -3,48 +3,6 @@
; _log null-terminated string with a few special escapes. ; _log null-terminated string with a few special escapes.
; Not done figuring this out, with the serial and stuff. ; Not done figuring this out, with the serial and stuff.
; Xrefs:
; replace_old_kernel
; new_world
; setup
; undo_failed_kernel_replacement
; AcquireLock
; spinlock_what
; major_0x02ccc
; IntMachineCheckMemRetry
; IntMachineCheck
; major_0x03ab0
; IntThermalEvent
; kcResetSystem
; non_skeleton_reset_trap
; PagingFunc1
; KCRegisterCpuPlugin
; KCStartCPU
; NKxprintf
; MPCall_108
; NKSetClockStep
; NKSetClockDriftCorrection
; convert_pmdts_to_areas
; NKCreateAddressSpaceSub
; createarea
; major_0x10320
; MPCall_95
; ExtendPool
; major_0x12b94
; InitTMRQs
; StartTimeslicing
; SchInit
; major_0x14bcc
; panic
; major_0x18040
; print_xpt_info
; print_sprgs
; print_sprs
; print_segment_registers
; print_gprs
; print_memory
; print_memory_logical
prints ; OUTSIDE REFERER prints ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
stmw r24, -0x0108(r1) stmw r24, -0x0108(r1)
@ -152,15 +110,6 @@ prints_0x13c
; print_common
; Xrefs:
; PrintS
; Printd
; print_digity_common
; getchar
; Printc
print_common ; OUTSIDE REFERER print_common ; OUTSIDE REFERER
beq- cr7, print_common_0x8c beq- cr7, print_common_0x8c
mtmsr r31 mtmsr r31
@ -215,10 +164,6 @@ print_common_0x8c
; Restores registers from EWA and returns. ; Restores registers from EWA and returns.
; Xrefs:
; print_common
; getchar
print_return ; OUTSIDE REFERER print_return ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
lwz r24, -0x0110(r1) lwz r24, -0x0110(r1)
@ -235,15 +180,6 @@ print_return ; OUTSIDE REFERER
; _log decimal ; _log decimal
; Xrefs:
; setup
; NKPrintDecimal
; MPCall_108
; NKSetClockStep
; NKSetClockDriftCorrection
; ExtendPool
; major_0x12b94
printd ; OUTSIDE REFERER printd ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
stmw r24, -0x0108(r1) stmw r24, -0x0108(r1)
@ -344,33 +280,6 @@ printd_0x120
; _log word (hex) then a space ; _log word (hex) then a space
; Xrefs:
; replace_old_kernel
; setup
; AcquireLock
; spinlock_what
; major_0x02ccc
; IntMachineCheckMemRetry
; IntMachineCheck
; major_0x03ab0
; kcResetSystem
; PagingFunc1
; NKPrintHex
; NKCreateAddressSpaceSub
; createarea
; ExtendPool
; major_0x12b94
; SchInit
; major_0x14bcc
; panic
; print_xpt_info
; print_sprgs
; print_sprs
; print_segment_registers
; print_gprs
; print_memory
; print_memory_logical
printw ; OUTSIDE REFERER printw ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
stmw r24, -0x0108(r1) stmw r24, -0x0108(r1)
@ -388,13 +297,6 @@ printw ; OUTSIDE REFERER
; _log halfword (hex) then a space ; _log halfword (hex) then a space
; Xrefs:
; replace_old_kernel
; new_world
; NKPrintHex
; major_0x14bcc
; panic
printh ; OUTSIDE REFERER printh ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
stmw r24, -0x0108(r1) stmw r24, -0x0108(r1)
@ -413,10 +315,6 @@ printh ; OUTSIDE REFERER
; _log byte (hex) then a space ; _log byte (hex) then a space
; Xrefs:
; setup
; NKPrintHex
printb ; OUTSIDE REFERER printb ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
stmw r24, -0x0108(r1) stmw r24, -0x0108(r1)
@ -431,11 +329,6 @@ printb ; OUTSIDE REFERER
; print_unknown
; Xrefs:
; print_memory_logical
print_unknown ; OUTSIDE REFERER print_unknown ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
stmw r24, -0x0108(r1) stmw r24, -0x0108(r1)
@ -450,14 +343,6 @@ print_unknown ; OUTSIDE REFERER
; print_digity_common
; Xrefs:
; Printw
; Printh
; Printb
; print_unknown
print_digity_common ; OUTSIDE REFERER print_digity_common ; OUTSIDE REFERER
lwz r1, -0x0004(r1) lwz r1, -0x0004(r1)
lwz r28, -0x0900(r1) lwz r28, -0x0900(r1)
@ -526,13 +411,6 @@ print_digity_common_0xd0
; getchar
; Xrefs:
; panic
; print_memory
; print_memory_logical
getchar ; OUTSIDE REFERER getchar ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
stmw r24, -0x0108(r1) stmw r24, -0x0108(r1)
@ -566,13 +444,6 @@ getchar ; OUTSIDE REFERER
; _log char ; _log char
; Xrefs:
; spinlock_what
; major_0x12b94
; panic
; print_memory
; print_memory_logical
printc ; OUTSIDE REFERER printc ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
stmw r24, -0x0108(r1) stmw r24, -0x0108(r1)
@ -626,12 +497,6 @@ printc_0x90
; Whoa. Turns on data but not code paging. Crikey. ; Whoa. Turns on data but not code paging. Crikey.
; Xrefs:
; PrintS
; Printd
; print_digity_common
; Printc
serial_flush ; OUTSIDE REFERER serial_flush ; OUTSIDE REFERER
ori r30, r31, MSR_DR ori r30, r31, MSR_DR
mtmsr r30 mtmsr r30
@ -730,13 +595,6 @@ serial_flush ; OUTSIDE REFERER
; See disclaimer above. ; See disclaimer above.
; Xrefs:
; PrintS
; Printd
; print_digity_common
; getchar
; Printc
serial_io ; OUTSIDE REFERER serial_io ; OUTSIDE REFERER
mfspr r26, srr0 mfspr r26, srr0
mfspr r27, srr1 mfspr r27, srr1
@ -772,11 +630,6 @@ serial_io_0x50
; See disclaimer above. ; See disclaimer above.
; Xrefs:
; PrintS
; Printd
; print_digity_common
serial_busywait ; OUTSIDE serial_busywait ; OUTSIDE
beqlr- cr7 beqlr- cr7
ori r30, r31, 0x10 ori r30, r31, 0x10

View File

@ -1966,10 +1966,6 @@ CancelReplacement
; old_world_rfi_to_userspace_boot ; old_world_rfi_to_userspace_boot
; Xrefs:
; setup
; CancelReplacement
; > r1 = kdp ; > r1 = kdp
old_world_rfi_to_userspace_boot ; OUTSIDE REFERER old_world_rfi_to_userspace_boot ; OUTSIDE REFERER

View File

@ -25,35 +25,11 @@ Local_Panic set *
; IntLocalBlockMPCall
; Xrefs:
; major_0x02ccc
IntLocalBlockMPCall ; OUTSIDE REFERER IntLocalBlockMPCall ; OUTSIDE REFERER
b BlockMPCall b BlockMPCall
; major_0x02980
; Xrefs:
; major_0x02ccc
; major_0x03548
; IntDSIOtherOther
; IntMachineCheckMemRetry
; major_0x039dc
; IntMachineCheck
; MaskedInterruptTaken
; major_0x03be0
; major_0x04180
; kcRunAlternateContext
; major_0x046d0
; IntExternalOrange
; IntProgram
; IntTrace
; FDP_1214
align 5 align 5
major_0x02980 ; OUTSIDE REFERER major_0x02980 ; OUTSIDE REFERER
@ -667,11 +643,6 @@ TaskNotSuitableForWhatWeWantToDo
; IntDecrementer
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntDecrementer ; OUTSIDE REFERER IntDecrementer ; OUTSIDE REFERER
@ -735,11 +706,6 @@ IntDecrementer_0x54
; IntDSI
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntDSI ; OUTSIDE REFERER IntDSI ; OUTSIDE REFERER
@ -771,12 +737,6 @@ IntDSI ; OUTSIDE REFERER
; major_0x03324
; Xrefs:
; IntDSI
; FDP_1214
major_0x03324 ; OUTSIDE REFERER major_0x03324 ; OUTSIDE REFERER
rlwinm. r18, r27, 18, 25, 29 rlwinm. r18, r27, 18, 25, 29
lwz r25, 0x0650(r1) lwz r25, 0x0650(r1)
@ -868,11 +828,6 @@ major_0x03324_0x12c
; IntAlignment
; Xrefs:
; "vec"
; This int handler is our best foothold into the FDP! ; This int handler is our best foothold into the FDP!
align kIntAlign align kIntAlign
@ -975,12 +930,6 @@ FDP_TableBase equ 0xa00
; major_0x03548
; Xrefs:
; IntAlignment
; major_0x05808
major_0x03548 ; OUTSIDE REFERER major_0x03548 ; OUTSIDE REFERER
sync sync
mtmsr r14 mtmsr r14
@ -1003,11 +952,6 @@ major_0x03548_0x20 ; OUTSIDE REFERER
; IntDSIOtherOther
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntDSIOtherOther ; OUTSIDE REFERER IntDSIOtherOther ; OUTSIDE REFERER
@ -1156,12 +1100,6 @@ IntDSIOtherOther_0x1c8
; IntMachineCheckMemRetry
; Xrefs:
; "vec"
; IntDSIOtherOther
IntMachineCheckMemRetry ; OUTSIDE REFERER IntMachineCheckMemRetry ; OUTSIDE REFERER
mfsprg r1, 0 mfsprg r1, 0
mr r28, r8 mr r28, r8
@ -1230,11 +1168,6 @@ IntMachineCheckMemRetry_0x14c ; OUTSIDE REFERER
; IntISI
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntISI ; OUTSIDE REFERER IntISI ; OUTSIDE REFERER
@ -1283,12 +1216,6 @@ IntISI ; OUTSIDE REFERER
; major_0x039dc
; Xrefs:
; IntISI
; IntDSIOther
major_0x039dc ; OUTSIDE REFERER major_0x039dc ; OUTSIDE REFERER
lmw r14, 0x0038(r8) lmw r14, 0x0038(r8)
li r8, ecInstPageFault li r8, ecInstPageFault
@ -1305,11 +1232,6 @@ major_0x039dc_0x14 ; OUTSIDE REFERER
; IntMachineCheck
; Xrefs:
; "vec"
IntMachineCheck ; OUTSIDE REFERER IntMachineCheck ; OUTSIDE REFERER
; r6 = saved at *(ewa + 0x18) ; r6 = saved at *(ewa + 0x18)
; sprg1 = saved at *(ewa + 4) ; sprg1 = saved at *(ewa + 4)
@ -1355,14 +1277,6 @@ IntMachineCheck ; OUTSIDE REFERER
; MaskedInterruptTaken
; Xrefs:
; IntDecrementer
; IntPerfMonitor
; IntThermalEvent
; IntExternalYellow
MaskedInterruptTaken ; OUTSIDE REFERER MaskedInterruptTaken ; OUTSIDE REFERER
_log '*** CPU MALFUNCTION - Masked interrupt punched through. SRR1/0 ' _log '*** CPU MALFUNCTION - Masked interrupt punched through. SRR1/0 '
mr r8, r11 mr r8, r11
@ -1377,11 +1291,6 @@ MaskedInterruptTaken ; OUTSIDE REFERER
; IntDSIOther
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntDSIOther ; OUTSIDE REFERER IntDSIOther ; OUTSIDE REFERER
@ -1410,11 +1319,6 @@ IntDSIOther ; OUTSIDE REFERER
; major_0x03be0
; Xrefs:
; "sup"
align kIntAlign align kIntAlign
; dead code? ; dead code?
@ -1493,12 +1397,6 @@ major_0x03be0_0xe8
; save_all_registers
; Xrefs:
; IntPerfMonitor
; IntThermalEvent
align 5 align 5
save_all_registers ; OUTSIDE REFERER save_all_registers ; OUTSIDE REFERER
@ -1612,11 +1510,6 @@ int_prepare
; IntFPUnavail
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntFPUnavail ; OUTSIDE REFERER IntFPUnavail ; OUTSIDE REFERER
@ -1647,14 +1540,6 @@ IntFPUnavail ; OUTSIDE REFERER
; major_0x03e18
; Xrefs:
; major_0x02980
; major_0x03be0
; IntFPUnavail
; kcRTASDispatch
major_0x03e18 ; OUTSIDE REFERER major_0x03e18 ; OUTSIDE REFERER
rlwinm. r8, r11, 0, 18, 18 rlwinm. r8, r11, 0, 18, 18
bnelr- bnelr-
@ -1782,11 +1667,6 @@ FloatSaveJumpTable
; major_0x04180
; Xrefs:
; IntPerfMonitor
align 6 align 6
major_0x04180 ; OUTSIDE REFERER major_0x04180 ; OUTSIDE REFERER
@ -1850,11 +1730,6 @@ major_0x04180_0x9c
; IntPerfMonitor
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntPerfMonitor ; OUTSIDE REFERER IntPerfMonitor ; OUTSIDE REFERER
@ -1932,11 +1807,6 @@ IntThermalEvent ; OUTSIDE REFERER
; kcRunAlternateContext
; Xrefs:
; "sup"
align kIntAlign align kIntAlign
kcRunAlternateContext ; OUTSIDE REFERER kcRunAlternateContext ; OUTSIDE REFERER
@ -2050,12 +1920,6 @@ major_0x043a0_0x154
; wordfill
; Xrefs:
; setup
; FillIndigo
; > r8 = dest ; > r8 = dest
; > r22 = len in bytes ; > r22 = len in bytes
; > r23 = fillword ; > r23 = fillword
@ -2130,9 +1994,6 @@ kcResetSystem ; OUTSIDE REFERER
; A 68k reset trap without Gary Davidian's magic numbers. ; A 68k reset trap without Gary Davidian's magic numbers.
; Xrefs:
; kcResetSystem
NonGaryReset NonGaryReset
_log 'ResetSystem trap entered^n' _log 'ResetSystem trap entered^n'
@ -2179,13 +2040,6 @@ NonGaryReset
; kcPrioritizeInterrupts
; Xrefs:
; "sup"
; setup
; IntExternalYellow
; > r1 = kdp ; > r1 = kdp
kcPrioritizeInterrupts ; OUTSIDE REFERER kcPrioritizeInterrupts ; OUTSIDE REFERER
@ -2230,12 +2084,6 @@ kcThud
; major_0x046d0
; Xrefs:
; "vec"
; kcThud
major_0x046d0 ; OUTSIDE REFERER major_0x046d0 ; OUTSIDE REFERER
; r6 = saved at *(ewa + 0x18) ; r6 = saved at *(ewa + 0x18)
; sprg1 = saved at *(ewa + 4) ; sprg1 = saved at *(ewa + 4)
@ -2256,11 +2104,6 @@ major_0x046d0 ; OUTSIDE REFERER
; IntExternalOrange
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntExternalOrange ; OUTSIDE REFERER IntExternalOrange ; OUTSIDE REFERER
@ -2444,11 +2287,6 @@ IntProgram
; IntExternalYellow
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntExternalYellow ; OUTSIDE REFERER IntExternalYellow ; OUTSIDE REFERER
@ -2654,14 +2492,6 @@ SIGP
; major_0x04a20
; Xrefs:
; "vec"
; major_0x02980
; major_0x03be0
; SIGP
major_0x04a20 ; OUTSIDE REFERER major_0x04a20 ; OUTSIDE REFERER
mfsprg r23, 0 mfsprg r23, 0
lwz r6, -0x0014(r23) lwz r6, -0x0014(r23)
@ -2716,9 +2546,6 @@ major_0x04a20_0x44
; Not fully sure about this one ; Not fully sure about this one
; Xrefs:
; "vec"
IntSyscall ; OUTSIDE REFERER IntSyscall ; OUTSIDE REFERER
; Only r1 and LR have been saved, so these compares clobber cr0 ; Only r1 and LR have been saved, so these compares clobber cr0
@ -2807,11 +2634,6 @@ IntSyscall ; OUTSIDE REFERER
; IntTrace
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IntTrace ; OUTSIDE REFERER IntTrace ; OUTSIDE REFERER
@ -2834,11 +2656,6 @@ IntTrace ; OUTSIDE REFERER
; IgnoreSoftwareInt
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
IgnoreSoftwareInt ; OUTSIDE REFERER IgnoreSoftwareInt ; OUTSIDE REFERER
@ -2854,11 +2671,6 @@ IgnoreSoftwareInt ; OUTSIDE REFERER
; HandlePerfMonitorInt
; Xrefs:
; "vec"
align kIntAlign align kIntAlign
HandlePerfMonitorInt ; OUTSIDE REFERER HandlePerfMonitorInt ; OUTSIDE REFERER

View File

@ -128,106 +128,12 @@ MPCallBad ; OUTSIDE REFERER
; ReleaseAndMPCallWasBad
; Xrefs:
; MPCall_75
ReleaseAndMPCallWasBad ; OUTSIDE REFERER ReleaseAndMPCallWasBad ; OUTSIDE REFERER
_AssertAndRelease PSA.SchLock, scratch=r16 _AssertAndRelease PSA.SchLock, scratch=r16
b MPCallBad b MPCallBad
; ReleaseAndReturnZeroFromMPCall
; Xrefs:
; KCRegisterCpuPlugin
; KCCreateProcess
; MPCall_5
; MPCall_55
; KCCreateCpuStruct
; MPCall_43
; KCStartCPU
; KCStopScheduling
; KCRegisterThermalHandler
; KCRegisterPMFHandler
; KCMarkPMFTask
; NKSetClockStep
; NKSetClockDriftCorrection
; MPCall_115
; KCRegisterExternalHandler
; MPCall_133
; MPCall_15
; MPCall_16
; MPCall_39
; MPCall_17
; MPCall_18
; MPCall_19
; MPCall_20
; MPCall_23
; MPCall_24
; MPCall_21
; MPCall_25
; MPCall_27
; MPCall_29
; MPCall_28
; MPCall_26
; MPCall_49
; MPCall_50
; MPCall_51
; MPCall_52
; MPCall_53
; MPCall_54
; MPCall_40
; MPCall_30
; MPCall_31
; MPCall_32
; MPCall_64
; MPCall_65
; MPCall_66
; MPCall_128
; MPCall_120
; MPCall_7
; MPCall_8
; MPCall_10
; MPCall_14
; MPCall_56
; MPCall_58
; MPCall_59
; MPCall_60
; MPCall_61
; MPCall_63
; MPCall_114
; KCSetTaskType
; MPCall_71
; KCSetTaskAddressSpace
; MPCall_74
; MPCall_75
; MPCall_130
; KCSetAreaAccess
; MPCall_123
; MPCall_77
; MPCall_78
; MPCall_80
; MPCall_125
; MPCall_81
; MPCall_98
; MPCall_82
; KCMapPage
; KCUnmapPages
; KCMakePhysicallyContiguous
; KCLockPages
; KCUnlockPages
; KCHoldPages
; KCUnholdPages
; MPCall_91
; MPCall_92
; MPCall_93
; MPCall_94
; MPCall_129
; MPCall_95
; > r1 = kdp ; > r1 = kdp
ReleaseAndReturnZeroFromMPCall ; OUTSIDE REFERER ReleaseAndReturnZeroFromMPCall ; OUTSIDE REFERER
@ -235,97 +141,12 @@ ReleaseAndReturnZeroFromMPCall ; OUTSIDE REFERER
; ReturnZeroFromMPCall
; Xrefs:
; ReleaseAndReturnZeroFromMPCall
; MPCall_0
; MPCall_6
; MPCall_55
; MPCall_34
; MPCall_35
; MPCall_36
; KCGetNextID
; KCGetNextIDOwnedByProcess
; MPCall_38
; MPCall_62
; KCStartCPU
; MPCall_47
; NKxprintf
; KCSetBlueProcessID
; NKLocateInfoRecord
; MPCall_108
; NKSetClockDriftCorrection
; MPCall_41
; MPCall_79
; MPCall_83
; MPCall_102
ReturnZeroFromMPCall ; OUTSIDE REFERER ReturnZeroFromMPCall ; OUTSIDE REFERER
li r3, 0x00 li r3, 0x00
b CommonMPCallReturnPath b CommonMPCallReturnPath
; ReleaseAndScrambleMPCall
; Xrefs:
; KCRegisterCpuPlugin
; KCCreateProcess
; MPCall_5
; MPCall_6
; MPCall_34
; KCCreateCpuStruct
; MPCall_43
; KCStartCPU
; KCStopScheduling
; MPCall_115
; MPCall_15
; MPCall_39
; MPCall_17
; MPCall_18
; MPCall_19
; MPCall_20
; MPCall_23
; MPCall_24
; MPCall_25
; MPCall_27
; MPCall_29
; MPCall_28
; MPCall_49
; MPCall_52
; MPCall_53
; MPCall_40
; MPCall_31
; MPCall_64
; MPCall_7
; MPCall_8
; MPCall_9
; MPCall_10
; KCThrowException
; MPCall_58
; MPCall_60
; MPCall_61
; MPCall_114
; MPCall_70
; MPCall_71
; KCSetTaskAddressSpace
; MPCall_72
; MPCall_73
; MPCall_74
; MPCall_75
; MPCall_130
; MPCall_83
; KCMapPage
; KCUnmapPages
; KCMakePhysicallyContiguous
; KCLockPages
; KCHoldPages
; MPCall_91
; MPCall_92
; MPCall_94
; MPCall_95
ReleaseAndScrambleMPCall ; OUTSIDE REFERER ReleaseAndScrambleMPCall ; OUTSIDE REFERER
_AssertAndRelease PSA.SchLock, scratch=r16 _AssertAndRelease PSA.SchLock, scratch=r16
@ -379,191 +200,34 @@ ReleaseAndReturnMPCallOOM ; OUTSIDE REFERER
; ReturnMPCallOOM
; Xrefs:
; ReleaseAndScrambleMPCall
; MPCall_0
; KCRegisterCpuPlugin
; MPCall_47
; NKxprintf
; KCSetBlueProcessID
; NKSetClockStep
; NKSetClockDriftCorrection
; MPCall_39
; MPCall_20
; MPCall_7
; MPCall_82
; KCPropogateExternalInterrupt
; major_0x16b80
ReturnMPCallOOM ; OUTSIDE REFERER ReturnMPCallOOM ; OUTSIDE REFERER
li r3, kMPInsufficientResourcesErr li r3, kMPInsufficientResourcesErr
b CommonMPCallReturnPath b CommonMPCallReturnPath
; ReleaseAndReturnMPCallBlueBlocking
; Xrefs:
; MPCall_18
; MPCall_23
; MPCall_27
; MPCall_52
ReleaseAndReturnMPCallBlueBlocking ; OUTSIDE REFERER ReleaseAndReturnMPCallBlueBlocking ; OUTSIDE REFERER
_AssertAndRelease PSA.SchLock + Lock.Count, scratch=r16 _AssertAndRelease PSA.SchLock + Lock.Count, scratch=r16
; ReturnMPCallBlueBlocking
; Xrefs:
; ReleaseAndReturnMPCallBlueBlocking
; MPCall_33
ReturnMPCallBlueBlocking ; OUTSIDE REFERER ReturnMPCallBlueBlocking ; OUTSIDE REFERER
li r3, kMPBlueBlockingErr li r3, kMPBlueBlockingErr
b CommonMPCallReturnPath b CommonMPCallReturnPath
; ReleaseAndReturnParamErrFromMPCall
; Xrefs:
; MPCall_128
; MPCall_120
; MPCall_73
; MPCall_75
; MPCall_130
; KCSetAreaAccess
; MPCall_123
; MPCall_78
; MPCall_80
; MPCall_125
; MPCall_81
; MPCall_98
; KCMapPage
; KCUnmapPages
; KCMakePhysicallyContiguous
; KCLockPages
; KCUnlockPages
; KCHoldPages
; KCUnholdPages
; MPCall_91
; MPCall_92
; MPCall_93
; MPCall_94
; MPCall_129
ReleaseAndReturnParamErrFromMPCall ; OUTSIDE REFERER ReleaseAndReturnParamErrFromMPCall ; OUTSIDE REFERER
_AssertAndRelease PSA.SchLock + Lock.Count, scratch=r16 _AssertAndRelease PSA.SchLock + Lock.Count, scratch=r16
; ReturnParamErrFromMPCall
; Xrefs:
; ReleaseAndReturnParamErrFromMPCall
; KCGetNextIDOwnedByProcess
; NKLocateInfoRecord
; MPCall_108
; NKSetClockStep
; KCGetPageSize
; MPCall_95
; KCPropogateExternalInterrupt
; major_0x16b80
ReturnParamErrFromMPCall ; OUTSIDE REFERER ReturnParamErrFromMPCall ; OUTSIDE REFERER
li r3, -0x32 li r3, -0x32
b CommonMPCallReturnPath b CommonMPCallReturnPath
; ReleaseAndReturnMPCallPrivilegedErr
; Xrefs:
; KCRegisterCpuPlugin
; KCCreateProcess
; MPCall_5
; MPCall_6
; MPCall_43
; KCStartCPU
; KCStopScheduling
; KCRegisterThermalHandler
; KCRegisterPMFHandler
; KCMarkPMFTask
; MPCall_115
; KCRegisterExternalHandler
; MPCall_16
; MPCall_39
; MPCall_17
; MPCall_18
; MPCall_19
; MPCall_23
; MPCall_24
; MPCall_22
; MPCall_21
; MPCall_27
; MPCall_29
; MPCall_28
; MPCall_26
; MPCall_50
; MPCall_51
; MPCall_52
; MPCall_53
; MPCall_54
; MPCall_41
; MPCall_30
; MPCall_31
; MPCall_32
; MPCall_65
; MPCall_67
; MPCall_66
; MPCall_128
; MPCall_7
; MPCall_8
; MPCall_9
; MPCall_10
; MPCall_14
; MPCall_56
; KCThrowException
; MPCall_58
; MPCall_59
; MPCall_60
; MPCall_61
; MPCall_63
; MPCall_114
; KCSetTaskType
; MPCall_71
; KCSetTaskAddressSpace
; MPCall_72
; MPCall_73
; MPCall_74
; MPCall_75
; MPCall_130
; KCSetAreaAccess
; MPCall_123
; MPCall_77
; MPCall_78
; MPCall_80
; MPCall_125
; MPCall_81
; MPCall_98
; MPCall_82
; KCMapPage
; KCUnmapPages
; KCMakePhysicallyContiguous
; KCLockPages
; KCUnlockPages
; KCHoldPages
; KCUnholdPages
; MPCall_91
; MPCall_92
; MPCall_93
; MPCall_94
; MPCall_129
ReleaseAndReturnMPCallPrivilegedErr ; OUTSIDE REFERER ReleaseAndReturnMPCallPrivilegedErr ; OUTSIDE REFERER
_AssertAndRelease PSA.SchLock, scratch=r16 _AssertAndRelease PSA.SchLock, scratch=r16
li r3, kMPPrivilegedErr li r3, kMPPrivilegedErr
@ -576,36 +240,12 @@ ReleaseAndReturnMPCallInvalidIDErr ; OUTSIDE REFERER
; ReturnMPCallInvalidIDErr
; Xrefs:
; ReleaseAndReturnMPCallPrivilegedErr
; KCRegisterCpuPlugin
; MPCall_35
; MPCall_36
; KCGetNextID
; KCGetNextIDOwnedByProcess
; MPCall_38
; MPCall_62
; KCCreateCpuStruct
; KCSetBlueProcessID
; MPCall_14
; MPCall_79
ReturnMPCallInvalidIDErr ; OUTSIDE REFERER ReturnMPCallInvalidIDErr ; OUTSIDE REFERER
li r3, kMPInvalidIDErr li r3, kMPInvalidIDErr
b CommonMPCallReturnPath b CommonMPCallReturnPath
; major_0x0b0cc
; Xrefs:
; KCLockPages
; KCUnlockPages
; KCHoldPages
; KCUnholdPages
major_0x0b0cc ; OUTSIDE REFERER major_0x0b0cc ; OUTSIDE REFERER
_AssertAndRelease PSA.SchLock + Lock.Count, scratch=r16 _AssertAndRelease PSA.SchLock + Lock.Count, scratch=r16
li r3, -0x725a li r3, -0x725a
@ -613,38 +253,12 @@ major_0x0b0cc ; OUTSIDE REFERER
; ReturnZeroFromMPCall_again
; Xrefs:
; MPCall_1
ReturnZeroFromMPCall_again ; OUTSIDE REFERER ReturnZeroFromMPCall_again ; OUTSIDE REFERER
li r3, 0x00 li r3, 0x00
b CommonMPCallReturnPath b CommonMPCallReturnPath
; BlockMPCall
; Xrefs:
; major_0x02964
; major_0x02ccc
; MPCall_55
; MPCall_18
; MPCall_23
; MPCall_22
; MPCall_27
; MPCall_52
; MPCall_67
; MPCall_9
; KCThrowException
; MPCall_58
; MPCall_60
; MPCall_61
; KCSetTaskAddressSpace
; MPCall_81
; MPCall_98
BlockMPCall ; OUTSIDE REFERER BlockMPCall ; OUTSIDE REFERER
crclr 10 crclr 10
b TrulyCommonMPCallReturnPath b TrulyCommonMPCallReturnPath
@ -654,40 +268,6 @@ ReleaseAndReturnMPCall ; OUTSIDE REFERER
; CommonMPCallReturnPath
; Xrefs:
; MPCallBad
; ReturnZeroFromMPCall
; ReleaseAndScrambleMPCall
; ReturnMPCallOOM
; ReturnMPCallBlueBlocking
; ReturnParamErrFromMPCall
; ReleaseAndReturnMPCallPrivilegedErr
; ReturnMPCallInvalidIDErr
; major_0x0b0cc
; ReturnZeroFromMPCall_again
; BlockMPCall
; KCGetCpuCount
; MPCall_6
; MPYieldWithHint
; KCCpuPlugin
; NKPrintHex
; NKPrintDecimal
; MPCall_11
; MPCall_12
; KCGetPageSizeClasses
; KCGetPageSize
; MPCall_70
; KCCurrentAddressSpace
; KCHomeAddressSpace
; MPCall_72
; MPCall_73
; MPCall_84
; KCGetFreePageCount
; KCGetUnheldFreePageCount
; major_0x16b80
CommonMPCallReturnPath ; OUTSIDE REFERER CommonMPCallReturnPath ; OUTSIDE REFERER
crset 10 crset 10
@ -2535,10 +2115,5 @@ MPCall_133_0xa0
; MPCall_Panic
; Xrefs:
; KCStartCPU
MPCall_Panic MPCall_Panic
b panic b panic

View File

@ -3,16 +3,6 @@ Local_Panic set *
; PagingFunc1
; Xrefs:
; setup
; IntDSIOtherOther
; IntISI
; IntDSIOther
; kcVMDispatch
; print_memory_logical
align 5 align 5
PagingFunc1 ; OUTSIDE REFERER PagingFunc1 ; OUTSIDE REFERER
@ -454,11 +444,6 @@ PagingFunc1 ; OUTSIDE REFERER
; PagingFunc2
; Xrefs:
; setup
PagingFunc2 ; OUTSIDE REFERER PagingFunc2 ; OUTSIDE REFERER
sync sync
isync isync
@ -613,15 +598,6 @@ PagingFunc2AndAHalf
; PagingFunc3
; Xrefs:
; IntDSIOtherOther
; kcRunAlternateContext
; kcRTASDispatch
; KCRegisterCpuPlugin
; MPCall_103
PagingFunc3 ; OUTSIDE REFERER PagingFunc3 ; OUTSIDE REFERER
lwz r30, 0x0000(r29) lwz r30, 0x0000(r29)
li r28, -0x01 li r28, -0x01
@ -655,14 +631,6 @@ PagingFunc3 ; OUTSIDE REFERER
; PagingFunc4
; Xrefs:
; setup
; PagingFunc3
; print_memory_logical
; major_0x18c08
PagingFunc4 ; OUTSIDE REFERER PagingFunc4 ; OUTSIDE REFERER
mfsrin r31, r27 mfsrin r31, r27
rlwinm r30, r27, 10, 26, 31 rlwinm r30, r27, 10, 26, 31
@ -720,13 +688,6 @@ PagingFunc4 ; OUTSIDE REFERER
; PagingFlushTLB
; Xrefs:
; setup
; major_0x14bcc
; MPCall_103
pb equ 12 pb equ 12
PagingFlushTLB ; OUTSIDE REFERER PagingFlushTLB ; OUTSIDE REFERER

View File

@ -50,18 +50,6 @@ PIHTableEnd
; At least I think so. ; At least I think so.
; Xrefs:
; KCPropogateExternalInterrupt
; PDM_PIH
; PBX_PIH
; GazellePIH
; TNT_PIH
; GossamerPIH
; NewWorldPowerBookPIH
; CordycepsPIH
; NewWorldPIH
; UnknownPIH
; > r1 = kdp ; > r1 = kdp
; ARG r28 = 68k int number ; ARG r28 = 68k int number

View File

@ -8,9 +8,6 @@ Local_Panic set *
; Only major that hits the RTAS globals. ; Only major that hits the RTAS globals.
; RTAS requires some specific context stuff. ; RTAS requires some specific context stuff.
; Xrefs:
; "sup"
; > r1 = kdp ; > r1 = kdp
; > r6 = some kind of place ; > r6 = some kind of place
; > r7 = some kind of flags ; > r7 = some kind of flags

View File

@ -416,8 +416,6 @@ replace_old_kernel_0x198
; MoveRecord ; MoveRecord
; Xrefs:
; replace_old_kernel
; r9 = base of kernel??? ; r9 = base of kernel???
; Seems to be code to relocate some old structures. ; Seems to be code to relocate some old structures.

View File

@ -502,14 +502,6 @@ major_0x13988_0x2f8
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
###### ## ## ### ######## ### ## ## ###### ###### ## ## ### ######## ### ## ## ######
; Save_v0_v31
; Xrefs:
; major_0x02980
; MPCall_47
; major_0x14548
; MPCall_103
align 4 ; ???? align 4 ; ????
Save_v0_v31 ; OUTSIDE REFERER Save_v0_v31 ; OUTSIDE REFERER
@ -1306,12 +1298,6 @@ major_0x142dc_0x1bc
; Bit 22 of XER is cleared ; Bit 22 of XER is cleared
; Bit 10 of r7 is inserted into XER at bit 23 ; Bit 10 of r7 is inserted into XER at bit 23
; Xrefs:
; non_skeleton_reset_trap
; SchReturn
; SchEval
; major_0x14548
; > sprg0 = for r1 and r6 ; > sprg0 = for r1 and r6
; > r1 = kdp ; > r1 = kdp
; > r6 = register restore area ; > r6 = register restore area
@ -1352,11 +1338,6 @@ SchExitInterrupt_0x2c
; major_0x14548
; Xrefs:
; SchEval
major_0x14548 ; OUTSIDE REFERER major_0x14548 ; OUTSIDE REFERER
lwz r16, 0x0064(r31) lwz r16, 0x0064(r31)
stw r30, -0x0260(r14) stw r30, -0x0260(r14)
@ -1614,12 +1595,6 @@ major_0x14548_0x380
; major_0x148ec
; Xrefs:
; SchEval
; major_0x14548
major_0x148ec ; OUTSIDE REFERER major_0x148ec ; OUTSIDE REFERER
mfxer r20 mfxer r20
mfsprg r21, 0 mfsprg r21, 0
@ -1692,21 +1667,6 @@ major_0x148ec_0xc8
; major_0x149d4
; Xrefs:
; setup
; KCStopScheduling
; major_0x0c8b4
; SignalSemaphore
; MPCall_28
; SetEvent
; MPCall_8
; major_0x130f0
; SchEval
; major_0x14bcc
; CommonPIHPath
; Almost certain this was hand-written. Has a typo, and some ; Almost certain this was hand-written. Has a typo, and some
; instructions the compiler rarely touched, and is in hot path. ; instructions the compiler rarely touched, and is in hot path.
@ -1797,23 +1757,12 @@ major_0x149d4_0xc:
; clear_cr0_lt
; Xrefs:
; major_0x130f0
clear_cr0_lt ; OUTSIDE REFERER clear_cr0_lt ; OUTSIDE REFERER
crclr cr0_lt crclr cr0_lt
blr blr
; SchFiddlePriorityShifty
; Xrefs:
; IntDecrementer
; SchEval
SchFiddlePriorityShifty ; OUTSIDE REFERER SchFiddlePriorityShifty ; OUTSIDE REFERER
rlwinm r8, r7, EWA.kFlagBlue, 0, 0 rlwinm r8, r7, EWA.kFlagBlue, 0, 0

View File

@ -16,13 +16,6 @@ ScreenConsoleFG equ 0x44444444
align 6 ; odd! align 6 ; odd!
; InitScreenConsole
; Xrefs:
; replace_old_kernel
; new_world
; undo_failed_kernel_replacement
; > r1 = kdp ; > r1 = kdp
InitScreenConsole ; OUTSIDE REFERER InitScreenConsole ; OUTSIDE REFERER
@ -62,14 +55,6 @@ InitScreenConsole_0x2c
; ScreenConsole_putchar
; Xrefs:
; PrintS
; Printd
; print_digity_common
; Printc
; > r1 = kdp ; > r1 = kdp
ScreenConsole_putchar ; OUTSIDE REFERER ScreenConsole_putchar ; OUTSIDE REFERER
@ -85,12 +70,6 @@ ScreenConsole_putchar ; OUTSIDE REFERER
; ScreenConsole_redraw
; Xrefs:
; MPCall_133
; PrintS
; > r1 = kdp ; > r1 = kdp
ScreenConsole_redraw ; OUTSIDE REFERER ScreenConsole_redraw ; OUTSIDE REFERER
@ -202,12 +181,6 @@ ScreenConsole_redraw_0x150
; major_0x18bec
; Xrefs:
; ScreenConsole_redraw
; major_0x18c18
major_0x18bec ; OUTSIDE REFERER major_0x18bec ; OUTSIDE REFERER
mtsprg 3, r2 mtsprg 3, r2
lwz r14, -0x03f0(r1) lwz r14, -0x03f0(r1)
@ -219,11 +192,6 @@ major_0x18bec ; OUTSIDE REFERER
; major_0x18c08
; Xrefs:
; major_0x18c18
major_0x18c08 ; OUTSIDE REFERER major_0x18c08 ; OUTSIDE REFERER
mfsrin r31, r27 mfsrin r31, r27
cmpwi r31, 0x00 cmpwi r31, 0x00
@ -232,11 +200,6 @@ major_0x18c08 ; OUTSIDE REFERER
; major_0x18c18
; Xrefs:
; ScreenConsole_redraw
major_0x18c18 ; OUTSIDE REFERER major_0x18c18 ; OUTSIDE REFERER
mflr r13 mflr r13
lwz r27, -0x08f8(r1) lwz r27, -0x08f8(r1)
@ -331,11 +294,6 @@ major_0x18c18_0xe0
; major_0x18d5c
; Xrefs:
; major_0x18c18
major_0x18d5c ; OUTSIDE REFERER major_0x18d5c ; OUTSIDE REFERER
cmpwi cr4, r6, 0x02 cmpwi cr4, r6, 0x02
bl major_0x19ab0 bl major_0x19ab0
@ -400,11 +358,6 @@ major_0x18d5c_0x88
; major_0x18e24
; Xrefs:
; ScreenConsole_redraw
major_0x18e24 ; OUTSIDE REFERER major_0x18e24 ; OUTSIDE REFERER
mflr r12 mflr r12
@ -425,13 +378,6 @@ major_0x18e24_0x28
; major_0x18e54
; Xrefs:
; ScreenConsole_redraw
; major_0x18e24
; funny_thing
major_0x18e54 ; OUTSIDE REFERER major_0x18e54 ; OUTSIDE REFERER
mflr r13 mflr r13
cmpwi cr4, r6, 0x02 cmpwi cr4, r6, 0x02
@ -542,11 +488,6 @@ major_0x18e54_0x174
; funny_thing
; Xrefs:
; ScreenConsole_redraw
funny_thing ; OUTSIDE REFERER funny_thing ; OUTSIDE REFERER
crclr cr2_eq crclr cr2_eq
b funny_thing_0xc b funny_thing_0xc
@ -578,9 +519,6 @@ funny_thing_0x3c
; Xrefs:
; ScreenConsole_redraw
major_0x19018 ; OUTSIDE REFERER major_0x19018 ; OUTSIDE REFERER
blrl blrl
@ -603,11 +541,6 @@ major_0x19018 ; OUTSIDE REFERER
; load_log_font
; Xrefs:
; major_0x18e54
load_log_font ; OUTSIDE REFERER load_log_font ; OUTSIDE REFERER
blrl blrl
dc.l 0x907070f0 dc.l 0x907070f0
@ -1253,11 +1186,6 @@ load_log_font ; OUTSIDE REFERER
; major_0x19ab0
; Xrefs:
; major_0x18d5c
align 4 align 4
major_0x19ab0 ; OUTSIDE REFERER major_0x19ab0 ; OUTSIDE REFERER
@ -1281,11 +1209,6 @@ major_0x19ab0 ; OUTSIDE REFERER
; major_0x19b00
; Xrefs:
; major_0x18d5c
align 4 align 4
major_0x19b00 ; OUTSIDE REFERER major_0x19b00 ; OUTSIDE REFERER
@ -1302,9 +1225,6 @@ major_0x19b00 ; OUTSIDE REFERER
; Each word is RGB with the high byte ignored. Background ; Each word is RGB with the high byte ignored. Background
; and text. ; and text.
; Xrefs:
; major_0x18d5c
align 4 align 4
load_log_colours ; OUTSIDE REFERER load_log_colours ; OUTSIDE REFERER

View File

@ -356,12 +356,6 @@ MPCall_8 ; OUTSIDE REFERER
; MPCall_9
; Xrefs:
; kcMPDispatch
; MPCall_58
DeclareMPCall 9, MPCall_9 DeclareMPCall 9, MPCall_9
MPCall_9 ; OUTSIDE REFERER MPCall_9 ; OUTSIDE REFERER
@ -710,13 +704,6 @@ KCThrowException_0xb8
; MPCall_58
; Xrefs:
; major_0x02ccc
; kcMPDispatch
; MPCall_60
DeclareMPCall 58, MPCall_58 DeclareMPCall 58, MPCall_58
MPCall_58 ; OUTSIDE REFERER MPCall_58 ; OUTSIDE REFERER

View File

@ -1,79 +1,3 @@
; panic
; Xrefs:
; "vec"
; Local_Panic
; Local_Panic
; major_0x02ccc
; IntDecrementer
; IntDSIOtherOther
; IntMachineCheckMemRetry
; IntISI
; IntDSIOther
; IntPerfMonitor
; IntThermalEvent
; Local_Panic
; FDP_1c40
; Local_Panic
; kcVMDispatch
; Local_Panic
; kcRTASDispatch
; ReleaseAndMPCallWasBad
; ReleaseAndReturnZeroFromMPCall
; ReleaseAndScrambleMPCall
; ReleaseAndReturnMPCallBlueBlocking
; major_0x0b054
; ReleaseAndReturnMPCallPrivilegedErr
; major_0x0b0cc
; BlockMPCall
; MPCall_0
; MPCall_6
; KCYieldWithHint
; KCStartCPU
; KCStopScheduling
; MPCall_115
; Local_Panic
; SetEvent
; MPCall_41
; Local_Panic
; MPCall_9
; KCThrowException
; Local_Panic
; MPCall_70
; MPCall_72
; createarea
; major_0x102c8
; MPCall_73
; MPCall_74
; MPCall_75
; MPCall_130
; KCSetAreaAccess
; MPCall_123
; MPCall_81
; MPCall_98
; MPCall_83
; MPCall_84
; KCMapPage
; KCUnmapPages
; KCMakePhysicallyContiguous
; KCLockPages
; KCUnlockPages
; KCHoldPages
; KCUnholdPages
; MPCall_91
; MPCall_92
; MPCall_94
; MPCall_95
; Local_Panic
; major_0x129cc
; Local_Panic
; Local_Panic
; SchEval
; major_0x14548
; Local_Panic
; CommonPIHPath
; print_common
align 5 align 5
@ -756,11 +680,6 @@ panic_common
; major_0x18040
; Xrefs:
; "EightyForty"
mflr r16 mflr r16
lwz r17, 0x07b4(r1) lwz r17, 0x07b4(r1)
rlwinm r17, r17, 16, 16, 27 rlwinm r17, r17, 16, 16, 27
@ -793,11 +712,6 @@ major_0x18040_0x100
; print_xpt_info
; Xrefs:
; panic
print_xpt_info ; OUTSIDE REFERER print_xpt_info ; OUTSIDE REFERER
mflr r16 mflr r16
lwz r18, 0x064c(r1) lwz r18, 0x064c(r1)
@ -843,9 +757,6 @@ print_xpt_info_0xf8
; Goldmine. Tells me what the SPRGs do! ; Goldmine. Tells me what the SPRGs do!
; Xrefs:
; panic
print_sprgs ; OUTSIDE REFERER print_sprgs ; OUTSIDE REFERER
mflr r16 mflr r16
_log 'SPRGs ewa: ' _log 'SPRGs ewa: '
@ -870,9 +781,6 @@ print_sprgs ; OUTSIDE REFERER
; Both user-mode and supervisor-only ; Both user-mode and supervisor-only
; Xrefs:
; panic
print_sprs ; OUTSIDE REFERER print_sprs ; OUTSIDE REFERER
mflr r16 mflr r16
_log ' cr: ' _log ' cr: '
@ -902,11 +810,6 @@ print_sprs ; OUTSIDE REFERER
; print_segment_registers
; Xrefs:
; panic
print_segment_registers ; OUTSIDE REFERER print_segment_registers ; OUTSIDE REFERER
mflr r16 mflr r16
_log ' sr0-sr7 ' _log ' sr0-sr7 '
@ -934,11 +837,6 @@ print_segment_registers_0x5c
; print_gprs
; Xrefs:
; panic
print_gprs ; OUTSIDE REFERER print_gprs ; OUTSIDE REFERER
mflr r16 mflr r16
addi r17, r1, 0x6fc addi r17, r1, 0x6fc
@ -980,11 +878,6 @@ print_gprs_0xb8
; print_memory
; Xrefs:
; panic
print_memory ; OUTSIDE REFERER print_memory ; OUTSIDE REFERER
mflr r18 mflr r18
srwi r17, r17, 4 srwi r17, r17, 4
@ -1035,11 +928,6 @@ print_memory_0xb0
; print_memory_logical
; Xrefs:
; panic
print_memory_logical ; OUTSIDE REFERER print_memory_logical ; OUTSIDE REFERER
mflr r18 mflr r18
srwi r17, r17, 4 srwi r17, r17, 4
@ -1119,11 +1007,6 @@ print_memory_logical_0x114
; cmd_lookup
; Xrefs:
; panic
; > r16 = command strings ; > r16 = command strings
; > r17 = lut ; > r17 = lut
@ -1169,11 +1052,6 @@ cmd_lookup_0x50
; next_cmd_word
; Xrefs:
; panic
; > r15 = start ; > r15 = start
; < r15 = ptr ; < r15 = ptr
@ -1190,11 +1068,6 @@ next_cmd_word_0x4
; major_0x187b0
; Xrefs:
; panic
major_0x187b0 ; OUTSIDE REFERER major_0x187b0 ; OUTSIDE REFERER
addi r15, r15, -0x01 addi r15, r15, -0x01
li r16, 0x00 li r16, 0x00

View File

@ -3,11 +3,6 @@ Local_Panic set *
; InitTMRQs
; Xrefs:
; setup
InitTMRQs ; OUTSIDE REFERER InitTMRQs ; OUTSIDE REFERER
addi r9, r1, -0xa84 addi r9, r1, -0xa84
lis r8, 0x544d lis r8, 0x544d
@ -113,12 +108,6 @@ InitTMRQs_0xb4
; TimerDispatch
; Xrefs:
; IntDecrementer
; TimerFire0
TimerTable TimerTable
dc.l TimerFireUnknownKind - NKTop ; Timer.kKind0 dc.l TimerFireUnknownKind - NKTop ; Timer.kKind0
@ -243,11 +232,6 @@ TimerDispatch_0x188
; StartTimeslicing
; Xrefs:
; setup
StartTimeslicing ; OUTSIDE REFERER StartTimeslicing ; OUTSIDE REFERER
mfsprg r19, 0 mfsprg r19, 0
@ -342,9 +326,6 @@ global_time_invalid
; TimerFire0 ; TimerFire0
; Xrefs:
; TimerDispatch
TimerFireUnknownKind TimerFireUnknownKind
_log 'TimerInformation.kind is zero??^n' _log 'TimerInformation.kind is zero??^n'
@ -352,10 +333,6 @@ TimerFireUnknownKind
; TimerFire1 ; TimerFire1
; Xrefs:
; TimerDispatch
; TimerFire0
TimerFire1 ; OUTSIDE REFERER TimerFire1 ; OUTSIDE REFERER
bl Local_Panic bl Local_Panic
lwz r18, 0x0018(r30) lwz r18, 0x0018(r30)
@ -385,10 +362,6 @@ TimerFire1_0x64
; TimerFire2 ; TimerFire2
; Xrefs:
; TimerDispatch
; TimerFire1
TimerFire2 ; OUTSIDE REFERER TimerFire2 ; OUTSIDE REFERER
bne+ TimerDispatch_0x144 bne+ TimerDispatch_0x144
bl Local_Panic bl Local_Panic
@ -448,10 +421,6 @@ TimerFire2_0x98
; TimerFire3 ; TimerFire3
; Xrefs:
; TimerDispatch
; TimerFire2
TimerFire3 ; OUTSIDE REFERER TimerFire3 ; OUTSIDE REFERER
bl FlagSchEvaluationIfTaskRequires bl FlagSchEvaluationIfTaskRequires
b TimerDispatch_0x144 b TimerDispatch_0x144
@ -523,10 +492,6 @@ major_0x13258_0x80
; TimerFire4 ; TimerFire4
; Xrefs:
; TimerDispatch
; major_0x13258
TimerFire4 ; OUTSIDE REFERER TimerFire4 ; OUTSIDE REFERER
bne- TimerFire4_0xc bne- TimerFire4_0xc
lwz r8, 0x0030(r30) lwz r8, 0x0030(r30)
@ -567,10 +532,6 @@ TimerFire4_0x64
; TimerFire5 ; TimerFire5
; Xrefs:
; TimerDispatch
; TimerFire4
TimerFire5 ; OUTSIDE REFERER TimerFire5 ; OUTSIDE REFERER
bl SchRdyTaskNow bl SchRdyTaskNow
bl major_0x149d4 bl major_0x149d4
@ -645,10 +606,6 @@ TimerFire5_0x8 ; OUTSIDE REFERER
; TimerFire7 ; TimerFire7
; Xrefs:
; TimerDispatch
; major_0x13364
TimerFire7 ; OUTSIDE REFERER TimerFire7 ; OUTSIDE REFERER
addze r16, r16 addze r16, r16
stw r16, 0x0038(r30) stw r16, 0x0038(r30)
@ -690,10 +647,6 @@ major_0x134d8_0x18
; TimerFire8 ; TimerFire8
; Xrefs:
; TimerDispatch
; major_0x134d8
TimerFire8 ; OUTSIDE REFERER TimerFire8 ; OUTSIDE REFERER
addc r17, r17, r18 addc r17, r17, r18
addze r16, r16 addze r16, r16
@ -752,10 +705,6 @@ major_0x13544_0x64
; TimerFire6 ; TimerFire6
; Xrefs:
; TimerDispatch
; major_0x13544
TimerFire6 ; OUTSIDE REFERER TimerFire6 ; OUTSIDE REFERER
stw r17, 0x003c(r30) stw r17, 0x003c(r30)
@ -792,19 +741,6 @@ TimerFire6_0x4 ; OUTSIDE REFERER
; EnqueueTimer
; Xrefs:
; MPCall_55
; NKSetClockStep
; NKSetClockDriftCorrection
; MPCall_18
; MPCall_23
; MPCall_27
; MPCall_52
; MPCall_31
; InitTMRQs
; ARG Timer *r8 ; ARG Timer *r8
; CLOB r16-r20 ; CLOB r16-r20
@ -904,16 +840,6 @@ DequeueTimer
; TimebaseTicksPerPeriod
; Xrefs:
; MPCall_18
; MPCall_23
; MPCall_27
; MPCall_52
; MPCall_31
; SchInit
; Get the number of timebase ticks in a specified period ; Get the number of timebase ticks in a specified period
; ARG long r8 period (positive for ms, negative for us) ; ARG long r8 period (positive for ms, negative for us)
@ -947,21 +873,6 @@ TimebaseTicksPerPeriod
; Xrefs:
; NKSetClockStep
; NKSetClockDriftCorrection
; MPCall_18
; MPCall_23
; MPCall_27
; MPCall_52
; MPCall_40
; MPCall_32
; CreateTask
; InitTMRQs
; SetTimeslice
; SchEval
; major_0x14548
; RET long r8 tbu, long r9 tbl ; RET long r8 tbu, long r9 tbl
; CLOB r16, r17 ; CLOB r16, r17

View File

@ -3136,12 +3136,6 @@ FDP_1c18
; FDP_1c40
; Xrefs:
; "vec"
; major_0x07ac0
align 5 align 5
FDP_1c40 ; OUTSIDE REFERER FDP_1c40 ; OUTSIDE REFERER
@ -3609,11 +3603,6 @@ major_0x07980_0x100 ; OUTSIDE REFERER
; major_0x07ac0
; Xrefs:
; FDP_1c40
align 6 align 6
FDP_22c0 FDP_22c0
@ -3800,11 +3789,6 @@ major_0x07ac0_0x24c ; OUTSIDE REFERER
; major_0x07d80
; Xrefs:
; major_0x07ac0
align 5 align 5
FDP_2580 FDP_2580

View File

@ -140,33 +140,6 @@ VMDispatchTableEnd
; VMGetPhysicalAddress_one ; VMGetPhysicalAddress_one
; Xrefs:
; kcVMDispatch
; VMFinalInit
; VMInit
; VMExchangePages
; VMGetPhysicalPage
; getPTEntryGivenPage
; major_0x08d88
; VMIsInited
; VMIsResident
; VMIsUnmodified
; VMLRU
; VMMakePageCacheable
; VMMakePageWriteThrough
; PageSetCommon
; VMMakePageNonCacheable
; VMMarkBacking
; VMMarkCleanUnused
; VMMarkUndefined
; VMMarkResident
; VMPTest
; setPTEntryGivenPage
; VMShouldClean
; VMAllocateMemory
; GetPARPageInfo
; major_0x09c9c
VMReturnMinus1 ; OUTSIDE REFERER VMReturnMinus1 ; OUTSIDE REFERER
li r3, -0x01 li r3, -0x01
b VMReturn b VMReturn
@ -640,14 +613,6 @@ getPTEntryGivenPage_0x74
; major_0x08d88 ; major_0x08d88
; Xrefs:
; VMGetPhysicalPage
; getPTEntryGivenPage
; VMIsResident
; VMMarkBacking
; VMMarkResident
; setPTEntryGivenPage
major_0x08d88 ; OUTSIDE REFERER major_0x08d88 ; OUTSIDE REFERER
mfsprg r28, 0 mfsprg r28, 0
mflr r27 mflr r27
@ -810,11 +775,6 @@ VMLRU_0x5c
; major_0x08f14 ; major_0x08f14
; Xrefs:
; VMMakePageCacheable
; VMMakePageWriteThrough
; VMMakePageNonCacheable
major_0x08f14 ; OUTSIDE REFERER major_0x08f14 ; OUTSIDE REFERER
mflr r28 mflr r28
mr r29, r8 mr r29, r8
@ -990,11 +950,6 @@ VMMakePageWriteThrough_0xec
; PageSetCommon ; PageSetCommon
; Xrefs:
; VMMakePageCacheable
; VMMakePageWriteThrough
; VMMakePageNonCacheable
PageSetCommon ; OUTSIDE REFERER PageSetCommon ; OUTSIDE REFERER
lwz r15, KDP.PTEGMask(r1) lwz r15, KDP.PTEGMask(r1)
lwz r14, KDP.HTABORG(r1) lwz r14, KDP.HTABORG(r1)
@ -1842,9 +1797,6 @@ VMSecondLastExportedFunc ; OUTSIDE REFERER
; VMLastExportedFunc ; VMLastExportedFunc
; Xrefs:
; RemovePTEFromHTAB
VMLastExportedFunc VMLastExportedFunc
lwz r14, KDP.HTABORG(r1) lwz r14, KDP.HTABORG(r1)
@ -1935,9 +1887,6 @@ VMLastExportedFunc_0xd7
; major_0x09c9c ; major_0x09c9c
; Xrefs:
; VMInit
major_0x09c9c ; OUTSIDE REFERER major_0x09c9c ; OUTSIDE REFERER
addi r8, r1, 0x6c0 addi r8, r1, 0x6c0
lwz r9, KDP.TotalPhysicalPages(r1) lwz r9, KDP.TotalPhysicalPages(r1)