Enable USB on 64-bit (still won't work with >= 4GiB memory).

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-06-02 16:48:10 +02:00
parent 8bd3a1fb30
commit f133a8a74b

View file

@ -21,7 +21,8 @@
#include <grub/pci.h>
#include <grub/mm.h>
#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 *