libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
address_space.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include<libtransistor/types.h>
13 
14 #include<sys/types.h>
15 
24 
31 void as_finalize();
32 
38 void *as_reserve(size_t len);
39 
49 void as_release(void *addr, size_t len);
50 
51 #ifdef __cplusplus
52 }
53 #endif
Various system types.
void * as_reserve(size_t len)
Finds and reserves an unmapped region of address space.
uint32_t result_t
Function result.
Definition: types.h:51
void as_finalize()
Finalize address space manager.
void as_release(void *addr, size_t len)
Frees a region of address space reserved by as_reserve.
result_t as_init()
Initialize address space manager.