Skip to content

Commit dc58678

Browse files
author
Stanislav Shwartsman
committed
update instruction handler name to match its sources
1 parent e209647 commit dc58678

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

bochs/cpu/cpu.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// $Id$
33
/////////////////////////////////////////////////////////////////////////
44
//
5-
// Copyright (C) 2001-2025 The Bochs Project
5+
// Copyright (C) 2001-2026 The Bochs Project
66
//
77
// This library is free software; you can redistribute it and/or
88
// modify it under the terms of the GNU Lesser General Public
@@ -4443,7 +4443,7 @@ class BX_CPU_C : public logfunctions {
44434443
BX_SMF void CLUI(bxInstruction_c *) BX_CPP_AttrRegparmN(1);
44444444
BX_SMF void TESTUI(bxInstruction_c *) BX_CPP_AttrRegparmN(1);
44454445
BX_SMF void UIRET(bxInstruction_c *) BX_CPP_AttrRegparmN(1);
4446-
BX_SMF void SENDUIPI_Gq(bxInstruction_c *) BX_CPP_AttrRegparmN(1);
4446+
BX_SMF void SENDUIPI_Eq(bxInstruction_c *) BX_CPP_AttrRegparmN(1);
44474447
#endif
44484448

44494449
BX_SMF void RDPID_Ed(bxInstruction_c *) BX_CPP_AttrRegparmN(1);

bochs/cpu/decoder/fetchdecode_opmap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// $Id$
33
/////////////////////////////////////////////////////////////////////////
44
//
5-
// Copyright (c) 2017-2025 Stanislav Shwartsman
5+
// Copyright (c) 2017-2026 Stanislav Shwartsman
66
// Written by Stanislav Shwartsman [sshwarts at sourceforge net]
77
//
88
// This library is free software; you can redistribute it and/or
@@ -2862,7 +2862,7 @@ static const Bit64u BxOpcodeTable0FC7[] = {
28622862
form_opcode(ATTR_OS64 | ATTR_MODC0 | ATTR_NNN7 | ATTR_NO_SSE_PREFIX_F2_F3, BX_IA_RDSEED_Eq),
28632863
#endif
28642864
#if BX_SUPPORT_X86_64 && BX_SUPPORT_UINTR
2865-
form_opcode(ATTR_IS64 | ATTR_MODC0 | ATTR_NNN6 | ATTR_SSE_PREFIX_F3, BX_IA_SENDUIPI_Gq),
2865+
form_opcode(ATTR_IS64 | ATTR_MODC0 | ATTR_NNN6 | ATTR_SSE_PREFIX_F3, BX_IA_SENDUIPI_Eq),
28662866
#endif
28672867
form_opcode(ATTR_NNN7 | ATTR_MODC0 | ATTR_SSE_PREFIX_F3, BX_IA_RDPID_Ed),
28682868
form_opcode_lockable(ATTR_OS16_32 | ATTR_NNN1 | ATTR_MOD_MEM, BX_IA_CMPXCHG8B),

bochs/cpu/decoder/ia_opcodes.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// $Id$
33
/////////////////////////////////////////////////////////////////////////
44
//
5-
// Copyright (c) 2008-2024 Stanislav Shwartsman
5+
// Copyright (c) 2008-2026 Stanislav Shwartsman
66
// Written by Stanislav Shwartsman [sshwarts at sourceforge net]
77
//
88
// This library is free software; you can redistribute it and/or
@@ -1797,7 +1797,7 @@ bx_define_opcode(BX_IA_CLUI, "clui", "clui", NULL, &BX_CPU_C::CLUI, BX_ISA_UINTR
17971797
bx_define_opcode(BX_IA_STUI, "stui", "stui", NULL, &BX_CPU_C::STUI, BX_ISA_UINTR, OP_NONE, OP_NONE, OP_NONE, OP_NONE, BX_TRACE_END)
17981798
bx_define_opcode(BX_IA_TESTUI, "testui", "testui", NULL, &BX_CPU_C::TESTUI, BX_ISA_UINTR, OP_NONE, OP_NONE, OP_NONE, OP_NONE, 0)
17991799
bx_define_opcode(BX_IA_UIRET, "uiret", "uiret", NULL, &BX_CPU_C::UIRET, BX_ISA_UINTR, OP_NONE, OP_NONE, OP_NONE, OP_NONE, BX_TRACE_END)
1800-
bx_define_opcode(BX_IA_SENDUIPI_Gq, "senduipi", "senduipi", NULL, &BX_CPU_C::SENDUIPI_Gq, BX_ISA_UINTR, OP_Eq, OP_NONE, OP_NONE, OP_NONE, BX_TRACE_END)
1800+
bx_define_opcode(BX_IA_SENDUIPI_Eq, "senduipi", "senduipi", NULL, &BX_CPU_C::SENDUIPI_Eq, BX_ISA_UINTR, OP_Eq, OP_NONE, OP_NONE, OP_NONE, BX_TRACE_END)
18011801
#endif
18021802

18031803
bx_define_opcode(BX_IA_RDPID_Ed, "rdpid", "rdpid", NULL, &BX_CPU_C::RDPID_Ed, BX_ISA_RDPID, OP_Ed, OP_NONE, OP_NONE, OP_NONE, 0)

bochs/cpu/uintr.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// $Id$
33
/////////////////////////////////////////////////////////////////////////
44
//
5-
// Copyright (c) 2023 Stanislav Shwartsman
5+
// Copyright (c) 2023-2026 Stanislav Shwartsman
66
// Written by Stanislav Shwartsman [sshwarts at sourceforge net]
77
//
88
// This library is free software; you can redistribute it and/or
@@ -165,7 +165,7 @@ void BX_CPP_AttrRegparmN(1) BX_CPU_C::TESTUI(bxInstruction_c *i)
165165
BX_NEXT_INSTR(i);
166166
}
167167

168-
void BX_CPP_AttrRegparmN(1) BX_CPU_C::SENDUIPI_Gq(bxInstruction_c *i)
168+
void BX_CPP_AttrRegparmN(1) BX_CPU_C::SENDUIPI_Eq(bxInstruction_c *i)
169169
{
170170
if (! BX_CPU_THIS_PTR cr4.get_UINTR()) {
171171
BX_ERROR(("%s: UINTR in not enabled in CR4", i->getIaOpcodeNameShort()));

0 commit comments

Comments
 (0)