diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2011-04-30 20:49:00 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2011-04-30 20:49:00 +0000 |
commit | 7df304f3e09661ea87214c204f0580a0c1c201ca (patch) | |
tree | dedf47a61fb2cfe9dd68f1f8b3d50e896cfd6a3c /sys/ia64/include/smp.h | |
parent | 627cecc5c98116f14742101f4ec7536042c1e8e0 (diff) |
Stop linking against a direct-mapped virtual address and instead
use the PBVM. This eliminates the implied hardcoding of the
physical address at which the kernel needs to be loaded. Using the
PBVM makes it possible to load the kernel irrespective of the
physical memory organization and allows us to replicate kernel text
on NUMA machines.
While here, reduce the direct-mapped page size to the kernel's
page size so that we can support memory attributes better.
Notes
Notes:
svn path=/head/; revision=221271
Diffstat (limited to 'sys/ia64/include/smp.h')
-rw-r--r-- | sys/ia64/include/smp.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/ia64/include/smp.h b/sys/ia64/include/smp.h index b1e54ee4a6d4..26557a712705 100644 --- a/sys/ia64/include/smp.h +++ b/sys/ia64/include/smp.h @@ -16,6 +16,24 @@ struct pcpu; +struct ia64_ap_state { + uint64_t as_trace; + uint64_t as_pgtbl_pte; + uint64_t as_pgtbl_itir; + uint64_t as_text_va; + uint64_t as_text_pte; + uint64_t as_text_itir; + uint64_t as_data_va; + uint64_t as_data_pte; + uint64_t as_data_itir; + void *as_kstack; + void *as_kstack_top; + struct pcpu *as_pcpu; + volatile int as_delay; + volatile u_int as_awake; + volatile u_int as_spin; +}; + extern int ia64_ipi_ast; extern int ia64_ipi_highfp; extern int ia64_ipi_nmi; |