rombios/ata Remove another needless trap from the int 0x13 hotpath
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 6 Aug 2013 13:48:39 +0000 (14:48 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 8 Aug 2013 11:03:17 +0000 (12:03 +0100)
commit01d8e90c60599fedf29ebbb8a478ac18f64f4e74
treebce5fb9390d8c09f46481a3e51b0629e5f8806ac
parentdb46adf193be09e33fb1778f840cda5de91c777e
rombios/ata Remove another needless trap from the int 0x13 hotpath

The return value from await_ide() is always ignored, and most calls to
await_ide() immediately reread the status register.

Therefore, making await_ide() return the last value of the status register
removes a further two traps on the int 0x13 path.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
tools/firmware/rombios/rombios.c