diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-22 15:24:13 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-22 15:24:13 -0400 |
commit | fc65d46a2f82d54a6a24ea4cde9f4c2e0d0bb1a7 (patch) | |
tree | 275592707ff95734c3e79192384f78568dce2085 /usr.bin/oemu | |
parent | 61f9cb8c58aac0fcc283b2c352c7cc328bd62b8d (diff) |
oemu: types: Add addr_t type
The addr_t type represents any kind of memory address. We also assign
paddr_t to addr_t.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/oemu')
-rw-r--r-- | usr.bin/oemu/include/oemu/types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/oemu/include/oemu/types.h b/usr.bin/oemu/include/oemu/types.h index 0769c84..caf6e9b 100644 --- a/usr.bin/oemu/include/oemu/types.h +++ b/usr.bin/oemu/include/oemu/types.h @@ -33,7 +33,8 @@ #include <sys/types.h> typedef uint64_t reg_t; -typedef uintptr_t paddr_t; +typedef uintptr_t addr_t; typedef uint16_t imm_t; +typedef addr_t paddr_t; #endif /* !_OEMU_TYPES_H_ */ |