Deleted Added
sdiff udiff text old ( 5299:e61b9f2a9732 ) new ( 5334:5136aad50b97 )
full compact
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

--- 54 unchanged lines hidden (view full) ---

63
64#include "base/loader/symtab.hh"
65#include "cpu/pc_event.hh"
66#include "kern/system_events.hh"
67#include "params/X86System.hh"
68#include "sim/sim_object.hh"
69#include "sim/system.hh"
70
71class X86System : public System
72{
73 public:
74 typedef X86SystemParams Params;
75 X86System(Params *p);
76 ~X86System();
77
78/**
79 * Serialization stuff
80 */
81 public:
82 void serialize(std::ostream &os);
83 void unserialize(Checkpoint *cp, const std::string &section);
84
85 void startup();
86
87 protected:
88 const Params *params() const { return (const Params *)_params; }
89
90 virtual Addr fixFuncEventAddr(Addr addr)
91 {
92 //XXX This may eventually have to do something useful.
93 return addr;
94 }
95};
96
97#endif
98