diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c index a3222d3a96d426d7471af0c2fb8162217adec5c7..f7d9ce9b468cd1fca07a122b5b419c1e1e8a92c0 100644 --- a/hw/hppa/machine.c +++ b/hw/hppa/machine.c @@ -36,7 +36,8 @@ #define MIN_SEABIOS_HPPA_VERSION 10 /* require at least this fw version */ -#define HPA_POWER_BUTTON (FIRMWARE_END - 0x10) +/* Power button address at &PAGE0->pad[4] */ +#define HPA_POWER_BUTTON (0x40 + 4 * sizeof(uint32_t)) #define enable_lasi_lan() 0