Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/powerpc/include Pull up revision 1.8 (via patc...
details: https://anonhg.NetBSD.org/src/rev/4c549d8095ee
branches: netbsd-1-5
changeset: 491541:4c549d8095ee
user: he <he%NetBSD.org@localhost>
date: Tue May 01 12:46:37 2001 +0000
description:
Pull up revision 1.8 (via patch, requested by martin):
Avoid nesting structure declarations, to be friendly to C++ code.
diffstat:
sys/arch/powerpc/include/pcb.h | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r d57654f8dff3 -r 4c549d8095ee sys/arch/powerpc/include/pcb.h
--- a/sys/arch/powerpc/include/pcb.h Tue May 01 12:44:00 2001 +0000
+++ b/sys/arch/powerpc/include/pcb.h Tue May 01 12:46:37 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcb.h,v 1.4 2000/06/04 11:57:17 tsubai Exp $ */
+/* $NetBSD: pcb.h,v 1.4.2.1 2001/05/01 12:46:37 he Exp $ */
/*-
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -33,6 +33,11 @@
#ifndef _MACHINE_PCB_H_
#define _MACHINE_PCB_H_
+struct fpu {
+ double fpr[32];
+ double fpscr; /* FPSCR stored as double for easier access */
+};
+
typedef int faultbuf[23];
struct pcb {
@@ -43,10 +48,7 @@
faultbuf *pcb_onfault; /* For use during copyin/copyout */
int pcb_flags;
#define PCB_FPU 1 /* Process had FPU initialized */
- struct fpu {
- double fpr[32];
- double fpscr; /* FPSCR stored as double for easier access */
- } pcb_fpu; /* Floating point processor */
+ struct fpu pcb_fpu; /* Floating point processor */
};
struct md_coredump {
Home |
Main Index |
Thread Index |
Old Index