summaryrefslogtreecommitdiff
path: root/emulators/ski/patches/patch-ah
blob: f50f1db37ab2d12f73e3027782be78761da110bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$NetBSD: patch-ah,v 1.1.1.1 2011/07/27 10:23:48 cherry Exp $

--- src/netbsd/firmware-netbsd.c.orig	2009-12-16 12:47:32.000000000 +0000
+++ src/netbsd/firmware-netbsd.c
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 1995-2007, Hewlett-Packard Development Company, L.P.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or 
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, 
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+
+#include <sys/time.h>
+#include <assert.h>
+#include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+
+#include "std.h"
+#include "types.h"
+#include "state.h"
+#include "sim.h"
+
+#include "netbsd/machdep-netbsd.h"
+
+WORD pciBar[6] = {0xFFFFE001, 0xFFFFE000, 0xFFFFE000};
+
+REG doFW(REG imm, REG arg0, REG arg1, REG arg2, REG arg3)
+{
+
+	progStop("bad FW call\n");
+}