1 /* Declarations for the SX164 system emulation.
3 Copyright (C) 2011 Richard Henderson
5 This file is part of QEMU PALcode.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the text
15 of the GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; see the file COPYING. If not see
19 <http://www.gnu.org/licenses/>. */
28 .macro SYS_ACK_CLK t0
, t1
, t2
29 LOAD_KSEG_PCI_IO
\t0 // Set RTCADD (0x70) to index reg 0xC
32 ldbu
\t1, 0x71(\t0) // Read RTCDAT to clear interrupt
35 .macro SYS_DEV_VECTOR ret
39 #endif /* ASSEMBLER */
41 #define SYS_TYPE ST_DEC_EB164
42 #define SYS_VARIATION (15 << 10)
43 #define SYS_REVISION 0
45 #endif /* SYS_SX164_H */