Sign in
akaros
/
akaros
/
3ee608864c6c2d5c76b6ae48b30673b2870e717a
/
.
/
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__ */