Rev 1455 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1455 | Rev 1965 | ||
---|---|---|---|
1 | # Test machine features |
1 | # Test machine features |
2 | # - Standard PC system |
2 | # - Standard PC system |
3 | # - 256 Mb memory |
3 | # - 256 Mb memory |
4 | # - 40 MHz processor(s) |
4 | # - 40 MHz processor(s) |
5 | # - AM79C960 NIC (ISA Lance) |
5 | # - AM79C960 NIC (ISA Lance) |
6 | # - Voodoo3 PCI graphics device |
6 | # - Voodoo3 PCI graphics device |
7 | 7 | ||
8 | @num_processors = 2 |
8 | @num_processors = 2 |
9 | #@num_processors = 1 |
9 | #@num_processors = 1 |
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 "cdrom_image" in dir(): cdrom_image = "image.iso" |
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 | 18 | ||
19 | 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 |
20 | run-python-file ../scripts/cdrom_bootloader.py |
21 | 21 | ||
22 | @install_cdrom_bootloader((conf.cpu0,)) |
22 | @install_cdrom_bootloader((conf.cpu0,)) |
23 | @if cdrom_image != None: |
23 | @if cdrom_image != None: |
24 | eval_cli_line("new-file-cdrom %s image" % cdrom_image) |
24 | eval_cli_line("new-file-cdrom %s image" % cdrom_image) |
25 | eval_cli_line("cd0.insert image") |
25 | eval_cli_line("cd0.insert image") |
26 | 26 |