RTEMS | riscv: refactor riscv-utility.h (!1222)

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Apr 29 18:48:22 UTC 2026




Gedare Bloom commented on a discussion on cpukit/score/cpu/riscv/include/rtems/score/riscv-utility.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1222#note_149248

 > -
 > -// page table entry (PTE) fields
 > -#define PTE_V     0x001 // Valid
 > -#define PTE_R     0x002 // Read
 > -#define PTE_W     0x004 // Write
 > -#define PTE_X     0x008 // Execute
 > -#define PTE_U     0x010 // User
 > -#define PTE_G     0x020 // Global
 > -#define PTE_A     0x040 // Accessed
 > -#define PTE_D     0x080 // Dirty
 > -#define PTE_SOFT  0x300 // Reserved for Software
 > -
 > -#define PTE_PPN_SHIFT 10
 > -
 > -#define PTE_TABLE(PTE) (((PTE) & (PTE_V | PTE_R | PTE_W | PTE_X)) == PTE_V)
 > +#include <encoding.h>

Fixed, thanks.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1222#note_149248
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260429/96cd86f4/attachment-0001.htm>


More information about the bugs mailing list