From ced021a78f28b4f44bb10233f4acd3a1cae81e2b Mon Sep 17 00:00:00 2001 From: Andrew Schultz Date: Tue, 25 May 2004 16:35:18 -0400 Subject: Varied fixes to get linux running. Allow for shutdown on linux. dev/ide_disk.cc: Fix to PIO writes and also add command needed for shutdown dev/pcidev.cc: Change the panic on write to read-only registers to a debug print. The kernel tries to write back over all of the PCI registers to restore the saved SRM state, so we need to let it do this without panicing. sim/system.cc: Add back increment of number of running systems to allow trap of halt work correctly. --HG-- extra : convert_revision : 84aba4effbec14545f3610c19a8e321d7e7f7cf2 --- dev/pcidev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/pcidev.cc') diff --git a/dev/pcidev.cc b/dev/pcidev.cc index 9ac170b5c..9d6208d6b 100644 --- a/dev/pcidev.cc +++ b/dev/pcidev.cc @@ -247,7 +247,7 @@ PciDev::WriteConfig(int offset, int size, uint32_t data) break; default: - panic("writing to a read only register"); + DPRINTF(PCIDEV, "Writing to a read only register"); } break; } -- cgit v1.2.3