a4b1f4e611
Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> [claudio]: Rebased on da3f3b02("target/i386: fail if toggling LA57 in 64-bitmode") Signed-off-by: Claudio Fontana <cfontana@suse.de> Message-Id: <20210322132800.7470-15-cfontana@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
76 lines
1.7 KiB
C
76 lines
1.7 KiB
C
/*
|
|
* x86 misc helpers
|
|
*
|
|
* Copyright (c) 2003 Fabrice Bellard
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "cpu.h"
|
|
#include "exec/helper-proto.h"
|
|
|
|
void helper_outb(CPUX86State *env, uint32_t port, uint32_t data)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
target_ulong helper_inb(CPUX86State *env, uint32_t port)
|
|
{
|
|
g_assert_not_reached();
|
|
return 0;
|
|
}
|
|
|
|
void helper_outw(CPUX86State *env, uint32_t port, uint32_t data)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
target_ulong helper_inw(CPUX86State *env, uint32_t port)
|
|
{
|
|
g_assert_not_reached();
|
|
return 0;
|
|
}
|
|
|
|
void helper_outl(CPUX86State *env, uint32_t port, uint32_t data)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
target_ulong helper_inl(CPUX86State *env, uint32_t port)
|
|
{
|
|
g_assert_not_reached();
|
|
return 0;
|
|
}
|
|
|
|
target_ulong helper_read_crN(CPUX86State *env, int reg)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
void helper_write_crN(CPUX86State *env, int reg, target_ulong t0)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
void helper_wrmsr(CPUX86State *env)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
void helper_rdmsr(CPUX86State *env)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|