102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference |
GitLab repository
Toggle main menu visibility
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1
/* Recovered declarations; ABI and original layout preserved. */
2
#ifndef PCDOGS_MEMORY_TYPES_H
3
#define PCDOGS_MEMORY_TYPES_H
4
#include "
pcdogs/types/common.h
"
5
6
#pragma pack(push, 4)
7
8
struct
Mem_AllocationHeader
9
{
10
uint32_t
size
;
11
};
12
13
#pragma pack(pop)
14
_Static_assert
(
sizeof
(
struct
Mem_AllocationHeader
) == 4,
"Mem_AllocationHeader size"
);
15
16
#pragma pack(push, 4)
17
18
struct
Mem_Extent
19
{
20
void
*
base
;
21
uint32_t
size
;
22
void
*
current
;
23
uint32_t
remaining
;
24
};
25
26
#pragma pack(pop)
27
_Static_assert
(
sizeof
(
struct
Mem_Extent
) == 16,
"Mem_Extent size"
);
28
29
#pragma pack(push, 4)
30
31
struct
Mem_HandleEntry
32
{
33
uint32_t
handle_id
;
34
struct
Mem_HandleEntry
*
next_free
;
35
uint32_t
alloc_size
;
36
uint32_t
alloc_flags
;
37
};
38
39
#pragma pack(pop)
40
_Static_assert
(
sizeof
(
struct
Mem_HandleEntry
) == 16,
"Mem_HandleEntry size"
);
41
42
#pragma pack(push, 4)
43
44
struct
Mem_HandlePoolEntry
45
{
46
void
*
ptr
;
47
struct
Mem_HandlePoolEntry
*
next_free
;
48
uint32_t
handle_id
;
49
uint32_t
size
;
50
};
51
52
#pragma pack(pop)
53
_Static_assert
(
sizeof
(
struct
Mem_HandlePoolEntry
) == 16,
"Mem_HandlePoolEntry size"
);
54
55
#endif
/* PCDOGS_MEMORY_TYPES_H */
common.h
Mem_AllocationHeader
Definition
types.h:9
Mem_AllocationHeader::size
uint32_t size
Definition
types.h:10
Mem_Extent
Definition
types.h:19
Mem_Extent::base
void * base
Definition
types.h:20
Mem_Extent::size
uint32_t size
Definition
types.h:21
Mem_Extent::current
void * current
Definition
types.h:22
Mem_Extent::remaining
uint32_t remaining
Definition
types.h:23
Mem_HandleEntry
Definition
types.h:32
Mem_HandleEntry::next_free
struct Mem_HandleEntry * next_free
Definition
types.h:34
Mem_HandleEntry::alloc_size
uint32_t alloc_size
Definition
types.h:35
Mem_HandleEntry::handle_id
uint32_t handle_id
Definition
types.h:33
Mem_HandleEntry::alloc_flags
uint32_t alloc_flags
Definition
types.h:36
Mem_HandlePoolEntry
Definition
types.h:45
Mem_HandlePoolEntry::handle_id
uint32_t handle_id
Definition
types.h:48
Mem_HandlePoolEntry::next_free
struct Mem_HandlePoolEntry * next_free
Definition
types.h:47
Mem_HandlePoolEntry::size
uint32_t size
Definition
types.h:49
Mem_HandlePoolEntry::ptr
void * ptr
Definition
types.h:46
include
pcdogs
memory
types.h
Generated by
1.17.0