Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-30 | Syscalls: Make system calls access arguments like a stack, not an array. | Gabe Black | |
When accessing arguments for a syscall, the position of an argument depends on the policies of the ISA, how much space preceding arguments took up, and the "alignment" of the index for this particular argument into the number of possible storate locations. This change adjusts getSyscallArg to take its index parameter by reference instead of value and to adjust it to point to the possible location of the next argument on the stack, basically just after the current one. This way, the rules for the new argument can be applied locally without knowing about other arguments since those have already been taken into account implicitly. All system calls have also been changed to reflect the new interface. In a number of cases this made the implementation clearer since it encourages arguments to be collected in one place in order and then used as necessary later, as opposed to scattering them throughout the function or using them in place in long expressions. It also discourages using getSyscallArg over and over to retrieve the same value when a temporary would do the job. | |||
2009-10-24 | syscall: Addition of an ioctl command code for Power. | Timothy M. Jones | |
2009-10-17 | ISA: Fix compilation. | Gabe Black | |
2009-09-23 | arch: nuke arch/isa_specific.hh and move stuff to generated config/the_isa.hh | Nathan Binkert | |
2009-09-15 | Syscalls: Implement sysinfo() syscall. | Vince Weaver | |
2009-08-01 | Clean up some inconsistencies with Request flags. | Steve Reinhardt | |
2009-07-29 | ARM: Mul and mla ignore the c and v flags, but we were setting them to 1. | Gabe Black | |
2009-07-29 | ARM: Fix an instruction in the cmpxchg kernel provided routine. | Gabe Black | |
The instruction was encoded as a load instead of the intended store. | |||
2009-07-29 | ARM: Get rid of a stray line in the set_tls handler. | Gabe Black | |
2009-07-29 | ARM: Make the ARM native tracer stop M5 if control diverges. | Gabe Black | |
If the control flow of M5's executable and statetrace's target process get out of sync even a little, there will be a LOT of output, very little of which will be useful. There's also almost no hope for recovery. In those cases, we might as well give up and not generate a huge, mostly worthless trace file. | |||
2009-07-29 | ARM: Make sure the target process doesn't run away from statetrace. | Gabe Black | |
2009-07-29 | ARM: Ignore the "times" system call. | Ali Saidi | |
2009-07-29 | ARM: Fix an ioctl constant. | Ali Saidi | |
2009-07-27 | ARM: Update some syscall constants and delete others that are Alpha only. | Ali Saidi | |
2009-07-27 | ARM: Decode fstmx and fldmx instructions. We can ignore them for now. | Gabe Black | |
2009-07-27 | ARM: Only send information that changed between statetrace and M5. | Gabe Black | |
2009-07-27 | imported patch nativetracestreamline.patch | Gabe Black | |
2009-07-27 | ARM: Make native trace print out what instruction caused an error. | Gabe Black | |
2009-07-27 | ARM: Implement a basic version of the fmxr instruction. | Gabe Black | |
2009-07-27 | ARM: Implement a basic version of the fmrx instruction. | Gabe Black | |
2009-07-27 | ARM: Add in spots for the VFP control registers. | Gabe Black | |
2009-07-27 | ARM: Fix the CLZ instruction. | Gabe Black | |
2009-07-27 | ARM: Initialize the CPSR so that we're in user mode. | Gabe Black | |
2009-07-27 | ARM: Set up the initial stack frame to match a recent Linux. | Gabe Black | |
2009-07-27 | ARM: Make native trace only print when registers are changing value. | Gabe Black | |
When registers have incorrect values but aren't actively changing, it's likely they're not being modified at all. The fact that they're still wrong isn't very important. | |||
2009-07-27 | ARM: Add a native tracer. | Gabe Black | |
--HG-- rename : src/arch/sparc/SparcNativeTrace.py => src/arch/arm/ArmNativeTrace.py rename : src/arch/sparc/nativetrace.cc => src/arch/arm/nativetrace.cc rename : src/arch/sparc/nativetrace.hh => src/arch/arm/nativetrace.hh | |||
2009-07-27 | ARM: Fix fstat/fstat64 structs to match EABI definitions. | Ali Saidi | |
2009-07-27 | ARM: Handle register indexed system calls. | Ali Saidi | |
2009-07-14 | ARM: Fix the "open" flag constants. | Jack Whitham | |
2009-07-09 | ARM: Fold the MiscRegFile all the way into the ISA object. | Gabe Black | |
2009-07-08 | Registers: Add a registers.hh file as an ISA switched header. | Gabe Black | |
This file is for register indices, Num* constants, and register types. copyRegs and copyMiscRegs were moved to utility.hh and utility.cc. --HG-- rename : src/arch/alpha/regfile.hh => src/arch/alpha/registers.hh rename : src/arch/arm/regfile.hh => src/arch/arm/registers.hh rename : src/arch/mips/regfile.hh => src/arch/mips/registers.hh rename : src/arch/sparc/regfile.hh => src/arch/sparc/registers.hh rename : src/arch/x86/regfile.hh => src/arch/x86/registers.hh | |||
2009-07-08 | Registers: Collapse ARM and MIPS regfile directories. | Gabe Black | |
--HG-- rename : src/arch/arm/regfile/misc_regfile.hh => src/arch/arm/misc_regfile.hh rename : src/arch/arm/regfile/regfile.cc => src/arch/arm/regfile.cc rename : src/arch/mips/regfile/misc_regfile.cc => src/arch/mips/misc_regfile.cc rename : src/arch/mips/regfile/misc_regfile.hh => src/arch/mips/misc_regfile.hh | |||
2009-07-08 | Registers: Eliminate the ISA defined RegFile class. | Gabe Black | |
2009-07-08 | Registers: Move the PCs out of the ISAs and into the CPUs. | Gabe Black | |
2009-07-08 | ARM, Simple CPU: Fix an index and add assert checks. | Gabe Black | |
2009-07-08 | ARM: Flush out the ARM's int_regfile.hh. | Gabe Black | |
2009-07-08 | Registers: Eliminate the ISA defined integer register file. | Gabe Black | |
2009-07-08 | Registers: Eliminate the ISA defined floating point register file. | Gabe Black | |
2009-07-08 | Registers: Get rid of the float register width parameter. | Gabe Black | |
2009-07-08 | Registers: Add an ISA object which replaces the MiscRegFile. | Gabe Black | |
This object encapsulates (or will eventually) the identity and characteristics of the ISA in the CPU. | |||
2009-07-08 | ARM: Use custom read/write code to alias R15 with the PC. | Gabe Black | |
2009-07-08 | ARM: Move the remaining microops out of the decoder and into the ISA desc. | Gabe Black | |
2009-07-08 | ARM: Move the memory microops out of the decoder and into the ISA desc. | Gabe Black | |
2009-07-08 | ARM: Move the integer microops out of the decoder and into the ISA desc. | Gabe Black | |
2009-07-08 | ARM: Improve memory instruction disassembly. | Gabe Black | |
2009-07-08 | ARM: Tune up predicated instruction decoding. | Gabe Black | |
2009-07-08 | ARM: Get rid of the MemAcc and EAComp static insts. | Gabe Black | |
2009-07-08 | ARM: Get rid of end_addr in the ArmMacroStore constructor. | Gabe Black | |
2009-07-08 | ARM: Add an AddrMode2 format for memory instructions that use address mode 2. | Gabe Black | |
2009-07-08 | ARM: Don't always update CPSR. | Gabe Black | |