summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-11-15Add support for sampled PC profiling to FullCPU.Steve Reinhardt
Simple text list of symbol (or address) and count will be dumped to m5prof.<cpu-name> if the cpu's pc_sample_interval param is set. SConscript: Add cpu/full_cpu/pc_sample_profile.cc base/callback.hh: Add a comment about MakeCallback. Fix type in another comment. base/loader/symtab.cc: Revamp findNearestSymbol() to provide addresses of both nearest symbols (preceding and following) as well as string for former. Move global definition of debugSymbolTable here too. base/loader/symtab.hh: Revamp findNearestSymbol() to provide addresses of both nearest symbols (preceding and following) as well as string for former. Move global declaration of debugSymbolTable here too. cpu/exetrace.cc: Use new findNearestSymbol() interface for trace symbols. kern/linux/linux_system.cc: sim/system.cc: Remove extern of debugSymbolTable (now in symtab.hh) sim/process.cc: Initialize debugSymbolTable if binary has a symbol table. --HG-- extra : convert_revision : 0b5393dc39c40ac88c953684708f1125da550671
2004-11-13Get rid of obsolete sim/sim_stats.* files (looks like theseSteve Reinhardt
are replaced by sim/stats.hh and sim/stat_control.*) dev/ns_gige.cc: dev/sinic.cc: Include sim/stats.hh instead of sim/sim_stats.hh --HG-- extra : convert_revision : 5e07932eab45ae4fb719baa4f94c5f62092a8446
2004-11-13Add the Simple Integrated Network Interface ControllerNathan Binkert
--HG-- extra : convert_revision : 2bce25881a104e8282a5ed819769c6a7de414fb2
2004-11-13don't handle device specific configuration stuff in the baseNathan Binkert
class. While we're at it, very minor formatting. --HG-- extra : convert_revision : b7c719f92ece7234838434294b33833289adbada
2004-11-13Use the new PacketFifo class to avoid manual calculationsNathan Binkert
--HG-- extra : convert_revision : afa193904b7ed4d5e5c50e9dcb78e8e855b00ecc
2004-11-13change the serialization of a packet so that we don'tNathan Binkert
do a nameOut. This fixes a subtle bug in serialization that can pop up. --HG-- extra : convert_revision : b52df977dcbef1c9bd0d4405ba0b36dff3737cdf
2004-11-13we shouldn't ever pass around references to PacketPtrs,Nathan Binkert
const references are ok, or pass by value. --HG-- extra : convert_revision : 7280a1c7d22b9294fddbe50f02f6f4c6ca9b2e5b
2004-11-13forgot a change in the previous commit. the ide controllerNathan Binkert
doesn't have its own interrupt functions dev/ide_ctrl.hh: oops. we don't have our own interrupt functions anymore we get them from the base class. --HG-- extra : convert_revision : 3eac228ec59f4fea0b0e49f961e8b21705dee27f
2004-11-13Make it possible for PioDevices to have unknown pioNathan Binkert
latencies. --HG-- extra : convert_revision : 08f2250efc078406c497a6820ae30f5fdf687ea5
2004-11-13Use parameter structs for initialization so it's easierNathan Binkert
to add new devices. Abstract the Platform more so that it is unnecessary to know know platform specifics for interrupting or translating PCI DMA addresses. dev/ide_ctrl.cc: convert to parameter struct for initialization use the interrupt functions in the PciDev base class convert from tsunami to using platform We don't need an interrupt controller here. dev/ide_ctrl.hh: don't use Tsunami, use Platform make the IdeDisk a friend so that it can access my plaform convert to parameter struct for construction dev/ide_disk.cc: don't use tsunami references, but platform references dev/ns_gige.cc: Convert to parameter struct for initialzation. Use code in base class for interrupts so we don't need to know anything about the platform. Don't need an IntrControl *. dev/ns_gige.hh: We don't need a Tsunami * anymore convert to a parameter struct for construction dev/pcidev.cc: deal with new parameter struct dev/pcidev.hh: - Move all of the configuration parameters into a param struct that we can pass into the constructor. - Add a Platform * for accessing new generic interrupt post/clear and dma address translation fuctions - Create functions for posting/clearing interrupts and translating dma addresses dev/platform.cc: have default functions that panic on pci calls dev/platform.hh: don't make the pci stuff pure virtual, but rather provide default implementations that panic. Also, add dma address translation. dev/tsunami.cc: this-> isn't necessary here. add pci address translation dev/tsunami.hh: implement the pciToDma address translation --HG-- extra : convert_revision : 7db27a2fa1f1bd84704921ec7ca0280b5653c43e
2004-11-13sort #includesNathan Binkert
don't need to include ev5.hh anymore --HG-- extra : convert_revision : f80d2767936d3fb07a9cb7fd4709cafe9ea93e63
2004-11-13Macros are nasty, so let's get rid of them. Convert allNathan Binkert
all macros in ev5.hh to inline functions or constant typed variables and make them follow our style while we're at it. All of the stuff in this file actually belongs in the ISA traits code, but this is a first step at getting things done in the right manner. arch/alpha/alpha_memory.cc: arch/alpha/alpha_memory.hh: arch/alpha/ev5.cc: arch/alpha/isa_desc: dev/ns_gige.cc: kern/tru64/tru64_events.cc: deal with changes in ev5.hh arch/alpha/ev5.hh: Macros are nasty, so let's get rid of them. Convert all all macros to inline functions or constant typed variables. Make them follow our style while we're at it. All of the stuff in this file actually belongs in the ISA traits code, but this is a first step at getting things done in the right manner. arch/alpha/isa_traits.hh: move some of the ev5 specific code into the isa arch/alpha/vtophys.cc: base/remote_gdb.cc: deal with isa addition cpu/exec_context.hh: be less isa specific and use the isa traits to figure out what we can. dev/alpha_console.cc: dev/pciconfigall.cc: dev/tsunami_cchip.cc: dev/tsunami_io.cc: dev/tsunami_pchip.cc: dev/uart.cc: deal with changes in ev5.hh I don't believe this masking is actually necessary. We should look at removing it later. dev/ide_ctrl.cc: sort #includes deal with changes in ev5.hh --HG-- extra : convert_revision : c8a3adf0a4b1d198aefe38fc38b295abf289b08a
2004-11-13remove the global static check_interrupts variable now thatNathan Binkert
it's not used. --HG-- extra : convert_revision : a4f50c1eb030a132766c4018d17c463ad5a97a9b
2004-11-13defining SYSTEM_EV5 isn't all that necessaryNathan Binkert
--HG-- extra : convert_revision : 2ed4866db9483820d550bad00fdbc8dd027f95ba
2004-11-13defining SYSTEM_EV5 isn't all that necessaryNathan Binkert
--HG-- extra : convert_revision : 7d39dd9f814434cb95ec769204d7f2426b0290fd
2004-11-12Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/tmp/m5Ali Saidi
--HG-- extra : convert_revision : 7696b915099bc847bbb9bd9f97fd30b1825c68d5
2004-11-12slightly different parameters for nfs scriptAli Saidi
--HG-- extra : convert_revision : 1576f875646567cc661a8e3f07c00c4b282e9f64
2004-11-12add surge and spec-surge readfiles. also make the naming system uniform, ↵Lisa Hsu
there were 3 different ways!!! i like ali's. --HG-- rename : configs/boot/client.netperf.maerts => configs/boot/netperf-maerts-client.rcS rename : configs/boot/client.netperf.rr => configs/boot/netperf-rr.rcS rename : configs/boot/server.netperf => configs/boot/netperf-server.rcS rename : configs/boot/client.netperf.stream => configs/boot/netperf-stream-client.rcS extra : convert_revision : 8c841e18dac9634f0680b857f3d0676b100dd448
2004-11-12Added nfs-client.rcS and nfs-server.rcSAli Saidi
--HG-- extra : convert_revision : 48cf156ce397b68075c07ed072c95644affa3ef1
2004-11-10Bus interface range fixes for caches (to fix bus brudge range bug).Steve Reinhardt
Add "fast write" behavior on writeInvalidates. --HG-- extra : convert_revision : 0c5c1e06d6cbb608610b99fb4e4fb04db4997c7b
2004-11-10add DPRINTFsSteve Reinhardt
--HG-- extra : convert_revision : 7d2fad2e4f9125d41c8d1972d8f19f38bb95c06e
2004-11-10Make it so we can cast an EthAddr to a 64-bit integerNathan Binkert
--HG-- extra : convert_revision : 2f470d122997fbc375f04e9c2682b6528adef50c
2004-11-10Use the inPalMode function instead of the PC_PAL macroNathan Binkert
--HG-- extra : convert_revision : 58e0a19ba98777e5d2e2572ed02dee1914378ff7
2004-11-10Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest --HG-- extra : convert_revision : 64eca6a11aeae236e802f9ca8eb97ca05d394ec7
2004-11-10Don't use the global check_interrupts variable. Add a per-cpuNathan Binkert
checkInterrupts variable and use that to determine whether an interrupt can occur on a given cycle. arch/alpha/ev5.cc: XC -> CPU (and xc -> CPU) since we're really talking about a CPU here Don't use the global check_interrupts variable. Add a per-cpu checkInterrupts variable and use that to determine whether an interrupt can occur on a given cycle. --HG-- extra : convert_revision : be4c0247e5834005c60a45796a222cffd327b64e
2004-11-10don't print dprintk twice on the same lineNathan Binkert
--HG-- extra : convert_revision : f41fc47221b6fb83eb92c080de073a11cf04c353
2004-11-09software prefetch fixJennifer Treichler
--HG-- extra : convert_revision : b70257a60c5f71a86a45c32d5a4ccaa249300dca
2004-11-03Fix to deal with the new base class parameter for registrationNathan Binkert
deferral --HG-- extra : convert_revision : f968e3ba44604522cb10db8a60d7e18f1733e06a
2004-11-03Forgot about the tracing cpus for the changes to the base classNathan Binkert
cpu/trace/opt_cpu.cc: cpu/trace/trace_cpu.cc: we don't want to register this cpu since it's not a real cpu --HG-- extra : convert_revision : 3b87b6ac3dd061018909bf4fdb4e2d611128d07b
2004-11-03make activation of exec contexts happen in startupNathan Binkert
the registration stuff all moves into BaseCPU cpu/base_cpu.cc: Move the registration stuff into the BaseCPU since all other CPUs use it. cpu/base_cpu.hh: Move the defer registration stuff into the BaseCPU since all other CPUs use it. cpu/simple_cpu/simple_cpu.cc: cpu/simple_cpu/simple_cpu.hh: registration stuff moved to base class sim/system.cc: the activation of exec contexts should happen at startup, not when they are registered. sim/system.hh: the system now has a startup function --HG-- extra : convert_revision : bb6a7c2da5a1ecf5fe7ede1078200bfe5245f8ef
2004-11-03Add Inorder CPU modelTaeho Kgil
SConscript: arch/isa_parser.py: cpu/static_inst.hh: Add inorderCPU --HG-- extra : convert_revision : 141372808fac5f6d125f9051ee0be982d21683aa
2004-11-03add a new phase to the simulator. Basically the simulator now goesNathan Binkert
through the following phases. 1) Construct all param contexts 2) Call the checkParams() on each context 3) Build the configuration hierarchy 4) Construct all SimObjects 5) Initialize all SimObjects by calling init() on each one 6) Unserialize the checkpoint 7) Register all statisitcs 8) Check validity of all statistics (after that, no new stats) 9) Reset all stats. 10) Call SimStartup() which calls startup() on all SimObjects, ParamContexts, and any other object deriving from StartupCallback SConscript: no more SimInit() we have SimStartup() now sim/param.hh: Make all params have a startup callback. sim/sim_events.cc: the init callbacks no longer exist. We can simplify code by using startup(). sim/sim_object.hh: Make all SimObjects derive from StartupCallback --HG-- extra : convert_revision : ab81e259eb5510cc597f7bacb2bfb619fb4cc15f
2004-11-01remove mention of a couple of files that don't exist anymoreNathan Binkert
SConscript: these files don't exist --HG-- extra : convert_revision : 660f3861b5f2824a44fc8a281a782faeef4467f2
2004-10-28More user-friendly updates for 570.Steve Reinhardt
--HG-- extra : convert_revision : 0fe38f6ab652b575cc24d18d65c237291e1793d6
2004-10-28Add '%' in some places to suppress spurious doxygen auto-links.Steve Reinhardt
--HG-- extra : convert_revision : 6527dc766730745516f52f7e7f5acf43d64e8733
2004-10-27Major documentation update for 570 F04.Steve Reinhardt
sim/main.cc: Get rid of default.ini processing... it's kind of a pain and nobody uses it. util/tracediff: Add comments on usage. --HG-- extra : convert_revision : b811288b2945585d60685684ea88c99d1913fbf3
2004-10-25Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5-smpAli Saidi
--HG-- extra : convert_revision : 59173b5d4599cfe1cbaa96705e9731ee5a8d8647
2004-10-25changes to make interrupts part of the platform rather than tsunamiAli Saidi
specific --HG-- extra : convert_revision : f51788dd41c23f13b253268bb2b286a5225ef087
2004-10-25Don't use magic numbers.Nathan Binkert
arch/alpha/isa_traits.hh: Move defines to non full system code section so they can be used elsewhere cpu/simple_cpu/simple_cpu.cc: Don't use magic numbers cpu/simple_cpu/simple_cpu.hh: simple format nit --HG-- extra : convert_revision : b8d492218340d41ab9420c6ad1e81a197db1c132
2004-10-25add a hack to make sure we exit when sampling is complete.Nathan Binkert
--HG-- extra : convert_revision : a0d66b1915f14485d1798a3142dd8c828925d151
2004-10-25Add explicit phases to order ParamContext initializations.Steve Reinhardt
--HG-- extra : convert_revision : c24fba2bded2493a892fa93de0c61f9674cfedbb
2004-10-24Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5Steve Reinhardt
into zizzer.eecs.umich.edu:/z/stever/bk/m5 --HG-- extra : convert_revision : aac76a4b82b3455620618bba6238507248cc68cc
2004-10-23Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest --HG-- extra : convert_revision : aaf81b1c1283229de21e0ef7e9916a4464f72fa3
2004-10-23flesh out the TCP/IP/Ethernet supportNathan Binkert
base/refcnt.hh: reorganize the RefCountingPtr a little bit to make it easier to derive from dev/etherpkt.hh: this doesn't belong here. use the inet.hh stuff dev/ns_gige.cc: dev/ns_gige.hh: use newer features in the tcp/ip/ethernet stuff --HG-- extra : convert_revision : 32c1953c95655c1f4c70e0d8adedfd94beead624
2004-10-23bump up the number of cshrs so we don't panicNathan Binkert
--HG-- extra : convert_revision : 25dfd48b2c579401d265ba9ed85379831f207b8e
2004-10-23get rid of some unused variablesNathan Binkert
--HG-- extra : convert_revision : 187cee0e0bad09bbaff059eb60f20d7d32c1b52c
2004-10-23make stuff compile on openbsd againNathan Binkert
clean up a few other things while we're here. base/bitfield.hh: base/compression/null_compression.hh: dont #include <inttypes.hh> use "sim/host.hh" fix #include guard base/stats/types.hh: dont #include <inttypes.hh> use "sim/host.hh" kern/linux/aligned.hh: dont #include <stdint.hh> use "sim/host.hh" fix #include guard kern/linux/hwrpb.hh: fix #include guard --HG-- extra : convert_revision : 288c687a59a1e770bbb834879173e1a2ea371bce
2004-10-23get rid of pmap.h and make things variables and inlineNathan Binkert
functions instead of preprocessor macros. arch/alpha/vtophys.cc: use new constants, functions and structs to clean up the vtophys code. arch/alpha/vtophys.hh: Clean up a little bit and make the protypes match new changes. base/remote_gdb.cc: dev/ide_disk.cc: kern/tru64/tru64_events.cc: use new constants from isa_traits.hh instead of ones from old pmap.h --HG-- extra : convert_revision : 5dce34e3b0c84ba72cefca34e5999b99898edcef
2004-10-23in the arch/alpha directory we should use arch/alpha, notNathan Binkert
targetarch. arch/alpha/alpha_memory.cc: arch/alpha/arguments.cc: arch/alpha/arguments.hh: arch/alpha/faults.cc: arch/alpha/isa_traits.hh: arch/alpha/osfpal.cc: arch/alpha/vtophys.cc: arch/alpha/vtophys.hh: in the arch/alpha directory we should use arch/alpha, not targetarch. sort includes while we're here. --HG-- extra : convert_revision : 99a71540e2997173db5c1072cef910a26acc75b2
2004-10-22Do the targetarch dependency stuff better.Nathan Binkert
SConscript: targetarch is only for headers, not cc files. move all cc files back to arch/alpha, and make the target arch directory do this echo '#include "arch/alpha/foo.hh"' > targetarch/foo.hh for every header file. This works a lot better and doesn't kill emacs' ability to parse compile outputs --HG-- extra : convert_revision : c1d51643bdc457ae2d96c5f50d3ef1c6a58a600d