I am not able to compile kernel with -Os due some aliasing issue in acpi this seems to correct it --- acpi_wakeup.c Sun Jul 4 11:58:51 2004 +++ /sys/i386/acpica/acpi_wakeup.c Sun Jul 4 11:56:46 2004 _at__at_ -295,6 +295,7 _at__at_ static void acpi_alloc_wakeup_handler(void) { + vm_offset_t *wakeaddr; if (!cold) return; _at__at_ -307,11 +308,13 _at__at_ return; } - if (bus_dmamem_alloc(acpi_waketag, (void **)&acpi_wakeaddr, + if (bus_dmamem_alloc(acpi_waketag, (void **)wakeaddr, BUS_DMA_NOWAIT, &acpi_wakemap)) { + acpi_wakeaddr=*wakeaddr; printf("acpi_alloc_wakeup_handler: can't alloc wake memory\n"); return; } + acpi_wakeaddr=*wakeaddr; } SYSINIT(acpiwakeup, SI_SUB_KMEM, SI_ORDER_ANY, acpi_alloc_wakeup_handler, 0)Received on Sun Jul 04 2004 - 08:12:28 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC