sparc64: #blocks64 disk node method
authorEric Snowberg <eric.snowberg@oracle.com>
Tue, 27 Feb 2018 01:34:20 +0000 (17:34 -0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 5 Mar 2018 14:26:36 +0000 (15:26 +0100)
commit599efeb6220d01e0b9788ba796849f945ec0d4c1
tree7f127c4cb14c699f03e68e5c810903c53913e911
parentab4c93cb4bb443620e141cc70f274b89a51a1d05
sparc64: #blocks64 disk node method

Return the 64bit number of blocks of storage associated with the device or
instance. Where a "block" is a unit of storage consisting of the number of
bytes returned by the package's "block-size" method. If the size cannot be
determined, or if the number of blocks exceeds the range return -1.

Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/sparc64/ieee1275/ieee1275.c
include/grub/sparc64/ieee1275/ieee1275.h