30 lines
582 B
C
30 lines
582 B
C
/**
|
|
* memory/psoa.h
|
|
*
|
|
* Paged space object of size class a, 1024 words total, 1022 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_psoa_h
|
|
#define __psse_memory_psoa_h
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "memory/header.h"
|
|
|
|
/**
|
|
* @brief A paged space object of size class a, 1024 words total, 1022 words
|
|
* payload.
|
|
*
|
|
*/
|
|
struct psoa {
|
|
struct pso_header header;
|
|
union {
|
|
char[8176] bytes;
|
|
uint64_t[1022] words;
|
|
} payload;
|
|
};
|
|
|
|
#endif
|