Rev 718 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 718 | Rev 1455 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | 10 | ||
11 | @if not "cpu_class" in dir(): cpu_class = "x86-hammer" |
11 | @if not "cpu_class" in dir(): cpu_class = "x86-hammer" |
12 | @if not "clock_freq_mhz" in dir(): clock_freq_mhz = 40 |
12 | @if not "clock_freq_mhz" in dir(): clock_freq_mhz = 40 |
13 | @if not "memory_megs" in dir(): memory_megs = 256 |
13 | @if not "memory_megs" in dir(): memory_megs = 256 |
14 | 14 | ||
15 | @if not "floppy_image" in dir(): floppy_image = "image.boot" |
15 | @if not "cdrom_image" in dir(): cdrom_image = "image.iso" |
16 | @if not "use_voodoo3_pci" in dir(): use_voodoo3_pci = 1 |
16 | @if not "use_voodoo3_pci" in dir(): use_voodoo3_pci = 1 |
17 | @if not "use_voodoo3_agp" in dir(): use_voodoo3_agp = 0 |
17 | @if not "use_voodoo3_agp" in dir(): use_voodoo3_agp = 0 |
18 | @if not "boot_dev" in dir(): boot_dev = "A" |
- | |
19 | 18 | ||
20 | run-command-file ../x86-test-machine/pc-common.simics |
19 | run-command-file ../x86-test-machine/pc-common.simics |
- | 20 | run-python-file ../scripts/cdrom_bootloader.py |
|
21 | 21 | ||
- | 22 | @install_cdrom_bootloader((conf.cpu0,)) |
|
22 | @if floppy_image != None: |
23 | @if cdrom_image != None: |
23 | eval_cli_line("flp0.insert-floppy A %s" % floppy_image) |
24 | eval_cli_line("new-file-cdrom %s image" % cdrom_image) |
- | 25 | eval_cli_line("cd0.insert image") |