ia64/xen-unstable

view xen/include/asm-ia64/iocap.h @ 10816:7be1cfe8345b

[IA64] iomem support for driver domains.

First steps in hypevisor to support driver domains.

IO ports capabilities added (not yet used).
IO mem capabilities checked.
ASSIGN_nocache flag added.
Memory attributes checked.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author awilliam@xenbuild.aw
date Thu Jul 27 09:47:10 2006 -0600 (2006-07-27)
parents 4369fd869f51
children 199d53efd029
line source
1 /******************************************************************************
2 * iocap.h
3 *
4 * Architecture-specific per-domain I/O capabilities.
5 */
7 #ifndef __IA64_IOCAP_H__
8 #define __IA64_IOCAP_H__
10 #define ioports_permit_access(d, s, e) \
11 rangeset_add_range((d)->arch.ioport_caps, s, e)
12 #define ioports_deny_access(d, s, e) \
13 rangeset_remove_range((d)->arch.ioport_caps, s, e)
14 #define ioports_access_permitted(d, s, e) \
15 rangeset_contains_range((d)->arch.ioport_caps, s, e)
17 #endif /* __IA64_IOCAP_H__ */