hw/sd/sdcard: Introduce the INVALID_ADDRESS definition
commit872b8fde6c642e1da234bcfb7bb3fb9a8d746ff3
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 18 Sep 2020 17:05:20 +0000 (18 19:05 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 21 Oct 2020 11:19:02 +0000 (21 13:19 +0200)
tree295e0330b38878a4066777a7865f03e11c8efd70
parentaafe6c583696fa40677bcd2285da5e7a5210b3eb
hw/sd/sdcard: Introduce the INVALID_ADDRESS definition

'0' is used as a value to indicate an invalid (or unset)
address. Use a definition instead of a magic value.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20201015063824.212980-3-f4bug@amsat.org>
hw/sd/sd.c