Author: wmb
Date: 2009-01-04 03:35:30 +0100 (Sun, 04 Jan 2009)
New Revision: 1063
Added:
cpu/x86/pc/biosload/config-iscsi.fth
Modified:
cpu/x86/pc/biosload/config-virtualbox.fth
cpu/x86/pc/biosload/devices.fth
Log:
Biosload configurations - enabled pseudo-nvram in the virtualbox configuration
now that the floppy driver works.
Added: cpu/x86/pc/biosload/config-iscsi.fth
===================================================================
--- cpu/x86/pc/biosload/config-iscsi.fth (rev 0)
+++ cpu/x86/pc/biosload/config-iscsi.fth 2009-01-04 02:35:30 UTC (rev 1063)
@@ -0,0 +1,52 @@
+\ See license at end of file
+purpose: Establish configuration definitions
+
+\ --- The environment that "boots" OFW ---
+\ - Image Format - Example Media - previous stage bootloader
+
+\ - ELF format w/ Multiboot signature - various media - GRUB
+create grub-loaded
+
+create debug-startup
+\ create serial-console
+create resident-packages
+create addresses-assigned \ Don't reassign PCI addresses
+\ create virtual-mode
+\ create use-root-isa
+create use-timestamp-counter
+create use-pci-isa
+create use-isa-ide
+create use-ega
+create use-elf
+\ create use-ne2000
+create use-watch-all
+create pseudo-nvram
+\ create use-null-nvram
+\ create no-floppy-node
+create use-iscsi
+
+fload ${BP}/cpu/x86/pc/biosload/addrs.fth
+
+\ LICENSE_BEGIN
+\ Copyright (c) 2006 FirmWorks
+\
+\ Permission is hereby granted, free of charge, to any person obtaining
+\ a copy of this software and associated documentation files (the
+\ "Software"), to deal in the Software without restriction, including
+\ without limitation the rights to use, copy, modify, merge, publish,
+\ distribute, sublicense, and/or sell copies of the Software, and to
+\ permit persons to whom the Software is furnished to do so, subject to
+\ the following conditions:
+\
+\ The above copyright notice and this permission notice shall be
+\ included in all copies or substantial portions of the Software.
+\
+\ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+\ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+\ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+\ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+\ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+\ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+\ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+\
+\ LICENSE_END
Modified: cpu/x86/pc/biosload/config-virtualbox.fth
===================================================================
--- cpu/x86/pc/biosload/config-virtualbox.fth 2009-01-04 02:33:00 UTC (rev 1062)
+++ cpu/x86/pc/biosload/config-virtualbox.fth 2009-01-04 02:35:30 UTC (rev 1063)
@@ -20,7 +20,8 @@
create use-elf
\ create use-ne2000
create use-watch-all
-create use-null-nvram
+create pseudo-nvram
+\ create use-null-nvram
\ create no-floppy-node
fload ${BP}/cpu/x86/pc/biosload/addrs.fth
Modified: cpu/x86/pc/biosload/devices.fth
===================================================================
--- cpu/x86/pc/biosload/devices.fth 2009-01-04 02:33:00 UTC (rev 1062)
+++ cpu/x86/pc/biosload/devices.fth 2009-01-04 02:35:30 UTC (rev 1063)
@@ -183,8 +183,9 @@
[ifdef] pseudo-nvram
fload ${BP}/cpu/x86/pc/biosload/filenv.fth
dev /file-nvram
+: fd-nv-file ( -- ) " a:\nvram.dat" ;
: hd-nv-file ( -- ) " c:\nvram.dat" ;
-' hd-nv-file to nv-file
+' fd-nv-file to nv-file
device-end
stand-init: Pseudo-NVRAM
" /file-nvram" open-dev to nvram-node