sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
usbhd_common.h
Go to the documentation of this file.
1
5
#ifndef _USBHD_COMMON_H
6
#define _USBHD_COMMON_H
7
8
#ifdef WIN32
9
#define USBHD_INLINE
10
typedef
unsigned
char
u8;
11
#else
12
#define USBHD_INLINE inline
13
extern
void
*malloc(
int
size);
14
extern
void
free(
void
*ptr);
15
#endif
16
17
#ifdef BUILDING_IEEE1394_DISK
18
struct
_cache_set
;
19
typedef
struct
_cache_set
cache_set;
20
#endif
/* BUILDING_IEEE1394_DISK */
21
22
//---------------------------------------------------------------------------
23
#define getUI32(buf) ((unsigned int)(((u8 *)(buf))[0] + \
24
(((u8 *)(buf))[1] << 8) + \
25
(((u8 *)(buf))[2] << 16) + \
26
(((u8 *)(buf))[3] << 24)))
27
#define getUI32_2(buf1, buf2) ((unsigned int)(((u8 *)(buf1))[0] + \
28
(((u8 *)(buf1))[1] << 8) + \
29
(((u8 *)(buf2))[0] << 16) + \
30
(((u8 *)(buf2))[1] << 24)))
31
#define getUI16(buf) ((unsigned int)(((u8 *)(buf))[0] + (((u8 *)(buf))[1] << 8)))
32
33
#endif
// _USBHD_COMMON_H
_cache_set
Definition
usbhdfsd.h:50
core
usbhdfsd
src
vfat
include
usbhd_common.h
Generated by
1.18.0