PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
smem.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright (c) 2003 Marcus R. Brown <mrbrown@0xd6.org>
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
16#ifndef __SMEM_H__
17#define __SMEM_H__
18
19#include <tamtypes.h>
20
36#define SUB_VIRT_MEM 0xbc000000
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42u32 smem_read(void *addr, void *buf, u32 size);
43u32 smem_write(void *addr, void *buf, u32 size);
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif /* __SMEM_H__ */