git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into prog-loader
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
mm
/
pmm.h
diff --git
a/lunaix-os/includes/lunaix/mm/pmm.h
b/lunaix-os/includes/lunaix/mm/pmm.h
index 44aa99d7b0f2e8120b970ecc1343aedd45031320..54365605a3d6cea18aed6f0c97793258e0fe9e90 100644
(file)
--- a/
lunaix-os/includes/lunaix/mm/pmm.h
+++ b/
lunaix-os/includes/lunaix/mm/pmm.h
@@
-21,12
+21,12
@@
*/
#define PP_FGLOCKED 0x2
*/
#define PP_FGLOCKED 0x2
-typedef u
int
32_t pp_attr_t;
+typedef u32_t pp_attr_t;
struct pp_struct
{
pid_t owner;
struct pp_struct
{
pid_t owner;
- u
int
32_t ref_counts;
+ u32_t ref_counts;
pp_attr_t attr;
};
pp_attr_t attr;
};
@@
-63,7
+63,7
@@
pmm_mark_chunk_free(uintptr_t start_ppn, size_t page_count);
*/
void
pmm_mark_chunk_occupied(pid_t owner,
*/
void
pmm_mark_chunk_occupied(pid_t owner,
- u
intptr
_t start_ppn,
+ u
32
_t start_ppn,
size_t page_count,
pp_attr_t attr);
size_t page_count,
pp_attr_t attr);