From: Vladimir 'phcoder' Serbinenko Date: Wed, 2 Jun 2010 14:48:10 +0000 (+0200) Subject: Enable USB on 64-bit (still won't work with >= 4GiB memory). X-Git-Tag: 1.99~852^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f133a8a74b31c085e68831f76a7e78a8c49629da;p=thirdparty%2Fgrub.git Enable USB on 64-bit (still won't work with >= 4GiB memory). --- diff --git a/bus/pci.c b/bus/pci.c index 3e2126962..1635e889b 100644 --- a/bus/pci.c +++ b/bus/pci.c @@ -21,7 +21,8 @@ #include #include -#if GRUB_TARGET_SIZEOF_VOID_P == 4 +/* FIXME: correctly support 64-bit architectures. */ +/* #if GRUB_TARGET_SIZEOF_VOID_P == 4 */ struct grub_pci_dma_chunk * grub_memalign_dma32 (grub_size_t align, grub_size_t size) { @@ -33,7 +34,7 @@ grub_dma_free (struct grub_pci_dma_chunk *ch) { grub_free (ch); } -#endif +/* #endif */ #ifdef GRUB_MACHINE_MIPS_YEELOONG volatile void *