Use uintptr_t instead of addr_t

They're never actually going to change independently, and it's also
brining in kutil headers more places than they should be.
This commit is contained in:
Justin C. Miller
2018-09-20 09:37:30 -07:00
parent a9d72b8102
commit cef0a71bce
20 changed files with 108 additions and 112 deletions

View File

@@ -1,7 +1,6 @@
#pragma once
#include <stdint.h>
#include "kutil/memory.h"
struct cpu_state;
@@ -17,5 +16,5 @@ enum class syscall : uint64_t
};
void syscall_enable();
addr_t syscall_dispatch(addr_t, const cpu_state &);
uintptr_t syscall_dispatch(uintptr_t, const cpu_state &);