Age | Commit message (Collapse) | Author |
|
|
|
In Linux, the set_thread_area system call stores the address of the thread
local storage area into a field of the current thread_info structure. Later,
to access that value, the program uses the rdhwr instruction to read a
"hardware register" with index 29. The 64 bit MIPS manual, volume II, says
that index 29 is reserved for a future ABI extension and should cause a
"Reserved Instruction Exception". In Linux (and potentially other ISAs) that
exception is trapped and emulated to return the value stored by
set_thread_area as if that were actually stored by a physical register.
The tp_value address (as named in the Linux kernel) is ironically stored as a
control register so that it goes with a particular ThreadContext. Syscall
emulation will use that to emulate storing to the OS's thread info structure,
and rdhwr will emulate faulting and returning that value from software by
returning the value itself, as if it was in hardware. In other words, we fake
faking the register in SE mode. In an FS mode implementation it should
work as specified in the manual.
|
|
The MIPS ISA object expects to be constructed with a CPU pointer it uses to
look at other thread contexts and allow them to be manipulated with control
registers. Unfortunately, that differs from all the other ISA classes and
would complicate their implementation.
This change makes the event constructor use a CPU pointer pulled out of the
thread context passed to setMiscReg instead.
|
|
These are all after the existing ones, suggesting they were added after the
original list was created.
|
|
|
|
through the IO APIC.
|
|
|
|
|
|
|
|
|
|
The Chip object no longer exists and thus is removed from the MessageBuffer
constructor.
|
|
Added error message when a symbol is not an instance of a particular expected
type.
|
|
* * *
ruby: Removed primitive .hh includes
|
|
These files are need by the MOESI_CMP_token protocol.
|
|
|
|
|
|
|
|
|
|
|
|
Added feature to CacheMemory to return the number of last level caches.
This count is need for broadcast protocols such as MOESI_hammer.
|
|
Changed cache size to be in bytes instead of kb so that testers can use very
small caches and increase the chance of writeback races.
|
|
|
|
|
|
Added default names to message buffers created by the simple network.
|
|
Added error message when a method call is not supported by an object.
|
|
Small fix to the State Machine error message when duplicate actions are defined.
|
|
Added error messages when:
- a state does not exist in a machine's list of known states.
- an event does not exist in a machine
- the actions of a certain machine have not been declared
|
|
|
|
|
|
|
|
The unresolved destructor call caused a seg fault when called.
|
|
|
|
Fixed RubyMemory::getPort function to not pass in a -1 for the idx parameter
|
|
|
|
|
|
Slightly improved the major hack need to correctly assign the number of ports
per core. CPUs have two ports: icache + dcache. MemTester has one port.
|
|
|
|
Connects M5 cpu and dma ports directly to ruby sequencers and dma
sequencers. Rubymem also includes a pio port so that pio requests
and be forwarded to a special pio bus connecting to device pio
ports.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--HG--
rename : src/arch/sparc/interrupts.hh => src/arch/arm/interrupts.hh
rename : src/arch/sparc/kernel_stats.hh => src/arch/arm/kernel_stats.hh
rename : src/arch/sparc/stacktrace.cc => src/arch/arm/stacktrace.cc
rename : src/arch/sparc/system.cc => src/arch/arm/system.cc
rename : src/arch/sparc/system.hh => src/arch/arm/system.hh
rename : src/dev/sparc/T1000.py => src/dev/arm/Versatile.py
rename : src/dev/sparc/t1000.cc => src/dev/arm/versatile.cc
rename : src/dev/sparc/t1000.hh => src/dev/arm/versatile.hh
|
|
|
|
|
|
|
|
The last commit was somehow empty. This was what was supposed to go in it.
|
|
|