divide main.c into multiple modules

This commit is contained in:
2025-03-20 10:56:10 +01:00
parent 99cb3398bf
commit b017f503eb
7 changed files with 126 additions and 89 deletions

6
src/cpu.h Normal file
View File

@@ -0,0 +1,6 @@
#pragma once
#include <stdbool.h>
#include <stdint.h>
bool getcore(uint32_t); // gets the state of core (id)
void setcore(uint32_t, bool); // sets the state of core (id)