Searched refs:__MASKVALUE (Results 1 – 6 of 6) sorted by relevance
| /libcpu/risc-v/common64/ |
| A D | trap.c | 77 __MASKVALUE(satp_v, __MASK(44)) << PAGE_OFFSET_BIT); in dump_regs() 78 rt_kprintf("\tCurrent ASID = %p\n", __MASKVALUE(satp_v >> 44, __MASK(16)) in dump_regs() 82 switch (__MASKVALUE(satp_v >> 60, __MASK(4))) in dump_regs() 160 rt_ubase_t id = __MASKVALUE(scause, __MASK(63UL)); in handle_user() 299 rt_ubase_t id = __MASKVALUE(scause, __MASK(63UL)); in handle_trap()
|
| A D | riscv.h | 22 #define __MASKVALUE(value,maskvalue) ((value) & (maskvalue)) macro
|
| A D | mmu.h | 39 #define GET_PF_OFFSET(addr) __MASKVALUE(addr, PAGE_OFFSET_MASK)
|
| /libcpu/risc-v/virt64/ |
| A D | riscv_mmu.h | 59 #define PAGE_IS_LEAF(pte) __MASKVALUE(pte, PAGE_ATTR_RWX) 61 #define PTE_USED(pte) __MASKVALUE(pte, PTE_V)
|
| /libcpu/risc-v/t-head/c908/ |
| A D | riscv_mmu.h | 70 #define PAGE_IS_LEAF(pte) __MASKVALUE(pte, PAGE_ATTR_RWX) 72 #define PTE_USED(pte) __MASKVALUE(pte, PTE_V)
|
| /libcpu/risc-v/t-head/c906/ |
| A D | riscv_mmu.h | 74 #define PAGE_IS_LEAF(pte) __MASKVALUE(pte, PAGE_ATTR_RWX) 76 #define PTE_USED(pte) __MASKVALUE(pte, PTE_V)
|
Completed in 10 milliseconds