mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 21:44:29 +00:00
b6e2710f5d
When a timer interrupt occurs it should be routed to the machine interrupt pending MTIP even if MIDELEG[5] = 1 when the current privilege mode is Machine. This is true for all the interrupts. The interrupt should not be masked even though it is delegated to a lower privilege. Since the CPU is currently in machine mode the interrupt must be taken if MIE. Additionally added a new qemu script which pipes together all the parsing and post processing scripts to produce the singular all.txt trace without the massivie intermediate files.
21 lines
169 B
Awk
Executable File
21 lines
169 B
Awk
Executable File
#!/usr/bin/awk -f
|
|
|
|
BEGIN{
|
|
old = "first"
|
|
}
|
|
|
|
{
|
|
if($1 != old){
|
|
if(old != "first"){
|
|
print oldAll
|
|
}
|
|
}
|
|
old=$1
|
|
oldAll=$0
|
|
}
|
|
|
|
END{
|
|
print oldAll
|
|
}
|
|
|