libdragon
Typedefs
n64types.h File Reference

Custom types used by libdragon. More...

Go to the source code of this file.

Typedefs

typedef uint64_t u_uint64_t
 Unaligned 64-bit integer type. More...
 
typedef uint32_t u_uint32_t
 Unaligned 32-bit integer type. More...
 
typedef uint16_t u_uint16_t
 Unaligned 16-bit integer type. More...
 

Detailed Description

Custom types used by libdragon.

Typedef Documentation

◆ u_uint64_t

typedef uint64_t u_uint64_t

Unaligned 64-bit integer type.

This type is used to represent 64-bit integers that are not aligned to 8-byte. Accessing memory through a pointer of this type will make the compiler issue the appropriate unaligned load/store instructions (LDL/LDR/SDL/SDR).

◆ u_uint32_t

typedef uint32_t u_uint32_t

Unaligned 32-bit integer type.

This type is used to represent 32-bit integers that are not aligned to 4-byte. Accessing memory through a pointer of this type will make the compiler issue the appropriate unaligned load/store instructions (LWL/LWR/SWL/SWR).

◆ u_uint16_t

typedef uint16_t u_uint16_t

Unaligned 16-bit integer type.

This type is used to represent 16-bit integers that are not aligned to 2-byte. Accessing memory through a pointer of this type will make the compiler issue the appropriate sequence (eg: loading two bytes and combining them)