diff options
author | Helge Deller <deller@gmx.de> | 2024-02-02 21:47:18 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-02-06 22:47:50 +0100 |
commit | 16602e67ca6958152313318bf49d91cee9fc65fc (patch) | |
tree | ef36c518903dd87f3f84280e833a985f788d9f72 /src/parisc/head.S | |
parent | 85685ed75ef123cc8c078a22201df1cffca5b9a9 (diff) | |
download | seabios-hppa-16602e67ca6958152313318bf49d91cee9fc65fc.zip seabios-hppa-16602e67ca6958152313318bf49d91cee9fc65fc.tar.gz seabios-hppa-16602e67ca6958152313318bf49d91cee9fc65fc.tar.bz2 |
parisc: Fix initialization of bss on 64-bit firmware
Make sure to load the 64-bit (f-extended) address of BSS
when clearing BSS.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'src/parisc/head.S')
-rw-r--r-- | src/parisc/head.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parisc/head.S b/src/parisc/head.S index bde72f5..c5da942 100644 --- a/src/parisc/head.S +++ b/src/parisc/head.S @@ -293,8 +293,8 @@ $is_monarch_cpu_reboot: .import _bss,data .import _ebss,data - load32 BOOTADDR(_bss),%r3 - load32 BOOTADDR(_ebss),%r4 + load32_firmware BOOTADDR(_bss),%r3 + load32_firmware BOOTADDR(_ebss),%r4 $bss_loop: cmpb,<<,n %r3,%r4,$bss_loop STREGM %r0,WORD_LEN(%r3) |