aarch64: mmu: Fix variable types
Before hooking up the MMU driver code to the Zephyr MMU core code it's better to match the expected variable types of the two parts. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
0a0061d901
commit
6a3401d6be
2 changed files with 14 additions and 13 deletions
|
@ -139,28 +139,28 @@
|
|||
/* Region definition data structure */
|
||||
struct arm_mmu_region {
|
||||
/* Region Base Physical Address */
|
||||
uint64_t base_pa;
|
||||
uintptr_t base_pa;
|
||||
/* Region Base Virtual Address */
|
||||
uint64_t base_va;
|
||||
uintptr_t base_va;
|
||||
/* Region size */
|
||||
uint64_t size;
|
||||
size_t size;
|
||||
/* Region Name */
|
||||
const char *name;
|
||||
/* Region Attributes */
|
||||
unsigned int attrs;
|
||||
uint32_t attrs;
|
||||
};
|
||||
|
||||
/* MMU configuration data structure */
|
||||
struct arm_mmu_config {
|
||||
/* Number of regions */
|
||||
uint32_t num_regions;
|
||||
unsigned int num_regions;
|
||||
/* Regions */
|
||||
const struct arm_mmu_region *mmu_regions;
|
||||
};
|
||||
|
||||
struct arm_mmu_ptables {
|
||||
uint64_t *xlat_tables;
|
||||
unsigned char next_table;
|
||||
unsigned int next_table;
|
||||
};
|
||||
|
||||
/* Convenience macros to represent the ARMv8-A-specific
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue