Got most of the new memory architecture roughed out.
This commit is contained in:
parent
19d6b0df29
commit
604fca3c24
36 changed files with 1118 additions and 0 deletions
35
src/c/memory/pso3.h
Normal file
35
src/c/memory/pso3.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/**
|
||||
* memory/pso3.h
|
||||
*
|
||||
* Paged space object of size class 3, 8 words total, 6 words payload.
|
||||
*
|
||||
* (c) 2026 Simon Brooke <simon@journeyman.cc>
|
||||
* Licensed under GPL version 2.0, or, at your option, any later version.
|
||||
*/
|
||||
|
||||
#ifndef __psse_memory_pso3_h
|
||||
#define __psse_memory_pso3_h
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "memory/header.h"
|
||||
#include "payloads/exception.h"
|
||||
#include "payloads/free.h"
|
||||
|
||||
|
||||
/**
|
||||
* @brief A paged space object of size class 3, 8 words total, 6 words
|
||||
* payload.
|
||||
*
|
||||
*/
|
||||
struct pso3 {
|
||||
struct pso_header header;
|
||||
union {
|
||||
char[48] bytes;
|
||||
uint64_t[6] words;
|
||||
struct exception_payload exception;
|
||||
struct free_payload free;
|
||||
} payload;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue