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; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#ifndef __ARCH_ALPHA_SYSTEM_HH__ 33#define __ARCH_ALPHA_SYSTEM_HH__ 34 35#include <string> 36#include <vector> 37 | 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; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#ifndef __ARCH_ALPHA_SYSTEM_HH__ 33#define __ARCH_ALPHA_SYSTEM_HH__ 34 35#include <string> 36#include <vector> 37 |
38#include "sim/system.hh" | |
39#include "base/loader/symtab.hh" 40#include "cpu/pc_event.hh" 41#include "kern/system_events.hh" | 38#include "base/loader/symtab.hh" 39#include "cpu/pc_event.hh" 40#include "kern/system_events.hh" |
41#include "params/AlphaSystem.hh" |
|
42#include "sim/sim_object.hh" | 42#include "sim/sim_object.hh" |
43#include "sim/system.hh" |
|
43 44class AlphaSystem : public System 45{ 46 public: | 44 45class AlphaSystem : public System 46{ 47 public: |
47 struct Params : public System::Params 48 { 49 std::string console_path; 50 std::string palcode; 51 uint64_t system_type; 52 uint64_t system_rev; 53 }; 54 | 48 typedef AlphaSystemParams Params; |
55 AlphaSystem(Params *p); | 49 AlphaSystem(Params *p); |
56 | |
57 ~AlphaSystem(); 58 59/** 60 * Serialization stuff 61 */ 62 public: 63 virtual void serialize(std::ostream &os); 64 virtual void unserialize(Checkpoint *cp, const std::string §ion); --- 45 unchanged lines hidden --- | 50 ~AlphaSystem(); 51 52/** 53 * Serialization stuff 54 */ 55 public: 56 virtual void serialize(std::ostream &os); 57 virtual void unserialize(Checkpoint *cp, const std::string §ion); --- 45 unchanged lines hidden --- |