mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 05:19:36 +00:00
f9d96d9f73
* Less warnings in boot & code segments * few more warnings gone * Ran formatter * z_view warning gone * -> 1 * f31 -> 31 * Remove function casts * Few more small improvements * Separate declaration and assignment in func_80091738 and Item_Give Co-authored-by: Thar0 <maximilianc64@gmail.com>
24 lines
754 B
C
Executable file
24 lines
754 B
C
Executable file
#ifndef _Z64_DMA_H_
|
|
#define _Z64_DMA_H_
|
|
|
|
#include "ultra64.h"
|
|
|
|
typedef struct {
|
|
/* 0x00 */ u32 vromAddr; // VROM address (source)
|
|
/* 0x04 */ void* dramAddr; // DRAM address (destination)
|
|
/* 0x08 */ u32 size; // File Transfer size
|
|
/* 0x0C */ const char* filename; // Filename for debugging
|
|
/* 0x10 */ s32 line; // Line for debugging
|
|
/* 0x14 */ s32 unk_14;
|
|
/* 0x18 */ OSMesgQueue* notifyQueue; // Message queue for the notification message
|
|
/* 0x1C */ OSMesg notifyMsg; // Completion notification message
|
|
} DmaRequest; // size = 0x20
|
|
|
|
typedef struct {
|
|
/* 0x00 */ u32 vromStart;
|
|
/* 0x04 */ u32 vromEnd;
|
|
/* 0x08 */ u32 romStart;
|
|
/* 0x0C */ u32 romEnd;
|
|
} DmaEntry;
|
|
|
|
#endif
|