Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Add md_march and PROC0_MD_INITIALIZERS
details: https://anonhg.NetBSD.org/src/rev/2da88cc4d2a1
branches: trunk
changeset: 789861:2da88cc4d2a1
user: matt <matt%NetBSD.org@localhost>
date: Wed Sep 11 04:24:48 2013 +0000
description:
Add md_march and PROC0_MD_INITIALIZERS
diffstat:
sys/arch/arm/include/proc.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r db95824d7339 -r 2da88cc4d2a1 sys/arch/arm/include/proc.h
--- a/sys/arch/arm/include/proc.h Tue Sep 10 22:00:01 2013 +0000
+++ b/sys/arch/arm/include/proc.h Wed Sep 11 04:24:48 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.14 2013/08/23 05:22:01 matt Exp $ */
+/* $NetBSD: proc.h,v 1.15 2013/09/11 04:24:48 matt Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@@ -56,6 +56,9 @@
void (*md_syscall)(struct trapframe *, struct lwp *, uint32_t);
int pmc_enabled; /* bitfield of enabled counters */
void *pmc_state; /* port-specific pmc state */
+ char md_march[12]; /* machine arch of executable */
};
+#define PROC0_MD_INITIALIZERS .p_md = { .md_march = MACHINE_ARCH },
+
#endif /* _ARM32_PROC_H_ */
Home |
Main Index |
Thread Index |
Old Index