Re: interrupt mode in eboot?



Thats not a problem at all. Just add the following lines to Your
startup code:

ldr r0, =(CPSR_Mode_SVC :OR: CPSR_I_Bit :OR: CPSR_F_Bit)
msr cpsr_c, r0

Now You are supervisor :)


"mobilevil" <mobilevil@xxxxxxxxxx> wrote in message
news:etlilzpYFHA.3616@xxxxxxxxxxxxxxxxxxxxxxx
>? seems no... mainstone2's eboot is not in supervisor mode I suppose? I
>couldn't read cpu clock speed settings in eboot's C code.
> anyway I have fixed the problem and no longer want interrupt in eboot.
> hehe
>
> "voidcoder" <voidcoder@xxxxxxxxx> wrote in message
> news:edz8ZwpYFHA.3188@xxxxxxxxxxxxxxxxxxxxxxx
>> You have to implement exception handlers in
>> EBOOT code and then map them to address
>> 0x00000000. Hey, You have full control over
>> MMU in EBOOT since You are running in
>> supervisor mode, you can do anything You
>> want at this point.
>>
>>
>> "mobilevil" <mobilevil@xxxxxxxxxx> wrote in message
>> news:%23sSXajpYFHA.3584@xxxxxxxxxxxxxxxxxxxxxxx
>>> well I am working with usb rndis image download, and i found that
>>> EdbgOutputDebugString take more time then the that usbc allows... so
>>> packet is lost.
>>> i fixed that, by handling usbc interrupt inside of
>>> EdbgOutputDebugString(OEMWriteDebugByte that is). that's quite dirty and
>>> i don't feel like it too much.
>>>
>>> "Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx> wrote in
>>> message news:uRWCdmoYFHA.3488@xxxxxxxxxxxxxxxxxxxxxxx
>>>> Why would you use interrupt in eboot ? When eboot runs, nobody else is
>>>> running, so you have all the CPU time you want.
>>>>
>>>> --
>>>> ----------------------------------------------------------------
>>>> Yannick Chamming's (eMVP)
>>>> ADENEO (ADESET)
>>>> Windows Embedded Manager
>>>> ychammings AT adeset DOT com>
>>>> http://www.adeset.com
>>>> Tél : +33 (0)4.72.18.57.77
>>>> Fax : +33 (0)4.72.18.57.78
>>>> ----------------------------------------------------------------
>>>>
>>>> "mobilevil" <mobilevil@xxxxxxxxxx> a écrit dans le message de news:
>>>> %23C2pq2nYFHA.2312@xxxxxxxxxxxxxxxxxxxxxxx
>>>>> did anybody enabled interrupt in eboot? I am using xscale 27x and pb
>>>>> 5.0
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


.