physaddr_t definition checks for ARM hosts
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#if defined __i386__
|
||||
#if defined __i386__ || __arm__
|
||||
typedef uint32_t physaddr_t;
|
||||
#elif defined __amd64__
|
||||
#elif defined __x86_64__ || __aarch64__
|
||||
typedef uint64_t physaddr_t;
|
||||
#else
|
||||
typedef uint64_t physaddr_t;
|
||||
|
||||
Reference in New Issue
Block a user