Commit 1d4d960c authored by Russell King's avatar Russell King

[ARM] Swap DOMAIN_USER and DOMAIN_KERNEL indicies

This changes kernel domains to use domain 0 rather than domain 1,
in preparation to supporting supersection mappings.
Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
parent 11862833
......@@ -14,12 +14,12 @@
* Domain numbers
*
* DOMAIN_IO - domain 2 includes all IO only
* DOMAIN_KERNEL - domain 1 includes all kernel memory only
* DOMAIN_USER - domain 0 includes all user memory only
* DOMAIN_USER - domain 1 includes all user memory only
* DOMAIN_KERNEL - domain 0 includes all kernel memory only
*/
#define DOMAIN_USER 0
#define DOMAIN_KERNEL 1
#define DOMAIN_TABLE 1
#define DOMAIN_KERNEL 0
#define DOMAIN_TABLE 0
#define DOMAIN_USER 1
#define DOMAIN_IO 2
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment