sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
sifarg.h
1
#ifndef SIFARG_H
2
#define SIFARG_H
3
4
// The IOP DMAs an RPC reply straight into the caller's buffer, which must own whole 64-byte cache lines.
5
// Declares `name` as a pointer to such a buffer of the given type.
6
#define SIF_ARG(type, name) \
7
union { \
8
type v; \
9
char pad[sizeof(type) > 64 ? sizeof(type) : 64]; \
10
} __attribute__((aligned(64))) name##_buf; \
11
type *const name = &name##_buf.v
12
13
#endif
core
kernel
src
sifarg.h
Generated by
1.18.0