pcpu.h (255331) | pcpu.h (256073) |
---|---|
1/*- 2 * Copyright (c) Peter Wemm <peter@netplex.com.au> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) Peter Wemm <peter@netplex.com.au> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/amd64/include/pcpu.h 255331 2013-09-06 22:17:02Z gibbs $ | 26 * $FreeBSD: head/sys/amd64/include/pcpu.h 256073 2013-10-05 23:11:01Z gibbs $ |
27 */ 28 29#ifndef _MACHINE_PCPU_H_ 30#define _MACHINE_PCPU_H_ 31 32#ifndef _SYS_CDEFS_H_ 33#error "sys/cdefs.h is a prerequisite for this file" 34#endif --- 22 unchanged lines hidden (view full) --- 57 /* Pointer to the CPU LDT descriptor */ \ 58 struct system_segment_descriptor *pc_ldt; \ 59 /* Pointer to the CPU TSS descriptor */ \ 60 struct system_segment_descriptor *pc_tss; \ 61 uint64_t pc_pm_save_cnt; \ 62 u_int pc_cmci_mask; /* MCx banks for CMCI */ \ 63 uint64_t pc_dbreg[16]; /* ddb debugging regs */ \ 64 int pc_dbreg_cmd; /* ddb debugging reg cmd */ \ | 27 */ 28 29#ifndef _MACHINE_PCPU_H_ 30#define _MACHINE_PCPU_H_ 31 32#ifndef _SYS_CDEFS_H_ 33#error "sys/cdefs.h is a prerequisite for this file" 34#endif --- 22 unchanged lines hidden (view full) --- 57 /* Pointer to the CPU LDT descriptor */ \ 58 struct system_segment_descriptor *pc_ldt; \ 59 /* Pointer to the CPU TSS descriptor */ \ 60 struct system_segment_descriptor *pc_tss; \ 61 uint64_t pc_pm_save_cnt; \ 62 u_int pc_cmci_mask; /* MCx banks for CMCI */ \ 63 uint64_t pc_dbreg[16]; /* ddb debugging regs */ \ 64 int pc_dbreg_cmd; /* ddb debugging reg cmd */ \ |
65 char __pad[161] /* be divisor of PAGE_SIZE \ | 65 u_int pc_vcpu_id; /* Xen vCPU ID */ \ 66 char __pad[157] /* be divisor of PAGE_SIZE \ |
66 after cache alignment */ 67 68#define PC_DBREG_CMD_NONE 0 69#define PC_DBREG_CMD_LOAD 1 70 71#ifdef _KERNEL 72 73#ifdef lint --- 175 unchanged lines hidden --- | 67 after cache alignment */ 68 69#define PC_DBREG_CMD_NONE 0 70#define PC_DBREG_CMD_LOAD 1 71 72#ifdef _KERNEL 73 74#ifdef lint --- 175 unchanged lines hidden --- |