Page MenuHomeFreeBSD

Convert fdt_data_to_res() to use rman_res_t instead of u_long
AbandonedPublic

Authored by jhibbits on Apr 30 2016, 1:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 20 2024, 12:47 AM
Unknown Object (File)
Dec 22 2023, 11:53 PM
Unknown Object (File)
Oct 12 2023, 7:58 AM
Unknown Object (File)
Oct 5 2023, 7:55 AM
Unknown Object (File)
Sep 30 2023, 7:24 PM
Unknown Object (File)
Aug 14 2023, 2:51 AM
Unknown Object (File)
Dec 23 2022, 9:17 PM
Unknown Object (File)
Dec 23 2022, 3:56 PM
Subscribers
None

Details

Reviewers
andrew
imp
ian
Summary

This aligns it with the actual types of resource ranges.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3516
Build 3556: arc lint + arc unit

Event Timeline

jhibbits retitled this revision from to Convert fdt_data_to_res() to use rman_res_t instead of u_long.
jhibbits updated this object.
jhibbits edited the test plan for this revision. (Show Details)
jhibbits added reviewers: andrew, imp, ian.

My preference is to remove fdt_data_to_res as it uses the broken fdt_data_get. You should be able to replace it with (in the powerpc case) using OF_getencprop_alloc to read the reg property and a little bit of processing to put the values into start and count.

fdt_reg_to_rl should also go as it's only used by the BERI simplebus and this should move to the common simplebus.