Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Keir Fraser <keir@xen.org>
CC: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
#define SLOT0_ENTRY_BITS 39
#define SLOT0(slot) (_AT(vaddr_t,slot) << SLOT0_ENTRY_BITS)
#define SLOT0_ENTRY_SIZE SLOT0(1)
-#define GB(_gb) (_AC(_gb, UL) << 30)
#define VMAP_VIRT_START GB(1)
#define VMAP_VIRT_END (VMAP_VIRT_START + GB(1) - 1)
#define __force
#define __bitwise
+#define MB(_mb) (_AC(_mb, UL) << 20)
+#define GB(_gb) (_AC(_gb, UL) << 30)
+
#ifndef __ASSEMBLY__
int current_domain_id(void);