diff options
author | Helge Deller <deller@gmx.de> | 2023-06-24 02:12:18 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-06-24 02:19:13 +0200 |
commit | cc940224d4c8604fd9a27a3226c68e89f817363f (patch) | |
tree | 51dafef7fb795d78b5a5661debdca07a556a2fd9 /src | |
parent | 50a79cbf004f93b05b9c22c858ae940ace926bd9 (diff) | |
download | seabios-hppa-cc940224d4c8604fd9a27a3226c68e89f817363f.zip seabios-hppa-cc940224d4c8604fd9a27a3226c68e89f817363f.tar.gz seabios-hppa-cc940224d4c8604fd9a27a3226c68e89f817363f.tar.bz2 |
parisc: Drop unnecessary SMP wake-up code
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/parisc/head.S | 6 | ||||
-rw-r--r-- | src/parisc/parisc.c | 8 |
2 files changed, 1 insertions, 13 deletions
diff --git a/src/parisc/head.S b/src/parisc/head.S index 28541dd..53b3ddd 100644 --- a/src/parisc/head.S +++ b/src/parisc/head.S @@ -130,12 +130,8 @@ $startup_just_rebooted: /* branch if this is the monarch cpu */ load32 CPU_HPA, %r1 - comb,= %r5,%r1,$is_monarch_cpu_reboot - nop + comb,=,n %r5,%r1,$is_monarch_cpu_reboot - /* we assume the monarch CPU is in idle loop. wake it up. */ - ldi -1, %r3 /* trigger IRQ0 (Timer) */ - stw %r3, 0(%r1) b,n enter_smp_idle_loop $startup_fresh_booted: diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c index fc75235..802ad2f 100644 --- a/src/parisc/parisc.c +++ b/src/parisc/parisc.c @@ -2290,14 +2290,6 @@ void __VISIBLE start_parisc_firmware(void) block_setup(); PAGE0->vec_rendz = 0; /* No rendezvous yet. Add MEM_RENDEZ_HI later */ - /* if this is a reboot, force secondary CPUs to enter smp_idle loop */ - if (PAGE0->imm_soft_boot) { - for (i = 1; i < smp_cpus; i++) { - unsigned long hpa; - hpa = CPU_HPA_IDX(i); - *(int*)hpa = -1; /* send Wakeup IRQ to trigger QEMU to load boot address */ - } - } printf("\n"); printf("SeaBIOS PA-RISC Firmware Version " SEABIOS_HPPA_VERSION_STR |