Lines Matching refs:DEBUG
118 bl versave ; (TEST/DEBUG)
153 #if DEBUG
161 #endif /* DEBUG */
226 stfd f31,emfp31(r25) ; (TEST/DEBUG)
363 #if DEBUG
367 #endif /* DEBUG */
376 bl versave ; (TEST/DEBUG)
405 #if DEBUG
413 #endif /* DEBUG */
446 stfd f31,emfp31(r25) ; (TEST/DEBUG)
640 stfd f31,emfp31(r25) ; (TEST/DEBUG)
696 #if DEBUG
708 #endif /* DEBUG */
822 #if DEBUG
838 #endif /* DEBUG */
974 beq- cr1,ihbootnover ; (TEST/DEBUG)
975 bl versave ; (TEST/DEBUG)
976 ihbootnover: ; (TEST/DEBUG)
979 #if DEBUG
987 #endif /* DEBUG */
1026 stfd f31,emfp31(r25) ; (TEST/DEBUG)
1212 lis r0,HIGH_ADDR(CutTrace) ; (TEST/DEBUG)
1213 li r2,0x3301 ; (TEST/DEBUG)
1214 oris r0,r0,LOW_ADDR(CutTrace) ; (TEST/DEBUG)
1215 sc ; (TEST/DEBUG)
1232 rlwinm. r0,r29,0,MSR_PR_BIT,MSR_PR_BIT ; (TEST/DEBUG) Going into user state?
1233 beq fpunusrstt ; (TEST/DEBUG) Nope...
1234 lwz r23,FPUlevel(r26) ; (TEST/DEBUG) Get the level ID
1235 lwz r24,FPUsave(r26) ; (TEST/DEBUG) Get the first savearea
1236 mr. r23,r23 ; (TEST/DEBUG) Should be level 0
1237 beq++ fpulvl0 ; (TEST/DEBUG) Yes...
1239 lis r0,hi16(Choke) ; (TEST/DEBUG) Choke code
1240 ori r0,r0,lo16(Choke) ; (TEST/DEBUG) and the rest
1241 sc ; (TEST/DEBUG) System ABEND
1243 fpulvl0: mr. r24,r24 ; (TEST/DEBUG) Any context?
1244 beq fpunusrstt ; (TEST/DEBUG) No...
1245 lwz r23,SAVlevel(r24) ; (TEST/DEBUG) Get level of context
1246 lwz r21,SAVprev+4(r24) ; (TEST/DEBUG) Get previous pointer
1247 mr. r23,r23 ; (TEST/DEBUG) Is this our user context?
1248 beq++ fpulvl0b ; (TEST/DEBUG) Yes...
1250 lis r0,hi16(Choke) ; (TEST/DEBUG) Choke code
1251 ori r0,r0,lo16(Choke) ; (TEST/DEBUG) and the rest
1252 sc ; (TEST/DEBUG) System ABEND
1254 fpulvl0b: mr. r21,r21 ; (TEST/DEBUG) Is there a forward chain?
1255 beq++ fpunusrstt ; (TEST/DEBUG) Nope...
1257 lis r0,hi16(Choke) ; (TEST/DEBUG) Choke code
1258 ori r0,r0,lo16(Choke) ; (TEST/DEBUG) and the rest
1259 sc ; (TEST/DEBUG) System ABEND
1261 fpunusrstt: ; (TEST/DEBUG)
1298 lis r0,HIGH_ADDR(CutTrace) ; (TEST/DEBUG)
1299 li r2,0x3302 ; (TEST/DEBUG)
1300 oris r0,r0,LOW_ADDR(CutTrace) ; (TEST/DEBUG)
1301 sc ; (TEST/DEBUG)
1378 lis r0,HIGH_ADDR(CutTrace) ; (TEST/DEBUG)
1379 li r2,0x3401 ; (TEST/DEBUG)
1380 oris r0,r0,LOW_ADDR(CutTrace) ; (TEST/DEBUG)
1381 sc ; (TEST/DEBUG)
1423 lis r0,HIGH_ADDR(CutTrace) ; (TEST/DEBUG)
1424 li r2,0x3402 ; (TEST/DEBUG)
1425 oris r0,r0,LOW_ADDR(CutTrace) ; (TEST/DEBUG)
1426 sc ; (TEST/DEBUG)
1499 #if DEBUG
1500 lwz r20,SAVact(r27) ; (TEST/DEBUG) Make sure our restore
1501 mfsprg r21, 1 ; (TEST/DEBUG) with the current act.
1502 cmpwi r21,0 ; (TEST/DEBUG)
1503 beq-- yeswereok ; (TEST/DEBUG)
1504 cmplw r21,r20 ; (TEST/DEBUG)
1505 beq++ yeswereok ; (TEST/DEBUG)
1507 lis r0,hi16(Choke) ; (TEST/DEBUG) Choke code
1508 ori r0,r0,lo16(Choke) ; (TEST/DEBUG) and the rest
1509 mr r21,r27 ; (TEST/DEBUG) Save the savearea address
1510 li r3,failContext ; (TEST/DEBUG) Bad state code
1511 sc ; (TEST/DEBUG) System ABEND
1732 lis r22,hi16(EXT(DebugWork)) ; (TEST/DEBUG)
1733 ori r22,r22,lo16(EXT(DebugWork)) ; (TEST/DEBUG)
1734 lwz r23,0(r22) ; (TEST/DEBUG)
1735 mr. r23,r23 ; (TEST/DEBUG)
1736 beqlr- ; (TEST/DEBUG)
1739 lwz r21,pfAvailable(r20) ; (TEST/DEBUG)
1740 mr. r21,r21 ; (TEST/DEBUG)
1741 bnelr+ ; (TEST/DEBUG)
1743 stw r22,0(r22) ; (TEST/DEBUG) Lock out more checks
1744 BREAKPOINT_TRAP ; (TEST/DEBUG) Get into debugger
1753 lis r28,hi16(EXT(default_pset)) ; (TEST/DEBUG)
1754 lis r27,hi16(EXT(DebugWork)) ; (TEST/DEBUG)
1755 ori r28,r28,lo16(EXT(default_pset)) ; (TEST/DEBUG)
1756 ori r27,r27,lo16(EXT(DebugWork)) ; (TEST/DEBUG)
1757 li r20,0 ; (TEST/DEBUG)
1758 lwz r26,0(r27) ; (TEST/DEBUG)
1759 lwz r27,psthreadcnt(r28) ; (TEST/DEBUG)
1760 mr. r26,r26 ; (TEST/DEBUG) Have we locked the test out?
1761 lwz r28,psthreads(r28) ; (TEST/DEBUG)
1762 mflr r31 ; (TEST/DEBUG) Save return
1763 bnelr- ; (TEST/DEBUG) Test already triggered, skip...
1764 b fckgo ; (TEST/DEBUG) Join up...
1766 fcknext: mr. r27,r27 ; (TEST/DEBUG) Any more threads?
1767 bne+ fckxxx ; (TEST/DEBUG) Yes...
1769 mtlr r31 ; (TEST/DEBUG) Restore return
1770 blr ; (TEST/DEBUG) Leave...
1772 fckxxx: lwz r28,THREAD_PSTHRN(r28) ; (TEST/DEBUG) Get next thread
1774 fckgo: subi r27,r27,1 ; (TEST/DEBUG) Decrement thread count
1775 lwz r24,THREAD_TOP_ACT(r28) ; (TEST/DEBUG) Get activation for the thread
1776 lwz r20,ACT_MACT_PCB(r24) ; (TEST/DEBUG) Get the normal context
1777 li r21,SAVgeneral ; (TEST/DEBUG) Make sure this is all general context
1778 bl versavetype ; (TEST/DEBUG) Check the chain
1780 lwz r20,facctx+FPUsave(r24) ; (TEST/DEBUG) Get regular floating point
1781 li r21,SAVfloat ; (TEST/DEBUG) Make sure this is all floating point
1782 bl versavetype ; (TEST/DEBUG) Check the chain
1784 lwz r20,facctx+VMXsave(r24) ; (TEST/DEBUG) Get regular vector point
1785 li r21,SAVvector ; (TEST/DEBUG) Make sure this is all vector
1786 bl versavetype ; (TEST/DEBUG) Check the chain
1788 lwz r29,vmmControl(r24) ; (TEST/DEBUG) Get the virtual machine control blocks
1789 mr. r29,r29 ; (TEST/DEBUG) Are there any?
1790 beq+ fcknext ; (TEST/DEBUG) Nope, next thread...
1792 li r22,kVmmMaxContextsPerThread ; (TEST/DEBUG) Get the number of control blocks
1793 subi r29,r29,vmmCEntrySize ; (TEST/DEBUG) Get running start
1795 fcknvmm: subi r22,r22,1 ; (TEST/DEBUG) Do all of them
1796 mr. r22,r22 ; (TEST/DEBUG) Are we all done?
1797 addi r29,r29,vmmCEntrySize ; (TEST/DEBUG) Get the next entry
1798 blt- fcknext ; (TEST/DEBUG) Yes, check next thread...
1800 lwz r23,vmmFlags(r29) ; (TEST/DEBUG) Get entry flags
1801 rlwinm. r23,r23,0,0,0 ; (TEST/DEBUG) Is this in use?
1802 beq+ fcknvmm ; (TEST/DEBUG) Not in use...
1804 lwz r20,vmmFacCtx+FPUsave(r29) ; (TEST/DEBUG) Get regular floating point
1805 li r21,SAVfloat ; (TEST/DEBUG) Make sure this is all floating point
1806 bl versavetype ; (TEST/DEBUG) Check the chain
1808 lwz r20,vmmFacCtx+VMXsave(r29) ; (TEST/DEBUG) Get regular vector point
1809 li r21,SAVvector ; (TEST/DEBUG) Make sure this is all vector
1810 bl versavetype ; (TEST/DEBUG) Check the chain
1811 b fcknvmm ; (TEST/DEBUG) Get then vmm block...
1814 mr. r20,r20 ; (TEST/DEBUG) Chain done?
1815 beqlr- ; (TEST/DEBUG) Yes...
1817 lwz r23,SAVflags(r20) ; (TEST/DEBUG) Get the flags
1818 rlwinm r23,r23,24,24,31 ; (TEST/DEBUG) Position it
1819 cmplw r23,r21 ; (TEST/DEBUG) Are we the correct type?
1820 beq+ versvok ; (TEST/DEBUG) This one is ok...
1822 lis r22,hi16(EXT(DebugWork)) ; (TEST/DEBUG)
1823 ori r22,r22,lo16(EXT(DebugWork)) ; (TEST/DEBUG)
1824 stw r22,0(r22) ; (TEST/DEBUG) Lock out more checks
1825 BREAKPOINT_TRAP ; (TEST/DEBUG) Get into debugger
1827 versvok: lwz r20,SAVprev+4(r20) ; (TEST/DEBUG) Get the previous one
1828 b versavetype ; (TEST/DEBUG) Go check its type...