PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
xmtapman.h File Reference
#include <types.h>
#include <irx.h>
+ Include dependency graph for xmtapman.h:

Go to the source code of this file.

Macros

#define xmtapman_IMPORTS_start   DECLARE_IMPORT_TABLE(mtapman, 1, 2)
 
#define xmtapman_IMPORTS_end   END_IMPORT_TABLE
 
#define I_mtapPortOpen   DECLARE_IMPORT(4, mtapPortOpen)
 
#define I_mtapPortClose   DECLARE_IMPORT(5, mtapPortClose)
 
#define I_mtapPortGetSlotNumber   DECLARE_IMPORT(6, mtapGetSlotNumber)
 
#define I_mtapChangeSlot   DECLARE_IMPORT(7, mtapChangeSlot)
 

Functions

s32 mtapPortOpen (u32 port)
 
s32 mtapPortClose (u32 port)
 
s32 mtapGetSlotNumber (u32 port)
 
s32 mtapChangeSlot (u32 port, u32 slot)
 

Detailed Description

Multitap manager functions

Definition in file xmtapman.h.

Macro Definition Documentation

◆ xmtapman_IMPORTS_start

#define xmtapman_IMPORTS_start   DECLARE_IMPORT_TABLE(mtapman, 1, 2)

Definition at line 21 of file xmtapman.h.

◆ xmtapman_IMPORTS_end

#define xmtapman_IMPORTS_end   END_IMPORT_TABLE

Definition at line 22 of file xmtapman.h.

◆ I_mtapPortOpen

#define I_mtapPortOpen   DECLARE_IMPORT(4, mtapPortOpen)

Definition at line 24 of file xmtapman.h.

◆ I_mtapPortClose

#define I_mtapPortClose   DECLARE_IMPORT(5, mtapPortClose)

Definition at line 25 of file xmtapman.h.

◆ I_mtapPortGetSlotNumber

#define I_mtapPortGetSlotNumber   DECLARE_IMPORT(6, mtapGetSlotNumber)

Definition at line 26 of file xmtapman.h.

◆ I_mtapChangeSlot

#define I_mtapChangeSlot   DECLARE_IMPORT(7, mtapChangeSlot)

Definition at line 27 of file xmtapman.h.

Function Documentation

◆ mtapPortOpen()

s32 mtapPortOpen ( u32  port)

Definition at line 468 of file freemtap.c.

◆ mtapPortClose()

s32 mtapPortClose ( u32  port)

Definition at line 493 of file freemtap.c.

◆ mtapGetSlotNumber()

s32 mtapGetSlotNumber ( u32  port)

Definition at line 506 of file freemtap.c.

◆ mtapChangeSlot()

s32 mtapChangeSlot ( u32  port,
u32  slot 
)

Definition at line 522 of file freemtap.c.