Added mailbox system

This commit is contained in:
Lauchmelder 2022-01-22 13:30:34 +01:00
parent c49ff2998d
commit 59f5fb2c6e
5 changed files with 149 additions and 2 deletions

View file

@ -1,5 +1,10 @@
#include "stdint.h"
enum
{
PERIPHERAL_BASE = 0xFE000000
};
// Functions for peeking/poking into memory
void poke(int64_t addr, uint32_t val);
uint32_t peek(int64_t addr);