diff options
| author | dsl <dsl@NetBSD.org> | 2014-02-20 18:19:09 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2014-02-20 18:19:09 +0000 |
| commit | bdd255cdbe6e9afa6e27885e8415ae04bd7eb0c6 (patch) | |
| tree | c3021a1e207737d77c953ab9f56e8cd56e0b35d1 /sys/arch/amd64/include/proc.h | |
| parent | 9be9f1480832c584e7d63b4a9c315cef10641f55 (diff) | |
Move the amd64 and i386 pcb to the bottom of the uarea, and move the
kernel stack to the top.
Change the pcb layouts so that fpu save area is at the end and is
64byte aligned ready for xsave (saving the ymm registers).
Welcome to 6.99.32
Diffstat (limited to 'sys/arch/amd64/include/proc.h')
| -rw-r--r-- | sys/arch/amd64/include/proc.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/amd64/include/proc.h b/sys/arch/amd64/include/proc.h index 928a2f6f411..b69cc416a09 100644 --- a/sys/arch/amd64/include/proc.h +++ b/sys/arch/amd64/include/proc.h @@ -1,4 +1,4 @@ -/* $NetBSD: proc.h,v 1.18 2014/02/15 10:11:15 dsl Exp $ */ +/* $NetBSD: proc.h,v 1.19 2014/02/20 18:19:10 dsl Exp $ */ /* * Copyright (c) 1991 Regents of the University of California. @@ -65,11 +65,6 @@ struct mdproc { /* md_flags */ #define MDP_USEDMTRR 0x0008 /* has set volatile MTRRs */ -#define UAREA_PCB_OFFSET (USPACE - ALIGN(sizeof(struct pcb))) -#define KSTACK_LOWEST_ADDR(l) \ - ((void *)((vaddr_t)(l)->l_addr - UAREA_PCB_OFFSET)) -#define KSTACK_SIZE UAREA_PCB_OFFSET - #else /* __x86_64__ */ #include <i386/proc.h> |
