7b7a92d3f4
X86: Prevent Linux for probing for non-existant IDE controllers.
Gabe Black
2009-01-25 20:36:24 -08:00
56e182a6a9
X86: Add a dummy minimal DMA controller that doesn't do anything.
Gabe Black
2009-01-25 20:35:00 -08:00
151bc018dd
X86: Add a device to back the non-existant floppy drive controller.
Gabe Black
2009-01-25 20:34:17 -08:00
dbe28da1be
X86: Add fake devices for non-existant serial ports.
Gabe Black
2009-01-25 20:33:52 -08:00
52defeb4e7
X86: Implement the xadd instruction.
Gabe Black
2009-01-25 20:33:27 -08:00
3c5988b86c
X86: Implement the bswap instruction.
Gabe Black
2009-01-25 20:32:43 -08:00
919c3e7fb6
Dev: Make the RTC device ignore writes to a read only bit.
Gabe Black
2009-01-25 20:32:26 -08:00
0449fb2b7a
X86: Fix a bug in the iret microcode.
Gabe Black
2009-01-25 20:31:17 -08:00
389fbfdab1
X86: Make the interrupt object wake up the CPU when something becomes pending.
Gabe Black
2009-01-25 20:30:51 -08:00
d9794784ba
CPU: Add a setCPU function to the interrupt objects.
Gabe Black
2009-01-25 20:29:03 -08:00
3f9e2350a1
Devices: Make the destructor virtual on the CopyEnginChannel object. This fixes a compile warning which becomes an error.
Gabe Black
2009-01-25 20:26:53 -08:00
64ed39f61b
pseudo inst: Add new wake cpu instruction for sending a message to wake a cpu. It's instantaneous and so it's somewhat bogus, but it's a first step.
Nathan Binkert
2009-01-24 07:27:22 -08:00
f0fb3ac060
cpu: provide a wakeup mechanism that can be used to pull CPUs out of sleep. Make interrupts use the new wakeup method, and pull all of the interrupt stuff into the cpu base class so that only the wakeup code needs to be updated. I tried to make wakeup, wakeCPU, and the various other mechanisms for waking and sleeping a little more sane, but I couldn't understand why the statistics were changing the way they were. Maybe we'll try again some day.
Nathan Binkert
2009-01-24 07:27:21 -08:00
56d5212ba7
Trace: Add DPRINTFS macro that takes parameter to call name() for trace printing.
Ali Saidi
2009-01-23 17:19:48 -05:00
37ffe52ca4
IGbE: Fix two e1000 driver bugs that I missed before.
Ali Saidi
2009-01-23 17:19:47 -05:00
10fc45da27
o3cpu: give a name to the activity recorder for better tracing
Nathan Binkert
2009-01-21 14:56:18 -08:00
dbac448b08
thread_context: move getSystemPtr so SE mode can get to it. There was really no reason that it should be FS only.
Nathan Binkert
2009-01-19 20:36:49 -08:00
81b8c0c79a
python: add fatal() function to the m5 package and use it
Nathan Binkert
2009-01-19 14:43:09 -08:00
da14789c32
python: Try to isolate the stuff that's in the m5.internal package a bit more.
Nathan Binkert
2009-01-19 09:59:15 -08:00
c9d3113015
tracing: Add help strings for some of the trace flags
Nathan Binkert
2009-01-19 09:59:14 -08:00
0876c822dd
tracing: panic() if people try to use tracing, but TRACING_ON is not set. Also clean things up so that help strings can more easily be added. Move the help function into trace.py
Nathan Binkert
2009-01-19 09:59:13 -08:00
f15f252d4e
python: Rework how things are imported
Nathan Binkert
2009-01-19 09:59:13 -08:00
51d780fa4d
scons: Don't add all objects to the library twice
Nathan Binkert
2009-01-19 09:03:41 -08:00
fb572a1d74
Stats: Update parser statistics for Linux special files update (parser runs should now be deterministic).
Ali Saidi
2009-01-17 18:57:39 -05:00
b4227bd7f6
Fix issue 326: glibc non-deterministic because it reads /proc
Ali Saidi
2009-01-17 18:56:46 -05:00
140b4b891e
CopyEngine: Implement a I/OAT-like copy engine.
Ali Saidi
2009-01-17 18:55:09 -05:00
8153790d00
SCons: centralize the Dir() workaround for newer versions of scons. Scons bug id: 2006 M5 Bug id: 308
Nathan Binkert
2009-01-13 14:17:50 -08:00
758d6ccf1f
Fix style hook for Mercurial >= 1.1
Ali Saidi
2009-01-13 00:14:04 -05:00
81180a3bf0
This fix addresses an ill formed if statement that fails to compile. The fix was the simple addition of another set of parenthesis to ensure the correct condition resolution.
Richard Strong
2009-01-11 22:45:03 -08:00
49dcab0ce6
X86: Set up support for adding m5 pseudo insts to a binary.
Gabe Black
2009-01-07 00:05:33 -08:00
b23633ad1b
X86: Hook in the M5 pseudo insts.
Gabe Black
2009-01-06 23:55:46 -08:00
115b1a7ed3
X86: Autogenerate macroop generateDisassemble function.
Gabe Black
2009-01-06 22:55:27 -08:00
8cab1805f9
X86: Move the function that prints memory args into the inst base class.
Gabe Black
2009-01-06 22:46:28 -08:00
9e24d8c599
X86: Move the macroop class out of the isa description into C++.
Gabe Black
2009-01-06 22:44:59 -08:00
7b7a72158a
X86: Change indentation on microop disassembly.
Gabe Black
2009-01-06 22:40:41 -08:00
b0ab5c894d
Tracing: Make tracing aware of macro and micro ops.
Gabe Black
2009-01-06 22:34:18 -08:00
2adc60795b
IGbE: Implement header splitting with large MTU
Ali Saidi
2009-01-06 10:36:57 -05:00
11ac0c7acf
INET: Add functions to header types to get offset in packet and start of payload; add function to split packet at last known header
Ali Saidi
2009-01-06 10:36:56 -05:00
9f89d43b65
IGbE: Remove is8257 variable
Ali Saidi
2009-01-06 10:36:55 -05:00
1704ba2273
Make Alpha pseudo-insts available from SE mode.
Steve Reinhardt
2008-12-17 09:51:18 -08:00
02cd18f536
SPARC: Truncate syscall args and return values appropriately.
Gabe Black
2008-12-16 23:06:37 -08:00
ab5eeb4b62
Update the stats for the fixes to the PCI device class.
Gabe Black
2008-12-15 00:47:15 -08:00
f0d1a20971
PCI: Add some missing breaks to a couple case statements.
Gabe Black
2008-12-15 00:47:01 -08:00
13f7fdcf67
The ide_ctrl serialize and unserialize were broken. Multiple channels were saving their state under the same name. This patch separates the saved state of the primary and secondary channel.
Author Name
2008-12-14 23:29:49 -08:00
dae531c049
IDE: Fix serialization for the IDE controller.
Richard Strong
2008-12-09 10:34:08 -08:00
d0c0c25ebc
eventq: Add some debugging code to the eventq.
Nathan Binkert
2008-12-08 07:17:48 -08:00
19273164da
output: Change default output directory and files and update tests.
Nathan Binkert
2008-12-08 07:16:40 -08:00
9192b7f1ef
Devices: Clean up the IDE controller.
Gabe Black
2008-12-07 12:59:48 -08:00
993b7be4bb
imported patch aux-fix.patch
Lisa Hsu
2008-12-07 15:07:42 -05:00
e4790bcbe2
X86: Add add_entry back in.
Gabe Black
2008-12-06 14:48:59 -08:00
489e3e7381
eventq: use the flags data structure
Nathan Binkert
2008-12-06 14:18:18 -08:00
cbbc4501c8
eventq: move virtual function definitiions to the .cc file.
Nathan Binkert
2008-12-06 14:18:18 -08:00
a0d322be40
traceflags: Make "All" a valid trace flag.
Nathan Binkert
2008-12-06 14:18:18 -08:00
e08c6be9fe
SimObject: change naming of vectors so there are the same numbers of digits. i.e. we used to have Foo0, Foo1, ..., Foo10, Foo11, ..., Foo100 now we have Foo000, Foo001, ..., Foo010, Foo011, ..., Foo100
Nathan Binkert
2008-12-06 14:18:18 -08:00
c55ae0cf5d
scons: only use -Wno-pointer-sign with gcc >= 4.3
Nathan Binkert
2008-12-06 14:18:18 -08:00
e141cb7441
flags: Change naming of functions to be clearer
Nathan Binkert
2008-12-06 14:18:18 -08:00
dd788a23c9
IGbE: Add support for newer 8257x based Intel NICs
Ali Saidi
2008-12-05 13:58:22 -05:00
400e516261
IGbE: Add support for TCP segment offload
Ali Saidi
2008-12-05 13:58:21 -05:00
aab595a306
INet: Allow updating on id, len, seq, and flag field for TCP segment offload
Ali Saidi
2008-12-05 13:58:21 -05:00
854aa60fdc
Automated merge with ssh://m5sim.org//repo/m5
Lisa Hsu
2008-12-05 12:11:46 -05:00
f1430941cf
This brings M5 closer to modernity - the kernel being advertised is newer so it won't die on binaries compiled with newer glibc's, and enables use of TLS-toolchain built binaries for ALPHA_SE by putting auxiliary vectors on the stack. There are some comments in the code to help. Finally, stats changes for ALPHA are from slight perturbations to the initial stack frame, all minimal diffs.
Lisa Hsu
2008-12-05 12:09:29 -05:00
e2c7618e50
This patch pulls out the auxiliary vector struct from individual ISA LiveProcesses to the base LiveProcess definition so anyone can use them.
Lisa Hsu
2008-12-04 18:03:35 -05:00
d6b229ea0f
Add the mkblankimage.sh utility to the utils directory.
Nathan Binkert
2008-12-03 04:57:55 -08:00
74f10be526
cprintf: support a configurable width and precision ("*" in printf)
Nathan Binkert
2008-12-03 04:57:54 -08:00
47e2b08893
util/m5: Add a new function called pin to bind a program to a set of cores. This is not m5 specific and this currently only works in linux.
Nathan Binkert
2008-12-03 04:57:54 -08:00
ab593c69b6
util/m5: reorganize code so it is easier to add operations
Nathan Binkert
2008-12-03 04:57:53 -08:00
041ca19edc
Assume files w/o obvious OS are Linux (with warning) instead of giving a fatal error.
Steve Reinhardt
2008-11-20 19:08:46 -08:00
ce4c9a7c10
Sort trace flags before printing them.
Steve Reinhardt
2008-11-17 12:41:50 -08:00
3701794d33
Minor tracediff bug fixes.
Steve Reinhardt
2008-11-17 11:22:16 -08:00
47789cc974
Update stats for brk fix (cset f28f020f3006).
Steve Reinhardt
2008-11-17 14:11:09 -05:00
3087be945d
Output: Include gzstream package to allow automatically-gzipped output The gzstream package provides an ostream-interface for writing gzipped files. The package comes from: http://www.cs.unc.edu/Research/compgeom/gzstream/ And is distributed under the LGPL license. Both the license and version information has been preservered, though all other files in the package have been purged. Minor modifications to the code have been made. The output module detects when a filename ends in .gz and constructs an ogzstream object instead of an ofstream object. This works for both the create(...) and find(...) commands. Additionally, since gzstream objects needs to be closed to ensure proper file termination, I have the output deconstructor deleting all ostream's that it manages on behalf of find(...). At the moment, the only output file that I know this functionality works for is stats, i.e. by specifying "--stats-file=m5stats.txt.gz" on the command line.
Clint Smullen
2008-11-15 23:42:11 -05:00
4514f565e3
syscalls: fix latent brk/obreak bug. Bogus calls to ChunkGenerator with negative size were triggering a new assertion that was added there. Also did a little renaming and cleanup in the process.
Steve Reinhardt
2008-11-15 09:30:10 -08:00
ba8936120e
Remove the pointless, repository destroying assertion and just have the script check every line in the file if it cannot get context information.
Clint Smullen
2008-11-15 00:21:31 -05:00
640b415688
Cache: get rid of obsolete Tag methods. I think readData() and writeData() were used for Erik's compression work, but that code is gone, these aren't called anymore, and they don't even really do what their names imply.
Steve Reinhardt
2008-11-14 14:14:35 -08:00
5711282f87
Fix a bunch of bugs I introduced when I changed the flags stuff for packets. I did some of the flags and assertions wrong. Thanks to Brad Beckmann for pointing this out. I should have run the opt regressions instead of the fast. I also screwed up some of the logical functions in the Flags class.
Nathan Binkert
2008-11-14 04:55:30 -08:00