system.hh (9292:e57c7d9736a5) system.hh (9847:29941c87f7b0)
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;

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

33#define __ARCH_ALPHA_SYSTEM_HH__
34
35#include <string>
36#include <vector>
37
38#include "base/loader/symtab.hh"
39#include "cpu/pc_event.hh"
40#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;

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

33#define __ARCH_ALPHA_SYSTEM_HH__
34
35#include <string>
36#include <vector>
37
38#include "base/loader/symtab.hh"
39#include "cpu/pc_event.hh"
40#include "kern/system_events.hh"
41#include "mem/fs_translating_port_proxy.hh"
41#include "params/AlphaSystem.hh"
42#include "sim/sim_object.hh"
43#include "sim/system.hh"
44
45class AlphaSystem : public System
46{
47 public:
48 typedef AlphaSystemParams Params;

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

86#ifndef NDEBUG
87 /** Event to halt the simulator if the console calls panic() */
88 BreakPCEvent *consolePanicEvent;
89#endif
90
91 protected:
92 Tick intrFreq;
93
42#include "params/AlphaSystem.hh"
43#include "sim/sim_object.hh"
44#include "sim/system.hh"
45
46class AlphaSystem : public System
47{
48 public:
49 typedef AlphaSystemParams Params;

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

87#ifndef NDEBUG
88 /** Event to halt the simulator if the console calls panic() */
89 BreakPCEvent *consolePanicEvent;
90#endif
91
92 protected:
93 Tick intrFreq;
94
95 /**
96 * Proxy used to copy arguments directly into kernel memory.
97 */
98 FSTranslatingPortProxy virtProxy;
99
94 const Params *params() const { return (const Params *)_params; }
95
96
97 /** Setup all the function events. Must be done after init() for Alpha since
98 * fixFuncEvent() requires a function port
99 */
100 virtual void setupFuncEvents();
101

--- 24 unchanged lines hidden ---
100 const Params *params() const { return (const Params *)_params; }
101
102
103 /** Setup all the function events. Must be done after init() for Alpha since
104 * fixFuncEvent() requires a function port
105 */
106 virtual void setupFuncEvents();
107

--- 24 unchanged lines hidden ---