mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix the SCSI block driver so that it doesn't leave an extra item on the stack when its open method is called.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@825 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
4d0add8337
commit
d35fbe15aa
@@ -268,7 +268,7 @@ ob_sd_open(__attribute__((unused))sd_private_t **sd)
|
|||||||
|
|
||||||
fword("my-unit");
|
fword("my-unit");
|
||||||
id = POP();
|
id = POP();
|
||||||
//POP(); // unit id is 2 ints but we only need one.
|
POP(); // unit id is 2 ints but we only need one.
|
||||||
*sd = &global_esp->sd[id];
|
*sd = &global_esp->sd[id];
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_ESP
|
#ifdef CONFIG_DEBUG_ESP
|
||||||
|
|||||||
Reference in New Issue
Block a user