ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/ppc_asm.S
(Generate patch)

Comparing SheepShaver/src/Unix/ppc_asm.S (file contents):
Revision 1.4 by gbeauche, 2005-06-24T22:58:55Z vs.
Revision 1.6 by gbeauche, 2005-06-25T10:58:47Z

# Line 180 | Line 180 | C_SYMBOL_NAME(test_and_set):
180          isync
181          lwarx   r5,0,r3
182          cmpi    0,r5,0x0000
183 <        beq     1f
183 >        bne     1f
184          stwcx.  r4,0,r3
185          bne-    0b
186   1:      isync    
# Line 710 | Line 710 | C_SYMBOL_NAME(call_macos7):
710   *  Native resource manager patches
711   */
712  
713 < ASM_MACRO_START do_get_resource XLM_OLD_GET_RESOURCE
713 > ASM_MACRO_START do_get_resource ASM_MACRO_ARG0_DEF
714          // Create stack frame
715          mflr    r0
716          stw     r0,8(r1)
# Line 721 | Line 721 | ASM_MACRO_START        do_get_resource XLM_OLD_
721          stw     r4,56+4(r1)
722  
723          // Call old routine
724 <        lwz     r0,\XLM_OLD_GET_RESOURCE(0)
724 >        lwz     r0,ASM_MACRO_ARG0(0)
725          lwz     r2,XLM_RES_LIB_TOC(0)
726          mtctr   r0
727          bctrl

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines