pcpu.h (334152) | pcpu.h (347568) |
---|---|
1/*- 2 * Copyright (c) Peter Wemm 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 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: stable/11/sys/i386/include/pcpu.h 334152 2018-05-24 13:17:24Z kib $ | 26 * $FreeBSD: stable/11/sys/i386/include/pcpu.h 347568 2019-05-14 17:05:02Z kib $ |
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 --- 29 unchanged lines hidden (view full) --- 64 struct mtx pc_cmap_lock; \ 65 void *pc_cmap_pte1; \ 66 void *pc_cmap_pte2; \ 67 caddr_t pc_cmap_addr1; \ 68 caddr_t pc_cmap_addr2; \ 69 vm_offset_t pc_qmap_addr; /* KVA for temporary mappings */\ 70 uint32_t pc_smp_tlb_done; /* TLB op acknowledgement */ \ 71 uint32_t pc_ibpb_set; \ | 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 --- 29 unchanged lines hidden (view full) --- 64 struct mtx pc_cmap_lock; \ 65 void *pc_cmap_pte1; \ 66 void *pc_cmap_pte2; \ 67 caddr_t pc_cmap_addr1; \ 68 caddr_t pc_cmap_addr2; \ 69 vm_offset_t pc_qmap_addr; /* KVA for temporary mappings */\ 70 uint32_t pc_smp_tlb_done; /* TLB op acknowledgement */ \ 71 uint32_t pc_ibpb_set; \ |
72 char __pad[185] | 72 void *pc_mds_buf; \ 73 void *pc_mds_buf64; \ 74 uint32_t pc_pad[12]; \ 75 uint8_t pc_mds_tmp[64]; \ 76 char __pad[153] |
73 74#ifdef _KERNEL 75 76#ifdef lint 77 78extern struct pcpu *pcpup; 79 80#define get_pcpu() (pcpup) --- 176 unchanged lines hidden --- | 77 78#ifdef _KERNEL 79 80#ifdef lint 81 82extern struct pcpu *pcpup; 83 84#define get_pcpu() (pcpup) --- 176 unchanged lines hidden --- |