mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
keep stack clean
git-svn-id: svn://coreboot.org/openbios/openbios-devel@37 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -263,6 +263,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.
|
||||||
*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