this is a quick fix. === --- acpi_wakeup.c~ Sun Jul 4 12:42:07 2004 +++ acpi_wakeup.c Mon Jul 5 11:25:29 2004 _at__at_ -295,6 +295,7 _at__at_ static void acpi_alloc_wakeup_handler(void) { + void *addr = 0; if (!cold) return; _at__at_ -307,11 +308,12 _at__at_ return; } - if (bus_dmamem_alloc(acpi_waketag, (void **)&acpi_wakeaddr, + if (bus_dmamem_alloc(acpi_waketag, (void **)&addr, BUS_DMA_NOWAIT, &acpi_wakemap)) { printf("acpi_alloc_wakeup_handler: can't alloc wake memory\n"); return; } + acpi_wakeaddr = (vm_offset_t)addr; } SYSINIT(acpiwakeup, SI_SUB_KMEM, SI_ORDER_ANY, acpi_alloc_wakeup_handler, 0)Received on Mon Jul 05 2004 - 02:30:44 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC