1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Simple fixes to get the powerpc kernel compiling again.

Reviewed by:	mp
This commit is contained in:
Andrew Gallatin 2002-01-28 14:07:36 +00:00
parent 9e1c120c8e
commit 350cb38b1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89919
4 changed files with 4 additions and 4 deletions

View File

@ -158,7 +158,7 @@ SYSCTL_PROC(_hw, HW_PHYSMEM, physmem, CTLTYPE_INT|CTLFLAG_RD,
struct msgbuf *msgbufp = 0;
int bootverbose = 0, Maxmem = 0;
int Maxmem = 0;
long dumplo;
vm_offset_t phys_avail[10];

View File

@ -35,7 +35,7 @@
#include <machine/psl.h>
#define CRITICAL_FORK (mfmsr() |= PSL_EE)
#define CRITICAL_FORK (mfmsr() | PSL_EE)
#ifdef __GNUC__

View File

@ -47,7 +47,7 @@ struct powerpc_saved_state {
u_int32_t msr;
};
typedef struct powerpc_saved_state db_regs_t;
db_regs_t ddb_regs; /* register state */
extern db_regs_t ddb_regs; /* register state */
#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->iar)

View File

@ -158,7 +158,7 @@ SYSCTL_PROC(_hw, HW_PHYSMEM, physmem, CTLTYPE_INT|CTLFLAG_RD,
struct msgbuf *msgbufp = 0;
int bootverbose = 0, Maxmem = 0;
int Maxmem = 0;
long dumplo;
vm_offset_t phys_avail[10];