mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 01:29:27 +00:00
ieee1275: encode-unit command for 4 addr cell devs
Convert physical address to text unit-string. Convert phys.lo ... phys-high, the numerical representation, to unit-string, the text string representation of a physical address within the address space defined by this device node. The number of cells in the list phys.lo ... phys.hi is determined by the value of the #address-cells property of this node. This function is for devices with #address-cells == 4 Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
6003eb2fea
commit
820c64e4c0
2 files changed
+51
No files matched your search
@@ -216,6 +216,12 @@ int EXPORT_FUNC(grub_ieee1275_decode_unit4) (grub_ieee1275_ihandle_t ihandle,
|
||||
grub_uint32_t *phy_hi,
|
||||
grub_uint32_t *lun_lo,
|
||||
grub_uint32_t *lun_hi);
|
||||
char *EXPORT_FUNC(grub_ieee1275_encode_uint4) (grub_ieee1275_ihandle_t ihandle,
|
||||
grub_uint32_t phy_lo,
|
||||
grub_uint32_t phy_hi,
|
||||
grub_uint32_t lun_lo,
|
||||
grub_uint32_t lun_hi,
|
||||
grub_size_t *size);
|
||||
|
||||
grub_err_t EXPORT_FUNC(grub_claimmap) (grub_addr_t addr, grub_size_t size);
|
||||
|
||||
|
||||
Reference in new issue
Block a user