criscv/include/cpu.h
2024-10-14 19:48:56 +02:00

12 lines
No EOL
226 B
C

#include "address_space.h"
#include <stdint.h>
struct CPU_s {
uint32_t registers[32];
uint32_t programCounter;
AddressSpace *addressSpace;
};
typedef struct CPU_s CPU;
CPU create_cpu(AddressSpace *addressSpace);