aboutsummaryrefslogtreecommitdiff
path: root/emulators/psim-freebsd/files
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-03-11 04:50:07 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-03-11 04:50:07 +0000
commit62edd34778dca35d133d7d3d8010551bf152615f (patch)
tree53c7d0160f3a5e9f0d20c64a22d8c6ea10329663 /emulators/psim-freebsd/files
parent9e19757de8b9c024ba9507bb9c821d547e1cf160 (diff)
Notes
Diffstat (limited to 'emulators/psim-freebsd/files')
-rw-r--r--emulators/psim-freebsd/files/README.patches4
-rw-r--r--emulators/psim-freebsd/files/patch-emul_chirp.c14
2 files changed, 14 insertions, 4 deletions
diff --git a/emulators/psim-freebsd/files/README.patches b/emulators/psim-freebsd/files/README.patches
index f8ebc3b07d6a..b7dcdee840dc 100644
--- a/emulators/psim-freebsd/files/README.patches
+++ b/emulators/psim-freebsd/files/README.patches
@@ -13,7 +13,3 @@ OpenFirmware callback.
sim/ppc/hw_init.c:
Allow the simulator to load a dynamically linked OEA environment.
-
-sim/ppc/hw_tab.c:
-Ignore warnings for the improper alignment of the htab. A better fix would be
-to properly align the htab when the memory is allocated in the first place.
diff --git a/emulators/psim-freebsd/files/patch-emul_chirp.c b/emulators/psim-freebsd/files/patch-emul_chirp.c
new file mode 100644
index 000000000000..379ef7cd39ca
--- /dev/null
+++ b/emulators/psim-freebsd/files/patch-emul_chirp.c
@@ -0,0 +1,14 @@
+--- sim/ppc/emul_chirp.c.orig Sun Jun 22 23:03:40 2003
++++ sim/ppc/emul_chirp.c Wed Jan 26 12:06:16 2005
+@@ -1880,6 +1880,11 @@
+ (unsigned long)chirp->sizeof_stack);
+ tree_parse(node, "./wimg %d", 0x7);
+ tree_parse(node, "./pp %d", 0x2);
++ node = tree_parse(root, "/cpus/cpu@0");
++ tree_parse(node, "./translations 0x%lx 0x%lx 0x%0lx 0x%0lx 0x%0lx",
++ (unsigned long)chirp->code_va, (unsigned long)chirp->sizeof_code,
++ (unsigned long)chirp->code_ra, 0);
++ node = tree_parse(root, "/chosen/mmu */cpus/cpu@0");
+ }
+
+ /* map in the chrp openboot callback code */