agp.h 818 B

1234567891011121314151617181920212223242526
  1. #ifndef _ASM_IA64_AGP_H
  2. #define _ASM_IA64_AGP_H
  3. /*
  4. * IA-64 specific AGP definitions.
  5. *
  6. * Copyright (C) 2002-2003 Hewlett-Packard Co
  7. * David Mosberger-Tang <davidm@hpl.hp.com>
  8. */
  9. /*
  10. * To avoid memory-attribute aliasing issues, we require that the AGPGART engine operate
  11. * in coherent mode, which lets us map the AGP memory as normal (write-back) memory
  12. * (unlike x86, where it gets mapped "write-coalescing").
  13. */
  14. #define map_page_into_agp(page) /* nothing */
  15. #define unmap_page_from_agp(page) /* nothing */
  16. #define flush_agp_cache() mb()
  17. /* GATT allocation. Returns/accepts GATT kernel virtual address. */
  18. #define alloc_gatt_pages(order) \
  19. ((char *)__get_free_pages(GFP_KERNEL, (order)))
  20. #define free_gatt_pages(table, order) \
  21. free_pages((unsigned long)(table), (order))
  22. #endif /* _ASM_IA64_AGP_H */