SSBM Decomp
Loading...
Searching...
No Matches
hsd_3933.h
Go to the documentation of this file.
1#ifndef HSD_3933_H
2#define HSD_3933_H
3
4#include <Runtime/platform.h>
5
7typedef struct _MCCPacket {
8 /* 0x0 */ s32 x0;
9 /* 0x4 */ u8 x4_b7 : 1;
10 /* 0x4 */ u8 _x4_pad : 7;
11 /* 0x5 */ u8 command;
12 /* 0x6 */ u16 x6;
13 /* 0x8 */ u8 payload[0x18];
14} MCCPacket;
15
17
23typedef struct MccPacketBuffer {
24 /* 0x00 */ MCCPacket packet;
25 /* 0x20 */ u8 pad20[8];
27
29
31/* 4CF740 */ extern s32 hsd_804CF740[16];
32
33/* 3932D0 */ void fn_803932D0(s32, u32, s32);
34/* 393328 */ s32 hsd_80393328(void);
35/* 393440 */ void hsd_80393440(MCCPacket*, MCCPacket*);
36/* 393840 */ void hsd_80393840(MCCPacket*, MCCPacket*);
37/* 393844 */ void hsd_80393844(void);
38
40/* 393A04 */ bool hsd_80393A04(void);
41
42/* 393A54 */ void hsd_80393A54(int);
43/* 393A5C */ int hsd_80393A5C(char*, void*, int);
44
45#endif
s32 hsd_804CF740[16]
Which MCC channels are open, indexed by channel.
Definition hsd_3933.c:45
void hsd_80393844(void)
Definition hsd_3933.c:224
void hsd_80393A54(int)
Definition hsd_3933.c:299
void hsd_80393840(MCCPacket *, MCCPacket *)
Definition hsd_3933.c:222
void fn_803932D0(s32, u32, s32)
Definition hsd_3933.c:47
bool hsd_80393A04(void)
Checks whether USB server is set up.
Definition hsd_3933.c:287
int hsd_80393A5C(char *, void *, int)
Definition hsd_3933.c:309
void hsd_80393440(MCCPacket *, MCCPacket *)
Definition hsd_3933.c:106
s32 hsd_80393328(void)
Definition hsd_3933.c:64
signed int s32
Definition types.h:12
unsigned int u32
Definition types.h:13
unsigned short int u16
Definition types.h:7
unsigned char u8
Definition types.h:5
#define ASSERT_SIZE(expr, size)
Definition platform.h:127
One 0x20-byte host-IO packet, as exchanged with the MCC server.
Definition hsd_3933.h:7
s32 x0
Definition hsd_3933.h:8
u16 x6
Definition hsd_3933.h:12
u8 command
Definition hsd_3933.h:11
u8 _x4_pad
Definition hsd_3933.h:10
u8 x4_b7
Definition hsd_3933.h:9
u8 payload[0x18]
Definition hsd_3933.h:13
A packet buffer: one MCC block plus 8 bytes the transfers never touch.
Definition hsd_3933.h:23
MCCPacket packet
Definition hsd_3933.h:24
u8 pad20[8]
Definition hsd_3933.h:25