[OpenBIOS] [PATCH 1/5] ppc: add fw_cfg interface for passing VIA/ADB configuration from QEMU

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Wed Jun 13 10:50:56 CEST 2018


On 12/06/18 23:22, Programmingkid wrote:

>> On Jun 12, 2018, at 12:02 PM, Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk> wrote:
>>
>> This is in preparation for allowing OpenBIOS to detect the difference
>> between CUDA/PMU hardware and build the device tree accordingly.
>>
>> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
>> ---
> 
> <snip>
> 
>> +static inline int has_pmu(void)
>> +{
>> +	return 0;
>> +}
>> +static inline int has_adb(void)
>> +{
>> +	return 0;
>> +}
> 
> These functions don't appear to be very helpful. Are they going to be changed in the near future?

Those are the stub functions for non-Apple platforms - you can find the 
implementation for Apple platforms towards the top of the patch.


ATB,

Mark.



More information about the OpenBIOS mailing list