Skip to content

Commit

Permalink
未使用マクロを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
nuta committed Jun 12, 2023
1 parent 6f05266 commit 95ab136
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/riscv32/vm.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once
#include <libs/common/types.h>

#define PAGE_TABLE_LEVELS 2
#define PTE_PADDR_MASK 0xfffffc00
#define PTE_INDEX(level, vaddr) (((vaddr) >> (12 + (level) *10)) & 0x3ff)
#define PTE_PADDR(pte) (((pte) >> 10) << 12)
Expand Down

0 comments on commit 95ab136

Please sign in to comment.