Skip to content

Commit

Permalink
Adding Global PTE
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Mar 12, 2024
1 parent 873f6ad commit c0e6322
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions riscv_cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ PHYS_MEM_READ_WRITE(64, uint64_t)

#define PTE_V_MASK (1 << 0)
#define PTE_U_MASK (1 << 4)
//// Begin Test: Support Global PTE
#define PTE_G_MASK (1 << 5)
//// End Test: Support Global PTE
#define PTE_A_MASK (1 << 6)
#define PTE_D_MASK (1 << 7)

Expand Down

0 comments on commit c0e6322

Please sign in to comment.