Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dev/dtrace/arm Make arm/dtrace_isa.c bui...
details: https://anonhg.NetBSD.org/src/rev/e0ea0bb8e232
branches: trunk
changeset: 794447:e0ea0bb8e232
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Sat Mar 15 07:43:01 2014 +0000
description:
Make arm/dtrace_isa.c buildable
This is a band-aid for build, but it works anyway.
We have to do a real fix in the future.
diffstat:
external/cddl/osnet/dev/dtrace/arm/dtrace_isa.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diffs (21 lines):
diff -r 0cab00774dc1 -r e0ea0bb8e232 external/cddl/osnet/dev/dtrace/arm/dtrace_isa.c
--- a/external/cddl/osnet/dev/dtrace/arm/dtrace_isa.c Sat Mar 15 05:58:30 2014 +0000
+++ b/external/cddl/osnet/dev/dtrace/arm/dtrace_isa.c Sat Mar 15 07:43:01 2014 +0000
@@ -39,6 +39,17 @@
#include <ddb/db_sym.h>
#include <ddb/ddb.h>
+uintptr_t kernelbase = (uintptr_t)KERNEL_BASE;
+
+/* TODO: support AAPCS */
+/* XXX: copied from sys/arch/arm/arm/db_trace.c */
+#define INKERNEL(va) (((vaddr_t)(va)) >= VM_MIN_KERNEL_ADDRESS)
+
+#define FR_SCP (0)
+#define FR_RLV (-1)
+#define FR_RSP (-2)
+#define FR_RFP (-3)
+
#include "regset.h"
/*
Home |
Main Index |
Thread Index |
Old Index