pcpu.h (227628) | pcpu.h (230123) |
---|---|
1/*- 2 * Copyright (c) 1999 Luoqi Chen <luoqi@freebsd.org> 3 * Copyright (c) Peter Wemm <peter@netplex.com.au> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/*- 2 * Copyright (c) 1999 Luoqi Chen <luoqi@freebsd.org> 3 * Copyright (c) Peter Wemm <peter@netplex.com.au> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sys/powerpc/include/pcpu.h 227628 2011-11-17 15:49:42Z nwhitehorn $ | 27 * $FreeBSD: head/sys/powerpc/include/pcpu.h 230123 2012-01-15 00:08:14Z nwhitehorn $ |
28 */ 29 30#ifndef _MACHINE_PCPU_H_ 31#define _MACHINE_PCPU_H_ 32 33#include <machine/cpufunc.h> 34#include <machine/slb.h> 35#include <machine/tlb.h> --- 14 unchanged lines hidden (view full) --- 50 register_t pc_tempsave[CPUSAVE_LEN]; \ 51 register_t pc_disisave[CPUSAVE_LEN]; \ 52 register_t pc_dbsave[CPUSAVE_LEN]; 53 54#define PCPU_MD_AIM32_FIELDS 55 56#define PCPU_MD_AIM64_FIELDS \ 57 struct slb pc_slb[64]; \ | 28 */ 29 30#ifndef _MACHINE_PCPU_H_ 31#define _MACHINE_PCPU_H_ 32 33#include <machine/cpufunc.h> 34#include <machine/slb.h> 35#include <machine/tlb.h> --- 14 unchanged lines hidden (view full) --- 50 register_t pc_tempsave[CPUSAVE_LEN]; \ 51 register_t pc_disisave[CPUSAVE_LEN]; \ 52 register_t pc_dbsave[CPUSAVE_LEN]; 53 54#define PCPU_MD_AIM32_FIELDS 55 56#define PCPU_MD_AIM64_FIELDS \ 57 struct slb pc_slb[64]; \ |
58 struct slb **pc_userslb; | 58 struct slb **pc_userslb; \ 59 register_t pc_slbsave[18]; \ 60 uint8_t pc_slbstack[1024]; |
59 60#ifdef __powerpc64__ 61#define PCPU_MD_AIM_FIELDS PCPU_MD_AIM64_FIELDS 62#else 63#define PCPU_MD_AIM_FIELDS PCPU_MD_AIM32_FIELDS 64#endif 65 66#define BOOKE_CRITSAVE_LEN (CPUSAVE_LEN + 2) --- 101 unchanged lines hidden --- | 61 62#ifdef __powerpc64__ 63#define PCPU_MD_AIM_FIELDS PCPU_MD_AIM64_FIELDS 64#else 65#define PCPU_MD_AIM_FIELDS PCPU_MD_AIM32_FIELDS 66#endif 67 68#define BOOKE_CRITSAVE_LEN (CPUSAVE_LEN + 2) --- 101 unchanged lines hidden --- |