Hey,
The op-code for the m5_checkpoint is 0x43.
(./src/arch/x86/isa/decoder/two_byte_opcodes.isa:180: )
Is it wrong to use this opcode directly for writing a checkpoint??
test.c
=======================
int main()
{
__asm__ __volatile__(".byte 0x43\n");
}
=======================
This is my rcS script for X86_FS ..
===================
#!/bin/sh
/sbin/swapon /dev/hdb
cd /test
/sbin/m5 dumpresetstats
echo "Starting test"
./test.out ==> the executable
echo "Done :D"
/sbin/m5 exit
/sbin/m5 exit
===================
I am getting a seg fault after the system boots up, any idea ??
Thanks
Shoaib
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users