mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:15:58 +08:00
Update to FreeBSD head 2017-12-01
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
/*-
|
||||
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
*
|
||||
* Copyright (c) 1998 Doug Rabson
|
||||
* All rights reserved.
|
||||
*
|
||||
|
@@ -1,4 +1,6 @@
|
||||
/*-
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
*
|
||||
|
@@ -1,4 +1,6 @@
|
||||
/*-
|
||||
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
*
|
||||
* Copyright (C) 2002 Benno Rice.
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -30,7 +32,7 @@
|
||||
|
||||
#define INTR_VECTORS 256
|
||||
|
||||
#define MAX_PICS 16
|
||||
#define MAX_PICS 32
|
||||
#define MAP_IRQ(node, pin) powerpc_get_irq(node, pin)
|
||||
|
||||
/*
|
||||
@@ -46,7 +48,7 @@ driver_filter_t powerpc_ipi_handler;
|
||||
|
||||
void intrcnt_add(const char *name, u_long **countp);
|
||||
|
||||
void powerpc_register_pic(device_t, uint32_t, u_int, u_int, u_int);
|
||||
u_int powerpc_register_pic(device_t, uint32_t, u_int, u_int, u_int);
|
||||
u_int powerpc_get_irq(uint32_t, u_int);
|
||||
|
||||
void powerpc_dispatch_intr(u_int, struct trapframe *);
|
||||
|
@@ -1,4 +1,6 @@
|
||||
/*-
|
||||
* SPDX-License-Identifier: BSD-4-Clause
|
||||
*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
* Copyright (C) 1995, 1996 TooLs GmbH.
|
||||
* All rights reserved.
|
||||
@@ -45,15 +47,16 @@
|
||||
#define PSL_FP 0x00002000UL /* floating point enable */
|
||||
#define PSL_ME 0x00001000UL /* machine check enable */
|
||||
#define PSL_FE0 0x00000800UL /* floating point interrupt mode 0 */
|
||||
#define PSL_BE 0x00000200UL /* branch trace enable */
|
||||
#define PSL_FE1 0x00000100UL /* floating point interrupt mode 1 */
|
||||
#define PSL_PMM 0x00000004UL /* performance monitor mark */
|
||||
#define PSL_RI 0x00000002UL /* recoverable interrupt */
|
||||
|
||||
/* Machine State Register - Book-E cores */
|
||||
#ifdef __powerpc64__
|
||||
#define PSL_CM 0x80000000UL /* Computation Mode (64-bit) */
|
||||
#endif
|
||||
|
||||
#define PSL_GS 0x10000000UL /* Guest state */
|
||||
#define PSL_UCLE 0x04000000UL /* User mode cache lock enable */
|
||||
#define PSL_WE 0x00040000UL /* Wait state enable */
|
||||
#define PSL_CE 0x00020000UL /* Critical interrupt enable */
|
||||
@@ -72,10 +75,10 @@
|
||||
#define PSL_POW 0x00040000UL /* power management */
|
||||
#define PSL_ILE 0x00010000UL /* interrupt endian mode (1 == le) */
|
||||
#define PSL_SE 0x00000400UL /* single-step trace enable */
|
||||
#define PSL_BE 0x00000200UL /* branch trace enable */
|
||||
#define PSL_IP 0x00000040UL /* interrupt prefix - 601 only */
|
||||
#define PSL_IR 0x00000020UL /* instruction address relocation */
|
||||
#define PSL_DR 0x00000010UL /* data address relocation */
|
||||
#define PSL_RI 0x00000002UL /* recoverable interrupt */
|
||||
#define PSL_LE 0x00000001UL /* endian mode (1 == le) */
|
||||
|
||||
/*
|
||||
|
@@ -1,4 +1,6 @@
|
||||
/*-
|
||||
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
*
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -210,6 +212,11 @@
|
||||
#define EPCR_DMIUH 0x00400000
|
||||
#define EPCR_PMGS 0x00200000
|
||||
#define SPR_SPEFSCR 0x200 /* ..8 Signal Processing Engine FSCR. */
|
||||
|
||||
#define SPR_LPCR 0x13e /* Logical Partitioning Control */
|
||||
#define LPCR_LPES 0x008 /* Bit 60 */
|
||||
#define SPR_LPID 0x13f /* Logical Partitioning Control */
|
||||
|
||||
#define SPR_IBAT0U 0x210 /* .68 Instruction BAT Reg 0 Upper */
|
||||
#define SPR_IBAT0U 0x210 /* .6. Instruction BAT Reg 0 Upper */
|
||||
#define SPR_IBAT0L 0x211 /* .6. Instruction BAT Reg 0 Lower */
|
||||
@@ -745,6 +752,8 @@
|
||||
#define SVR_P4040E 0x8208
|
||||
#define SVR_P4080 0x8201
|
||||
#define SVR_P4080E 0x8209
|
||||
#define SVR_P5010 0x8221
|
||||
#define SVR_P5010E 0x8229
|
||||
#define SVR_P5020 0x8220
|
||||
#define SVR_P5020E 0x8228
|
||||
#define SVR_P5021 0x8205
|
||||
|
@@ -4,6 +4,8 @@
|
||||
/* $NetBSD: in_cksum.c,v 1.7 1997/09/02 13:18:15 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* SPDX-License-Identifier: BSD-4-Clause
|
||||
*
|
||||
* Copyright (c) 1988, 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
* Copyright (c) 1996
|
||||
|
Reference in New Issue
Block a user