uOFW
Reverse engineered PSP kernel 6.60.
Loading...
Searching...
No Matches
umdman.h
1/* Copyright (C) 2011, 2012, 2013 The uOFW team
2See the file COPYING for copying permission.
3*/
4
5#ifndef UMDMAN_H
6#define UMDMAN_H
7
8#include "common_header.h"
9
10// TODO: unfinished header
11
12typedef struct {
13 u32 unk0;
14 u32 cmd;
15 u32 lbn;
16 u32 lbnSize;
17 u32 size;
18 // how many bytes to read from sectors into 64 bytes aligned output
19 u32 byteSizeMiddle;
20 // how many bytes to read from the first read sector into not 64 bytes aligned output
21 u32 byteSizeFirst;
22 // how many bytes to read from the last read sector into not 64 bytes aligned output
23 u32 byteSizeLast;
24 u32 unk20;
25} LbnParams;
26
27typedef struct {
28 u32 unk0;
29 u32 lbn;
30 u32 unk8;
31 u32 lbnSize;
32} PrepareIntoCacheParams;
33
34s32 sceUmdMan_driver_65E2B3E0();
35s32 sceUmdManUnRegisterInsertEjectUMDCallBack(s32 id);
36s32 sceUmdManRegisterInsertEjectUMDCallBack(s32 id, void *cb, void *cbArg);
37
38#endif /* UMDMAN_H */