RetroArch
lwp_stack.h
Go to the documentation of this file.
1 #ifndef __LWP_STACK_H__
2 #define __LWP_STACK_H__
3 
4 #include <gctypes.h>
5 #include <lwp_threads.h>
6 
7 #define CPU_STACK_ALIGNMENT 8
8 #define CPU_MINIMUM_STACK_SIZE 1024*8
9 #define CPU_MINIMUM_STACK_FRAME_SIZE 16
10 #define CPU_MODES_INTERRUPT_MASK 0x00000001 /* interrupt level in mode */
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
18 
19 #ifdef LIBOGC_INTERNAL
20 #include <libogc/lwp_stack.inl>
21 #endif
22 
23 #ifdef __cplusplus
24  }
25 #endif
26 
27 #endif
Data type definitions.
Definition: lwp_threads.h:36
void __lwp_stack_free(lwp_cntrl *)
Definition: lwp_stack.c:21
u32 __lwp_stack_allocate(lwp_cntrl *, u32)
Definition: lwp_stack.c:5
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19