From: Blue Swirl Date: Sat, 22 Aug 2009 13:54:31 +0000 (+0000) Subject: ESP: Implement select without ATN, fix comments X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~10970^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e1e0a3bb9ae875f32c1f605e50c4766b93e6032;p=sdk%2Femulator%2Fqemu.git ESP: Implement select without ATN, fix comments Signed-off-by: Blue Swirl --- diff --git a/hw/esp.c b/hw/esp.c index 146a73a..6412744 100644 --- a/hw/esp.c +++ b/hw/esp.c @@ -116,6 +116,7 @@ struct ESPState { #define CMD_ICCS 0x11 #define CMD_MSGACC 0x12 #define CMD_SATN 0x1a +#define CMD_SEL 0x41 #define CMD_SELATN 0x42 #define CMD_SELATNS 0x43 #define CMD_ENSEL 0x44 @@ -533,12 +534,16 @@ static void esp_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_t val) case CMD_SATN: DPRINTF("Set ATN (%2.2x)\n", val); break; + case CMD_SEL: + DPRINTF("Select without ATN (%2.2x)\n", val); + handle_satn(s); + break; case CMD_SELATN: - DPRINTF("Set ATN (%2.2x)\n", val); + DPRINTF("Select with ATN (%2.2x)\n", val); handle_satn(s); break; case CMD_SELATNS: - DPRINTF("Set ATN & stop (%2.2x)\n", val); + DPRINTF("Select with ATN & stop (%2.2x)\n", val); handle_satn_stop(s); break; case CMD_ENSEL: