184a71e9aSMichael Rolnik /* 284a71e9aSMichael Rolnik * QEMU AVR CPU helpers 384a71e9aSMichael Rolnik * 484a71e9aSMichael Rolnik * Copyright (c) 2016-2020 Michael Rolnik 584a71e9aSMichael Rolnik * 684a71e9aSMichael Rolnik * This library is free software; you can redistribute it and/or 784a71e9aSMichael Rolnik * modify it under the terms of the GNU Lesser General Public 884a71e9aSMichael Rolnik * License as published by the Free Software Foundation; either 984a71e9aSMichael Rolnik * version 2.1 of the License, or (at your option) any later version. 1084a71e9aSMichael Rolnik * 1184a71e9aSMichael Rolnik * This library is distributed in the hope that it will be useful, 1284a71e9aSMichael Rolnik * but WITHOUT ANY WARRANTY; without even the implied warranty of 1384a71e9aSMichael Rolnik * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1484a71e9aSMichael Rolnik * Lesser General Public License for more details. 1584a71e9aSMichael Rolnik * 1684a71e9aSMichael Rolnik * You should have received a copy of the GNU Lesser General Public 1784a71e9aSMichael Rolnik * License along with this library; if not, see 1884a71e9aSMichael Rolnik * <http://www.gnu.org/licenses/lgpl-2.1.html> 1984a71e9aSMichael Rolnik */ 2084a71e9aSMichael Rolnik 2184a71e9aSMichael Rolnik DEF_HELPER_1(wdr, void, env) 22*1810afd5SRichard Henderson DEF_HELPER_1(debug, noreturn, env) 23*1810afd5SRichard Henderson DEF_HELPER_1(break, noreturn, env) 24*1810afd5SRichard Henderson DEF_HELPER_1(sleep, noreturn, env) 25*1810afd5SRichard Henderson DEF_HELPER_1(unsupported, noreturn, env) 2684a71e9aSMichael Rolnik DEF_HELPER_3(outb, void, env, i32, i32) 2784a71e9aSMichael Rolnik DEF_HELPER_2(inb, tl, env, i32) 2884a71e9aSMichael Rolnik DEF_HELPER_3(fullwr, void, env, i32, i32) 2984a71e9aSMichael Rolnik DEF_HELPER_2(fullrd, tl, env, i32) 30