Re: passing arguments from bootloader to kernel
- From: "Dean Ramsier" <ramsiernospam@xxxxxxxxxx>
- Date: Tue, 22 Nov 2005 09:41:54 -0500
Correct. There is no official way to pass parameters between bootloader and
OS. How you do it (meaning what global memory you choose to use) is up to
you. Some of the BSPs that come with PB have done it in one particular way,
doesn't mean you have to do it that way.
It's also not necessarily true that you need to pass data at all. That is
also up to you (whatever you do in the loader you could also do in the
kernel).
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Ulrich Eckhardt" <eckhardt@xxxxxxxxxxxxxx> wrote in message
news:c4jb53-tp2.ln1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Ulrich Eckhardt wrote:
>> I have traced EBOOT to the point where it jumps into the image and there
>> is no place where it writes any arguments to the RAM. I know there is a
>> struct BOOT_ARGS at address 0xA00FFC00 (used by the bootloader and
>> identifiable by its signature) which is also where EBOOT reads some of
>> the
>> configuration data from, but this is not where and what the kernel
>> expects.
>>
>> The kernel (in ..SRC\KERNEL\OAL\args.c) expects a struct BSP_ARGS
>> somewhere. [...]
>
> OK, I just stumbled across an article in the help "Creating Driver Globals
> and Boot Args". Now, if I understand that right, this struct BOOT_ARGS is
> supposed to be adapted to the needs of the implementor and is nothing
> 'fixed', right?
> If so, I really need to adapt the kernel in order to extract the info from
> the particular layout of the struct.
>
> Can anyone confirm this?
>
> Uli
>
.
- Follow-Ups:
- Re: passing arguments from bootloader to kernel
- From: Ulrich Eckhardt
- Re: passing arguments from bootloader to kernel
- References:
- passing arguments from bootloader to kernel
- From: Ulrich Eckhardt
- Re: passing arguments from bootloader to kernel
- From: Ulrich Eckhardt
- passing arguments from bootloader to kernel
- Prev by Date: Re: Minimum startup
- Next by Date: Re: ATAPI Hard Disk AGAIN
- Previous by thread: Re: passing arguments from bootloader to kernel
- Next by thread: Re: passing arguments from bootloader to kernel
- Index(es):
Relevant Pages
|