repo.or.cz
/
pfinal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
initial commit
[pfinal.git]
/
Routix
/
include
/
lib
/
alloc.h
blob
300c7205779d561170afc9026f1b99ab9fe6ebc7
1
2
#define PAGINA_SIZE 4096
3
4
void
*
malloc_page
(
void
);
5
6
void
*
malloc
(
unsigned
nbytes
);
7
void
free
(
void
*
ap
);
8
9
typedef
long
Align
;
10
11
typedef
union
header
{
12
struct
{
13
union
header
*
ptr
;
14
unsigned
size
;
15
}
s
;
16
Align x
;
17
}
Header
;
18
19
Header
*
morecore
(
void
);