[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/riscv: Introduce asm/page-bits.h
commit 7eef80e06ed2282bbcec3619d860c6aacb0515d8 Author: Alistair Francis <alistair.francis@xxxxxxx> AuthorDate: Wed Dec 28 15:20:18 2022 +1000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Wed Dec 28 18:32:35 2022 +0000 xen/riscv: Introduce asm/page-bits.h Define PADDR_BITS and PAGE_SHIFT for the RISC-V 64-bit architecture. Signed-off-by: Alistair Francis <alistair.francis@xxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/arch/riscv/include/asm/page-bits.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xen/arch/riscv/include/asm/page-bits.h b/xen/arch/riscv/include/asm/page-bits.h new file mode 100644 index 0000000000..1801820294 --- /dev/null +++ b/xen/arch/riscv/include/asm/page-bits.h @@ -0,0 +1,7 @@ +#ifndef __RISCV_PAGE_BITS_H__ +#define __RISCV_PAGE_BITS_H__ + +#define PAGE_SHIFT 12 /* 4 KiB Pages */ +#define PADDR_BITS 56 /* 44-bit PPN */ + +#endif /* __RISCV_PAGE_BITS_H__ */ -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |