Skip to content

Commit

Permalink
remove PTE_SIZE_BITS
Browse files Browse the repository at this point in the history
  • Loading branch information
axel-h committed Nov 8, 2023
1 parent f82c29b commit 5c6d0bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion include/arch/arm/arch/32/mode/object/structures.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ typedef pde_t vspace_root_t;

#define PGDE_SIZE_BITS seL4_PGDEntryBits
#define PDE_SIZE_BITS seL4_PageDirEntryBits
#define PTE_SIZE_BITS seL4_PageTableEntryBits
#define PGD_INDEX_BITS seL4_PGDIndexBits
#define PD_INDEX_BITS seL4_PageDirIndexBits
#define PT_INDEX_BITS seL4_PageTableIndexBits
Expand Down
2 changes: 1 addition & 1 deletion src/arch/arm/32/object/objecttype.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ word_t Arch_getObjectSize(word_t t)
case seL4_ARM_SuperSectionObject:
return ARMSuperSectionBits;
case seL4_ARM_PageTableObject:
return PTE_SIZE_BITS + PT_INDEX_BITS;
return seL4_PageTableEntryBits + PT_INDEX_BITS;
case seL4_ARM_PageDirectoryObject:
return PDE_SIZE_BITS + PD_INDEX_BITS;
#ifdef CONFIG_TK1_SMMU
Expand Down

0 comments on commit 5c6d0bc

Please sign in to comment.