diff options
Diffstat (limited to 'include/linux/ioport.h')
-rw-r--r-- | include/linux/ioport.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 6ed59de48bd5..5db386cfc2d4 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h | |||
@@ -12,6 +12,7 @@ | |||
12 | #ifndef __ASSEMBLY__ | 12 | #ifndef __ASSEMBLY__ |
13 | #include <linux/compiler.h> | 13 | #include <linux/compiler.h> |
14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
15 | #include <linux/bits.h> | ||
15 | /* | 16 | /* |
16 | * Resources are tree-like, allowing | 17 | * Resources are tree-like, allowing |
17 | * nesting etc.. | 18 | * nesting etc.. |
@@ -136,6 +137,14 @@ enum { | |||
136 | IORES_DESC_RESERVED = 8, | 137 | IORES_DESC_RESERVED = 8, |
137 | }; | 138 | }; |
138 | 139 | ||
140 | /* | ||
141 | * Flags controlling ioremap() behavior. | ||
142 | */ | ||
143 | enum { | ||
144 | IORES_MAP_SYSTEM_RAM = BIT(0), | ||
145 | IORES_MAP_ENCRYPTED = BIT(1), | ||
146 | }; | ||
147 | |||
139 | /* helpers to define resources */ | 148 | /* helpers to define resources */ |
140 | #define DEFINE_RES_NAMED(_start, _size, _name, _flags) \ | 149 | #define DEFINE_RES_NAMED(_start, _size, _name, _flags) \ |
141 | { \ | 150 | { \ |