Refactor all Zion decls into one header

This commit is contained in:
Drew Galbraith 2023-06-17 01:45:53 -07:00
parent 7dcbbd671e
commit 5e99dbf7d1
25 changed files with 111 additions and 97 deletions

View file

@ -1,7 +1,7 @@
#pragma once
#include <stdint.h>
#include <zerrors.h>
#include <ztypes.h>
class Channel {
public:

View file

@ -1,7 +1,7 @@
#pragma once
#include <stdint.h>
#include <zerrors.h>
#include <ztypes.h>
void dbgln(const char* fmt, ...);

View file

@ -1,7 +1,7 @@
#pragma once
#include <stdint.h>
#include <zerrors.h>
#include <zglobal.h>
#include <ztypes.h>
z_err_t ParseInitPort(uint64_t init_port_cap);

View file

@ -2,7 +2,6 @@
#include <stdint.h>
#include <zcall.h>
#include <zerrors.h>
class Port {
public:

View file

@ -3,7 +3,6 @@
#include <stdarg.h>
#include <stdio.h>
#include <zcall.h>
#include <zerrors.h>
void dbgln_internal(const char* str) { // Safe to ignore the result since right
// now this doesn't throw.

View file

@ -1,6 +1,6 @@
#include "mammoth/init.h"
#include <zinit.h>
#include <ztypes.h>
#include "mammoth/debug.h"
#include "mammoth/port.h"

View file

@ -1,7 +1,6 @@
#include "mammoth/memory_region.h"
#include <zcall.h>
#include <zinit.h>
#include "mammoth/debug.h"
#include "mammoth/init.h"

View file

@ -1,8 +1,6 @@
#include "mammoth/process.h"
#include <zcall.h>
#include <zerrors.h>
#include <zinit.h>
#include "mammoth/channel.h"
#include "mammoth/debug.h"

View file

@ -1,7 +1,6 @@
#include "mammoth/thread.h"
#include <zcall.h>
#include <zinit.h>
#include "mammoth/debug.h"
#include "mammoth/init.h"