Re: interrupt mode in eboot?



oh? i thought it will take an interrupt to change mode?
anyway i will test it sooner or later... thx

"voidcoder" <voidcoder@xxxxxxxxx> wrote in message
news:OP$Cv$pYFHA.580@xxxxxxxxxxxxxxxxxxxxxxx
> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: [PATCH 1/4] Blackfin: arch patch for 2.6.18
    ... What you described would be a preemptive kernel ... user mode supervisor mode ... raise the lowest priority interrupt event. ... schedule happens in the return_from_int. ...
    (Linux-Kernel)
  • Re: interrupt mode in eboot?
    ... EdbgOutputDebugString take more time then the that usbc allows... ... > Why would you use interrupt in eboot? ... When eboot runs, nobody else is ... > ychammings AT adeset DOT com> ...
    (microsoft.public.windowsce.platbuilder)
  • Re: interrupt mode in eboot?
    ... anyway I have fixed the problem and no longer want interrupt in eboot. ... so you have all the CPU time you want. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: InitClock Intel Xscale BSP
    ... Yes, in boot (like Eboot) loaders, the interrupts are turned off. ... big polling statemachine for downloading. ... > kernel initialization. ... > to interrupt on matches. ...
    (microsoft.public.windowsce.platbuilder)