RetroArch
arqmgr.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------
2 
3 
4 arqmgr.h -- ARAM task queue management
5 
6 Copyright (C) 2004
7 Michael Wiedenbauer (shagkur)
8 Dave Murphy (WinterMute)
9 
10 This software is provided 'as-is', without any express or implied
11 warranty. In no event will the authors be held liable for any
12 damages arising from the use of this software.
13 
14 Permission is granted to anyone to use this software for any
15 purpose, including commercial applications, and to alter it and
16 redistribute it freely, subject to the following restrictions:
17 
18 1. The origin of this software must not be misrepresented; you
19 must not claim that you wrote the original software. If you use
20 this software in a product, an acknowledgment in the product
21 documentation would be appreciated but is not required.
22 
23 2. Altered source versions must be plainly marked as such, and
24 must not be misrepresented as being the original software.
25 
26 3. This notice may not be removed or altered from any source
27 distribution.
28 
29 
30 -------------------------------------------------------------*/
31 
32 
33 #ifndef __ARQMGR_H__
34 #define __ARQMGR_H__
35 
36 
44 #include <gctypes.h>
45 
46 #ifdef __cplusplus
47  extern "C" {
48 #endif /* __cplusplus */
49 
50 
57 
58 
68 void ARQM_Init(u32 arambase,s32 len);
69 
70 
81 
82 
90 
91 
99 
100 
108 
109 #ifdef __cplusplus
110  }
111 #endif /* __cplusplus */
112 
113 #endif
void(* ARQMCallback)(s32 result)
function pointer typedef for the user's callback when ARAM operation has completed
Definition: arqmgr.h:56
void ARQM_Init(u32 arambase, s32 len)
Initialize the ARAM queue management system.
Definition: arqmgr.c:76
int32_t s32
32bit signed integer
Definition: gctypes.h:24
Data type definitions.
GLenum GLsizei len
Definition: glext.h:7389
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
u32 ARQM_GetZeroBuffer()
Returns ARAM address of 'zero buffer'.
Definition: arqmgr.c:130
GLuint64EXT * result
Definition: glext.h:12211
u32 ARQM_GetFreeSize()
Return Returns remaining number of bytes on stack.
Definition: arqmgr.c:146
Definition: video4linux2.c:51
u32 ARQM_PushData(void *buffer, s32 len)
Push the data onto the ARAM queue.
Definition: arqmgr.c:91
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
u32 ARQM_GetStackPointer()
Return the ARAM address of the next free stack pointer.
Definition: arqmgr.c:135