Lots more code written, and I think most of it's OK; but it doesn't compile yet.
This commit is contained in:
parent
604fca3c24
commit
6c4be8f283
19 changed files with 634 additions and 7 deletions
36
src/c/memory/page.c
Normal file
36
src/c/memory/page.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/**
|
||||
* memory/page.c
|
||||
*
|
||||
* Page for paged space psoects.
|
||||
*
|
||||
* (c) 2026 Simon Brooke <simon@journeyman.cc>
|
||||
* Licensed under GPL version 2.0, or, at your option, any later version.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "memory/page.h"
|
||||
#include "memory/pso2.h"
|
||||
#include "memory/pso3.h"
|
||||
#include "memory/pso4.h"
|
||||
#include "memory/pso5.h"
|
||||
#include "memory/pso6.h"
|
||||
#include "memory/pso7.h"
|
||||
#include "memory/pso8.h"
|
||||
#include "memory/pso9.h"
|
||||
#include "memory/psoa.h"
|
||||
#include "memory/psob.h"
|
||||
#include "memory/psoc.h"
|
||||
#include "memory/psod.h"
|
||||
#include "memory/psoe.h"
|
||||
#include "memory/psof.h"
|
||||
|
||||
void * malloc_page( uint8_t size_class) {
|
||||
void * result = malloc( sizeof( page));
|
||||
|
||||
if (result != NULL) {
|
||||
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue