提交 b6f54b31 编写于 作者: J Julio Guerra 提交者: Andreas Färber

prep: Make System I/O port 0092 read/write

Port 0x0092 is documented as read/write, so for now return the
endianness state instead of hardcoded 0x00.
Signed-off-by: NJulio Guerra <guerr@julio.in>
[AF: Extracted from larger port 0092 patch]
Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
上级 97c42c3c
......@@ -269,7 +269,7 @@ static uint32_t PREP_io_800_readb (void *opaque, uint32_t addr)
switch (addr) {
case 0x0092:
/* Special port 92 */
retval = 0x00;
retval = sysctrl->endian << 1;
break;
case 0x0800:
/* Motorola CPU configuration register */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册