system.hh (7580:6f77f379a594) | system.hh (7723:ee4ac00d0774) |
---|---|
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; --- 34 unchanged lines hidden (view full) --- 43#include "cpu/pc_event.hh" 44#include "enums/MemoryMode.hh" 45#include "mem/port.hh" 46#include "params/System.hh" 47#include "sim/sim_object.hh" 48 49#if FULL_SYSTEM 50#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; --- 34 unchanged lines hidden (view full) --- 43#include "cpu/pc_event.hh" 44#include "enums/MemoryMode.hh" 45#include "mem/port.hh" 46#include "params/System.hh" 47#include "sim/sim_object.hh" 48 49#if FULL_SYSTEM 50#include "kern/system_events.hh" |
51#include "mem/vport.hh" | |
52#endif 53 54class BaseCPU; 55class ThreadContext; 56class ObjectFile; 57class PhysicalMemory; 58 59#if FULL_SYSTEM 60class Platform; | 51#endif 52 53class BaseCPU; 54class ThreadContext; 55class ObjectFile; 56class PhysicalMemory; 57 58#if FULL_SYSTEM 59class Platform; |
60class FunctionalPort; 61class VirtualPort; |
|
61#endif 62class GDBListener; 63class BaseRemoteGDB; 64 65class System : public SimObject 66{ 67 public: 68 --- 34 unchanged lines hidden (view full) --- 103 int numRunningContexts(); 104 105#if FULL_SYSTEM 106 Platform *platform; 107 uint64_t init_param; 108 109 /** Port to physical memory used for writing object files into ram at 110 * boot.*/ | 62#endif 63class GDBListener; 64class BaseRemoteGDB; 65 66class System : public SimObject 67{ 68 public: 69 --- 34 unchanged lines hidden (view full) --- 104 int numRunningContexts(); 105 106#if FULL_SYSTEM 107 Platform *platform; 108 uint64_t init_param; 109 110 /** Port to physical memory used for writing object files into ram at 111 * boot.*/ |
111 FunctionalPort functionalPort; 112 VirtualPort virtPort; | 112 FunctionalPort *functionalPort; 113 VirtualPort *virtPort; |
113 114 /** kernel symbol table */ 115 SymbolTable *kernelSymtab; 116 117 /** Object pointer for the kernel code */ 118 ObjectFile *kernel; 119 120 /** Begining of kernel code */ --- 142 unchanged lines hidden --- | 114 115 /** kernel symbol table */ 116 SymbolTable *kernelSymtab; 117 118 /** Object pointer for the kernel code */ 119 ObjectFile *kernel; 120 121 /** Begining of kernel code */ --- 142 unchanged lines hidden --- |