asidpools: remove unused ASID_POOL_INDEX_BITS
I'm not even sure what the seL4_ASIDPoolIndexBits means Signed-off-by: julia <git.ts@trainwit.ch>
This commit is contained in:
parent
e5c3aef827
commit
5aa9729ec3
4 changed files with 0 additions and 8 deletions
|
|
@ -99,7 +99,6 @@ typedef struct asid_pool asid_pool_t;
|
|||
|
||||
#define HW_ASID_SIZE_BITS 1
|
||||
|
||||
#define ASID_POOL_INDEX_BITS seL4_ASIDPoolIndexBits
|
||||
#define ASID_BITS (asidHighBits+asidLowBits)
|
||||
|
||||
#define nASIDPools BIT(asidHighBits)
|
||||
|
|
@ -433,4 +432,3 @@ static inline word_t PURE pte_ptr_get_pteType(pte_t *pte_ptr)
|
|||
}
|
||||
}
|
||||
#endif /* CONFIG_ARM_HYPERVISOR_SUPPORT */
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,6 @@ typedef pte_t pde_t;
|
|||
#define ASID_POOL_REF(p) ((word_t)p)
|
||||
|
||||
|
||||
#define ASID_POOL_INDEX_BITS seL4_ASIDPoolIndexBits
|
||||
#define ASID_BITS (asidHighBits+asidLowBits)
|
||||
#define nASIDs BIT(ASID_BITS)
|
||||
#define nASIDPools BIT(asidHighBits)
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ struct asid_pool {
|
|||
|
||||
typedef struct asid_pool asid_pool_t;
|
||||
|
||||
#define ASID_POOL_INDEX_BITS seL4_ASIDPoolIndexBits
|
||||
#define ASID_POOL_PTR(r) ((asid_pool_t*)r)
|
||||
#define ASID_POOL_REF(p) ((word_t)p)
|
||||
#define ASID_BITS (asidHighBits + asidLowBits)
|
||||
|
|
@ -116,4 +115,3 @@ static inline void *CONST cap_get_modeCapPtr(cap_t cap)
|
|||
{
|
||||
fail("Invalid mode cap type");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -102,8 +102,6 @@ struct asid_pool {
|
|||
|
||||
typedef struct asid_pool asid_pool_t;
|
||||
|
||||
#define ASID_POOL_INDEX_BITS seL4_ASIDPoolIndexBits
|
||||
#define ASID_POOL_SIZE_BITS (seL4_ASIDPoolBits + WORD_SIZE_BITS)
|
||||
#define ASID_POOL_PTR(r) ((asid_pool_t*)r)
|
||||
#define ASID_POOL_REF(p) ((word_t)p)
|
||||
#define ASID_BITS (asidHighBits + asidLowBits)
|
||||
|
|
@ -192,4 +190,3 @@ static inline void *CONST cap_get_modeCapPtr(cap_t cap)
|
|||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue