mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target-alpha: Implement HALT IPR.
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
bc24270e64
commit
034ebc2753
3 changed files with 16 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "host-utils.h"
|
||||
#include "softfloat.h"
|
||||
#include "helper.h"
|
||||
#include "sysemu.h"
|
||||
#include "qemu-timer.h"
|
||||
|
||||
#define FP_STATUS (env->fp_status)
|
||||
|
@ -1218,6 +1219,15 @@ void helper_tbis(uint64_t p)
|
|||
{
|
||||
tlb_flush_page(env, p);
|
||||
}
|
||||
|
||||
void helper_halt(uint64_t restart)
|
||||
{
|
||||
if (restart) {
|
||||
qemu_system_reset_request();
|
||||
} else {
|
||||
qemu_system_shutdown_request();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue