debuggers.hg

view xen/include/asm-x86/iocap.h @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children 46f8fc57b1a4
line source
1 /******************************************************************************
2 * iocap.h
3 *
4 * Architecture-specific per-domain I/O capabilities.
5 */
7 #ifndef __X86_IOCAP_H__
8 #define __X86_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 #define cache_flush_permitted(d) \
18 (!rangeset_is_empty((d)->iomem_caps))
20 #endif /* __X86_IOCAP_H__ */