Sign in
akaros
/
upstream
/
31c1981616c2f93a1db97a13eb409fa8e9837970
/
.
/
kern
/
arch
/
riscv
/
mmu.h
blob: a950613f4f206b0488919a6a1447bda543fcf5a4 [
file
] [
log
] [
blame
]
#pragma
once
#include
<ros/arch/mmu.h>
#ifndef
__ASSEMBLER__
static
inline
pte_t
build_pte
(
uintptr_t
pa
,
int
flags
)
{
return
LA2PPN
(
pa
)
<<
PTE_PPN_SHIFT
|
PGOFF
(
flags
);
}
#endif
/* __ASSEMBLER__ */