|
|
@ -47,6 +47,11 @@ typedef std::int64_t s64; ///< 64-bit signed int
|
|
|
|
typedef float f32; ///< 32-bit floating point
|
|
|
|
typedef float f32; ///< 32-bit floating point
|
|
|
|
typedef double f64; ///< 64-bit floating point
|
|
|
|
typedef double f64; ///< 64-bit floating point
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: It would be nice to eventually replace these with strong types that prevent accidental
|
|
|
|
|
|
|
|
// conversion between each other.
|
|
|
|
|
|
|
|
typedef u32 VAddr; ///< Represents a pointer in the userspace virtual address space.
|
|
|
|
|
|
|
|
typedef u32 PAddr; ///< Represents a pointer in the ARM11 physical address space.
|
|
|
|
|
|
|
|
|
|
|
|
/// Union for fast 16-bit type casting
|
|
|
|
/// Union for fast 16-bit type casting
|
|
|
|
union t16 {
|
|
|
|
union t16 {
|
|
|
|
u8 _u8[2]; ///< 8-bit unsigned char(s)
|
|
|
|
u8 _u8[2]; ///< 8-bit unsigned char(s)
|
|
|
|