Thanks Gabe. It worked.
Using the following inline assembly from my OS C code shuts down the
full system simulator.
(We have to emit the instruction opcode using inline assembly)
__asm__ volatile (".word 0x040F; .word 0x0021;" : : "D"(0) :);
On Thu, Mar 11, 2021 at 10:24 AM Gabe Black via
Hi Deepak. On a real system, you would probably use ACPI to tell the
chipset to power down the machine, but on gem5 you can probably just run
the "exit" pseudo instruction which will tell gem5 to exit back to the
python config file.
Gabe
On Wed, Mar 10, 2021 at 2:07 AM Deepak Mohan via