system.hh (3960:1dca397b2bab) | system.hh (4762:c94e103c83ad) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 23 unchanged lines hidden (view full) --- 32#define __ARCH_SPARC_SYSTEM_HH__ 33 34#include <string> 35#include <vector> 36 37#include "base/loader/symtab.hh" 38#include "cpu/pc_event.hh" 39#include "kern/system_events.hh" | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 23 unchanged lines hidden (view full) --- 32#define __ARCH_SPARC_SYSTEM_HH__ 33 34#include <string> 35#include <vector> 36 37#include "base/loader/symtab.hh" 38#include "cpu/pc_event.hh" 39#include "kern/system_events.hh" |
40#include "params/SparcSystem.hh" |
|
40#include "sim/sim_object.hh" 41#include "sim/system.hh" 42 43class SparcSystem : public System 44{ 45 public: | 41#include "sim/sim_object.hh" 42#include "sim/system.hh" 43 44class SparcSystem : public System 45{ 46 public: |
46 struct Params : public System::Params 47 { 48 PhysicalMemory *rom; 49 PhysicalMemory *nvram; 50 PhysicalMemory *hypervisor_desc; 51 PhysicalMemory *partition_desc; 52 Addr reset_addr; 53 Addr hypervisor_addr; 54 Addr openboot_addr; 55 Addr nvram_addr; 56 Addr hypervisor_desc_addr; 57 Addr partition_desc_addr; 58 std::string reset_bin; 59 std::string hypervisor_bin; 60 std::string openboot_bin; 61 std::string nvram_bin; 62 std::string hypervisor_desc_bin; 63 std::string partition_desc_bin; 64 std::string boot_osflags; 65 }; 66 | 47 typedef SparcSystemParams Params; |
67 SparcSystem(Params *p); | 48 SparcSystem(Params *p); |
68 | |
69 ~SparcSystem(); 70 71/** 72 * Serialization stuff 73 */ 74 public: 75 virtual void serialize(std::ostream &os); 76 virtual void unserialize(Checkpoint *cp, const std::string §ion); --- 85 unchanged lines hidden --- | 49 ~SparcSystem(); 50 51/** 52 * Serialization stuff 53 */ 54 public: 55 virtual void serialize(std::ostream &os); 56 virtual void unserialize(Checkpoint *cp, const std::string §ion); --- 85 unchanged lines hidden --- |