Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-17 | includes: sort includes again | Nathan Binkert | |
2009-05-17 | includes: use base/types.hh not inttypes.h or stdint.h | Nathan Binkert | |
2009-05-17 | types: Move stuff for global types into src/base/types.hh | Nathan Binkert | |
--HG-- rename : src/sim/host.hh => src/base/types.hh | |||
2009-05-04 | scons: re-work the *Source functions to take more information. | Nathan Binkert | |
Start by turning all of the *Source functions into classes so we can do more calculations and more easily collect the data we need. Add parameters to the new classes for indicating what sorts of flags the objects should be compiled with so we can allow certain files to be compiled without Werror for example. | |||
2009-04-24 | SPARC: Tighten up the clone system call and SPARCs copyRegs. | Gabe Black | |
2009-04-21 | pseudo: only include kernel stats if FULL_SYSTEM. | Nathan Binkert | |
2009-04-21 | syscall_emul: style fixes (mostly wrapping overly long lines) | Steve Reinhardt | |
2009-04-21 | syscall: Resolve conflicts between m5threads and Gabe's recent SE changes. | Steve Reinhardt | |
2009-04-21 | Commit m5threads package. | Daniel Sanchez | |
This patch adds limited multithreading support in syscall-emulation mode, by using the clone system call. The clone system call works for Alpha, SPARC and x86, and multithreaded applications run correctly in Alpha and SPARC. | |||
2009-04-15 | Get rid of the Unallocated thread context state. | Steve Reinhardt | |
Basically merge it in with Halted. Also had to get rid of a few other functions that called ThreadContext::deallocate(), including: - InOrderCPU's setThreadRescheduleCondition. - ThreadContext::exit(). This function was there to avoid terminating simulation when one thread out of a multi-thread workload exits, but we need to find a better (non-cpu-centric) way. | |||
2009-04-08 | tlb: More fixing of unified TLB | Nathan Binkert | |
2009-04-08 | tlb: Don't separate the TLB classes into an instruction TLB and a data TLB | Gabe Black | |
2009-03-05 | stats: Fix all stats usages to deal with template fixes | Nathan Binkert | |
2009-03-05 | serialize: Allow floats and doubles to be serialized | Nathan Binkert | |
2009-02-27 | Processes: Make getting and setting system call arguments part of a process ↵ | Gabe Black | |
object. | |||
2009-02-27 | X86: Add a class to support 32 bit x86 linux process. | Gabe Black | |
2009-02-26 | CPA: Add new object for gathering critical path annotations. | Ali Saidi | |
2009-02-25 | CPU: Implement translateTiming which defers to translateAtomic, and convert ↵ | Gabe Black | |
the timing simple CPU to use it. | |||
2009-02-25 | ISA: Replace the translate functions in the TLBs with translateAtomic. | Gabe Black | |
2009-02-23 | stats: cleanup static stats to make startup work. | Nathan Binkert | |
This is mainly to allow the unit test to run without requiring the standard M5 stats from being initialized (e.g. sim_seconds, sim_ticks, host_seconds) | |||
2009-02-23 | debug: Move debug_break into src/base | Nathan Binkert | |
2009-02-16 | sycalls: implement mremap() and add DATA flag for getrlimit(). mremap has ↵ | Lisa Hsu | |
been tested on Alpha, compiles for the rest but not tested. I don't see why it wouldn't work though. | |||
2009-02-15 | X86: Make the loader recognize 32 bit x86 processes. | Gabe Black | |
2009-01-30 | Errors: Use the correct panic/warn/fatal/info message in some places. | Ali Saidi | |
2009-01-29 | Fix typo | Nathan Binkert | |
2009-01-24 | pseudo inst: Add new wake cpu instruction for sending a message to wake a cpu. | Nathan Binkert | |
It's instantaneous and so it's somewhat bogus, but it's a first step. | |||
2009-01-19 | python: Rework how things are imported | Nathan Binkert | |
2009-01-17 | Fix issue 326: glibc non-deterministic because it reads /proc | Ali Saidi | |
2009-01-06 | Tracing: Make tracing aware of macro and micro ops. | Gabe Black | |
2008-12-17 | Make Alpha pseudo-insts available from SE mode. | Steve Reinhardt | |
2008-12-08 | eventq: Add some debugging code to the eventq. | Nathan Binkert | |
2008-12-07 | imported patch aux-fix.patch | Lisa Hsu | |
2008-12-06 | eventq: use the flags data structure | Nathan Binkert | |
2008-12-06 | eventq: move virtual function definitiions to the .cc file. | Nathan Binkert | |
2008-12-05 | This brings M5 closer to modernity - the kernel being advertised is newer so ↵ | Lisa Hsu | |
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. | |||
2008-12-04 | This patch pulls out the auxiliary vector struct from individual ISA | Lisa Hsu | |
LiveProcesses to the base LiveProcess definition so anyone can use them. | |||
2008-11-20 | Assume files w/o obvious OS are Linux (with warning) | Steve Reinhardt | |
instead of giving a fatal error. | |||
2008-11-15 | syscalls: fix latent brk/obreak bug. | Steve Reinhardt | |
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. | |||
2008-11-10 | pseudo inst: Add rpns (read processor nanoseconds) instruction. | Nathan Binkert | |
This instruction basically returns the number of nanoseconds that the CPU has been running. | |||
2008-11-10 | clean: Move some stuff from the hh file to the cc file. | Nathan Binkert | |
2008-11-10 | python: Fix the reference counting for python events placed on the eventq. | Nathan Binkert | |
We need to add a reference when an object is put on the C++ queue, and remove a reference when the object is removed from the queue. This was not happening before and caused a memory problem. | |||
2008-11-05 | Right now a single thread cpu 1 could get assigned context Id != 1, depending | Lisa Hsu | |
on the order in which it's registered with the system. To make them match, here is a little change. | |||
2008-11-02 | Add in Context IDs to the simulator. From now on, cpuId is almost never used, | Lisa Hsu | |
the primary identifier for a hardware context should be contextId(). The concept of threads within a CPU remains, in the form of threadId() because sometimes you need to know which context within a cpu to manipulate. | |||
2008-11-02 | Make it so that all thread contexts are registered with the System, even in | Lisa Hsu | |
SE. Process still keeps track of the tc's it owns, but registration occurs with the System, this eases the way for system-wide context Ids based on registration. | |||
2008-11-02 | make BaseCPU the provider of _cpuId, and cpuId() instead of being scattered | Lisa Hsu | |
across the subclasses. generally make it so that member data is _cpuId and accessor functions are cpuId(). The ID val comes from the python (default -1 if none provided), and if it is -1, the index of cpuList will be given. this has passed util/regress quick and se.py -n4 and fs.py -n4 as well as standard switch. | |||
2008-10-14 | eventq: revert code for unserializing events. | Nathan Binkert | |
Since I never implemented a proper solution, put it back to something that at least works for now. Once I add more event queues, I'll have to really fix this though | |||
2008-10-12 | CPU: Create a microcode ROM object in the CPU which is defined by the ISA. | Gabe Black | |
2008-10-10 | TLB: Make all tlbs derive from a common base class in both python and C++. | Gabe Black | |
2008-10-10 | Rename the info function to inform to avoid likely name conflicts | Nathan Binkert | |
2008-10-10 | output: Make panic/fatal/warn more flexible so we can add some new ones. | Nathan Binkert | |
The major thrust of this change is to limit the amount of code duplication surrounding the code for these functions. This code also adds two new message types called info and hack. Info is meant to be less harsh than warn so people don't get confused and start thinking that the simulator is broken. Hack is a way for people to add runtime messages indicating that the simulator just executed a code "hack" that should probably be fixed. The benefit of knowing about these code hacks is that it will let people know what sorts of inaccuracies or potential bugs might be entering their experiments. Finally, I've added some flags to turn on and off these message types so command line options can change them. |