[haiku-development] Re: PPC gCallOpenFirmware?

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 1 Sep 2009 11:10:11 -0500

On Tue, Sep 1, 2009 at 11:00 AM, Alexander von
Gluck<kallisti5@xxxxxxxxxxx> wrote:
> I was working on trac 4385 which is where the PPC bootloader is locking up
> and have a small question... of_open calls gCallOpenFirmware... which we
> define at the top of system/kernel/platform/openfirmware/openfirmware.c but
> there is no beef behind it.

src/system/kernel/arch/ppc/arch_platform.cpp initializes that via

status_t
PPCOpenFirmware::Init(struct kernel_args *kernelArgs)
{
        return of_init(
                (int(*)(void*))kernelArgs->platform_args.openfirmware_entry);
}

HTH,

Rene

Other related posts: