summaryrefslogtreecommitdiff
path: root/src/arch/sparc
AgeCommit message (Collapse)Author
2008-11-15syscalls: 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-10mem: update stuff for changes to Packet and RequestNathan Binkert
2008-11-05Fix a few more places where the context stuff wasn't changedNathan Binkert
2008-11-02Add 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-02Make it so that all thread contexts are registered with the System, even inLisa 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-02make BaseCPU the provider of _cpuId, and cpuId() instead of being scatteredLisa 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-21style: Use the correct m5 style for things relating to interrupts.Nathan Binkert
2008-10-12Get rid of old RegContext code.Gabe Black
2008-10-12CPU: Create a microcode ROM object in the CPU which is defined by the ISA.Gabe Black
2008-10-12Turn Interrupts objects into SimObjects. Also, move local APIC state into ↵Gabe Black
x86's Interrupts object.
2008-10-12CPU: Eliminate the get_vec function.Gabe Black
2008-10-10TLB: Make all tlbs derive from a common base class in both python and C++.Gabe Black
2008-10-10misc: remove #include <cassert> from misc.hh since not everyone needs it.Nathan Binkert
2008-10-09SimObjects: Clean up handling of C++ namespaces.Nathan Binkert
Make them easier to express by only having the cxx_type parameter which has the full namespace name, and drop the cxx_namespace thing. Add support for multiple levels of namespace.
2008-10-09eventq: convert all usage of events to use the new API.Nathan Binkert
For now, there is still a single global event queue, but this is necessary for making the steps towards a parallelized m5.
2008-09-27gcc: Add extra parens to quell warnings.Nathan Binkert
Even though we're not incorrect about operator precedence, let's add some parens in some particularly confusing places to placate GCC 4.3 so that we don't have to turn the warning off. Agreed that this is a bit of a pain for those users who get the order of operations correct, but it is likely to prevent bugs in certain cases.
2008-09-27arch: TheISA shouldn't really ever be used in the arch directory.Nathan Binkert
We should always refer to the specific ISA in that arch directory. This is especially necessary if we're ever going to make it to the point where we actually have heterogeneous systems.
2008-09-26When nesting if statements, use braces to avoid ambiguous else clauses.Nathan Binkert
2008-09-26style: bring this file into M5 style, use the new pte translate function.Nathan Binkert
2008-09-23sparc: Fix style, create a helper function for translation.Nathan Binkert
The translate function simplifies code and removes some compiler warnings in gcc 3.4
2008-09-10style: Remove non-leading tabs everywhere they shouldn't be. Developers ↵Ali Saidi
should configure their editors to not insert tabs
2008-08-11styleNathan Binkert
2008-07-23syscalls: Add a bunch of missing system calls.Michael Adler
readlink, umask, truncate, ftruncate, mkdir, and getcwd.
2008-07-01Remove delVirtPort() and make getVirtPort() only return cached version.Ali Saidi
2008-07-01Change everything to use the cached virtPort rather than created their own ↵Ali Saidi
each time. This appears to work, but I don't want to commit it until it gets tested a lot more. I haven't deleted the functionality in this patch that will come later, but one question is how to enforce encourage objects that call getVirtPort() to not cache the virtual port since if the CPU changes out from under them it will be worse than useless. Perhaps a null function like delVirtPort() is still useful in that case.
2008-05-20SCons: Fixing SCons bug 2006 issues for non-alpha ISAsStephen Hines
--HG-- extra : convert_revision : 26e3edef06d6f82aaf162825c151d18faadd6e72
2008-02-26TLB: Make a TLB base class and put a virtual demapPage function in it.Gabe Black
--HG-- extra : convert_revision : cc0e62a5a337fd5bf332ad33bed61c0d505a936f
2008-01-01SPARC: Fix a bug where the TLB would match against the wrong entries.Gabe Black
--HG-- extra : convert_revision : 631b3b6a1416121b54bd9717ca1cdccdd5b8a1eb
2007-11-30SPARC: Fixes for invalidateAll and demapAll in the SPARC TLBs.Gabe Black
--HG-- extra : convert_revision : 8de6c60b0e3e725eac11047a9d9888097dd359ff
2007-11-29SPARC: Fix 32 bit register window flushing endian conversion.Gabe Black
--HG-- extra : convert_revision : be91d6fecb44a85e983343704a098b456948af8a
2007-11-29SPARC: Fix the initial stack to match what the Linux kernel does.Gabe Black
--HG-- extra : convert_revision : a4451710d8463e52227fd8f760ab737ea8f404b5
2007-11-29SPARC: Combine the 64 and 32 bit process initialization code.Gabe Black
Alignment is done as it was for 32 bit processes. --HG-- extra : convert_revision : 9368ad40dcc7911f8fc7ec1468c6a28aa92d196f
2007-11-19Serialization: Serialize SPARC PTEs last so their nameOut() calls don't ↵Ali Saidi
interfere with other serialization in the TLB. --HG-- extra : convert_revision : 8a8478a200cd3c65b2ac98944d1278454811d38f
2007-11-15Add CoreSpecific type to all archsKorey Sewell
--HG-- extra : convert_revision : 659786bf6489ab6151e47fbf1f4c0a723262fce2
2007-11-11SPARC: Force %g1 to be zero on process startup even though it normally ↵Gabe Black
already should be. --HG-- extra : convert_revision : 9feb63109e8c955b49c7e96acad1ad7c29a4349f
2007-11-08ISA parser: Make the isa parser generate MaxInstSrcRegs and MaxInstDestRegs.Gabe Black
--HG-- extra : convert_revision : 8c35891945c6b4ebc320f0c88a7a0449f3c4b4d5
2007-11-07SPARC: Make 64 bit SPARC process initialization check checkpointRestored too.Gabe Black
--HG-- extra : convert_revision : 8d48f705983f31db5947c6c4ae9f0df57f413d68
2007-10-31String constant const-ness changes to placate g++ 4.2.Steve Reinhardt
Also some bug fixes in MIPS ISA uncovered by g++ warnings (Python string compares don't work in C++!). --HG-- extra : convert_revision : b347cc0108f23890e9b73b3ee96059f0cea96cf6
2007-10-31Traceflags: Add SCons function to created a traceflag instead of having one ↵Ali Saidi
file with them all. --HG-- extra : convert_revision : 427f6bd8f050861ace3bc0d354a1afa5fc8319e6
2007-10-25TLB: Fix serialization issues with the tlb entries and make the page table ↵Gabe Black
store the process, not the system. --HG-- extra : convert_revision : 2421af11f62f60fb48faeee6bddadac2987df0e8
2007-10-25SE: Fix page table and system serialization, don't reinit process if this is ↵Ali Saidi
a checkpoint restore. --HG-- extra : convert_revision : 03dcf3c088e57b7abab60efe700d947117888306
2007-10-16Make the process objects use the Params structs in their constructors, and ↵Gabe Black
use a limit to check if access are on the stack. --HG-- extra : convert_revision : af40a7acf424c4c4f62d0d76db1001a714ae0474
2007-10-04SPARC: Make software trap 3 flush the register windows like the ABI specifies.Gabe Black
--HG-- extra : convert_revision : 8ff43617b56dcca5783d6cc490f87140fc20a36d
2007-10-02Merge with head.Gabe Black
--HG-- extra : convert_revision : 1aa0e4569a7c10e6a395c2c951ac29275b5bcf59
2007-10-02Predecoder: Clear out predecoder state on an ITLB fault.Gabe Black
--HG-- extra : convert_revision : 68f8ff778dbd28ade5070edf5a7d662e7bf0045a
2007-10-02SPARC,Remote GDB: Flesh out the acc function for SE mode.Gabe Black
--HG-- extra : convert_revision : eada066ab64701b5c53e7351dfffbdc0e0d4f344
2007-10-02SPARC,Remote GDB: Fix an accounting bug in the remote gdb stuff.Gabe Black
--HG-- extra : convert_revision : f6f0986211c442ac94da315e344a8f54d4d58c8a
2007-09-28Rename cycles() function to ticks()Ali Saidi
--HG-- extra : convert_revision : 790eddb793d4f5ba35813d001037bd8601bd76a5
2007-09-25SPARC: Remove parameter that was only ever set to one value.Gabe Black
--HG-- extra : convert_revision : 3c22e576d95bdc7566bbce9b92cf2a6ff153a66f
2007-09-25SPARC: Remove some redundant code from some of the fp instructions.Gabe Black
--HG-- extra : convert_revision : 68b0341ae7a367b84c44081f9a3d6d0bc6631649