types: add uaddr_t
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
30c14a0fef
commit
19b9d68651
3 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,6 @@ struct pt_regs {
|
||||||
u64 r14;
|
u64 r14;
|
||||||
u64 r15;
|
u64 r15;
|
||||||
u64 rsp;
|
u64 rsp;
|
||||||
u64 rip;
|
|
||||||
} PACKED;
|
} PACKED;
|
||||||
|
|
||||||
struct cpu_local *tls_get();
|
struct cpu_local *tls_get();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#include <arch/proc.h>
|
#include <arch/proc.h>
|
||||||
|
#include <arch/page.h>
|
||||||
#include <kernel/proc.h>
|
#include <kernel/proc.h>
|
||||||
#include "arch/msr.h"
|
#include "arch/msr.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@
|
||||||
#define MB (KB * KB)
|
#define MB (KB * KB)
|
||||||
#define GB (MB * MB)
|
#define GB (MB * MB)
|
||||||
|
|
||||||
|
|
||||||
typedef uintptr_t vaddr_t;
|
typedef uintptr_t vaddr_t;
|
||||||
typedef uint32_t vaddr32_t;
|
typedef uint32_t vaddr32_t;
|
||||||
typedef vaddr_t paddr_t;
|
typedef vaddr_t paddr_t;
|
||||||
|
typedef vaddr_t uaddr_t;
|
||||||
typedef uint32_t paddr32_t;
|
typedef uint32_t paddr32_t;
|
||||||
typedef int64_t ssize_t;
|
typedef int64_t ssize_t;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue