From 7451f39340d36f116ada766f4b2f1a21aaccedfb Mon Sep 17 00:00:00 2001 From: graf_chokolo Date: Tue, 12 Apr 2011 19:43:34 +0200 Subject: [PATCH] fixed strncmp address --- data/otheros_bootloader_loader.S | 4 ++-- data/otheros_bootloader_loader.bin | Bin 567 -> 567 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/otheros_bootloader_loader.S b/data/otheros_bootloader_loader.S index 5aa37b8..5e6b654 100644 --- a/data/otheros_bootloader_loader.S +++ b/data/otheros_bootloader_loader.S @@ -33,7 +33,7 @@ .set SUB_MUNMAP, 0x80013EB8 /* syscall 0x19 */ .set SUB_BSET, 0x80000278 .set SUB_BCOPY, 0x80000254 -.set SUB_STRNCMP, 0x8000980C +.set SUB_STRNCMP, 0x800139E0 #define BL(sub_addr) \ li %r30, 0; \ @@ -144,7 +144,7 @@ sll_load_lv2: /* read OtherOS bootloader size from header */ ld %r5, STACK_LPAR_MEM(%r1) - ld %r25, OS_AREA_HEADER_LDR_SIZE_OFFSET(%r5) + lwz %r25, OS_AREA_HEADER_LDR_SIZE_OFFSET(%r5) cmpd %cr7, %r25, %r28 bgt %cr7, bad2 diff --git a/data/otheros_bootloader_loader.bin b/data/otheros_bootloader_loader.bin index d24b06b69dc3ec810d0458c17996d7b396c3b625..bbc517afc9ccb23f5139b73386f9bb22434992c8 100644 GIT binary patch delta 38 ucwXDivYlnZe<{Y~dzKICPckp_YhY2-U(CSZFpr_<#X^Py&6_0|e-k1!3$pfZNfCM2gqW}Ovo&b#Kp#Z?^vl#&%0VNj>MF0Q* -- 2.11.4.GIT