Re: How to enable interrupts in Eboot ?

From: Bruce Eitman \(eMVP\) (beitmannospam_at_NOSPAM_applieddata.NOSPAM_net)
Date: 02/28/05


Date: Mon, 28 Feb 2005 08:43:05 -0500

That would be specific to your CPU. Enable interrupts in the interrupt
enable register, and put your interrupt handler in the appropriate vector.

You will need to throw everything that you know about Windows interrupt
handling out the door. Your boot loader is the OS at that time, so you are
single threaded and not synchronization objects.

-- 
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
 www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Walzer" <JoeyWalzer@hotmail.com> wrote in message
news:OeuL85VHFHA.2620@tk2msftngp13.phx.gbl...
> Hi,all
>     I want to use RNDIS to implement bootloader, but when initializing
USB, I have to enable interrupts in eboot.
>     In the original source code of eboot, it use polling.
>     How and where can I enable INTRs?
>     Thanks!
>
> -------------------------------------------------------- 
> J.Walzer
>


Relevant Pages

  • 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?
    ... > Thats not a problem at all. ... mainstone2's eboot is not in supervisor mode I suppose? ... >> anyway I have fixed the problem and no longer want interrupt in eboot. ...
    (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)
  • Xilinx IPIF DMA done interrupt ?
    ... I would appreciate help in capturing the DMA done interrupt. ... the interrupt service routine is not called when a DMA ... After that I checked that the device interrupt enable register (DIER) ...
    (comp.arch.fpga)