I discovered I had a bad TimerDxe implementation. Fixing it resolved the
issue.

Thanks,
Varad

On Thursday 20 November 2014 10:16 PM, Andrew Fish wrote:
>> On Nov 20, 2014, at 8:31 AM, Varad Gautam <varadgau...@gmail.com> wrote:
>>
>> How is TerminalConInTimerHandler() [1] invoked? Is it a poll mechanism
>> that is required to run forever? I've dissected TerminalDxe and
>> discovered that it is never called on BBB, which I believe is the root
>> of my issue.
> If the TerminalDriverBindingStart() function is succeeding then the device 
> path is likely correct. 
>
> TerminalConInTimerHandler() is an event handler that is registered here:
> https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c#L958
>
> The gBS->CreateEvent associates the function with the event. The 
> gBS->SetTimer() sets the period of the callback on the event. 
>
> The Timer services is part of UEFI and provided by the DxeCore. The DxeCore 
> depends on the Timer Architectural Protocol to provide a timer tick. 
>
> https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c#L31
>
> If the Timer Tick is registered the gTimer global will be non NULL and setup 
> to callback in to the DXE Core periodically. 
>
> Thanks,
>
> Andrew Fish
>
>> The device paths seem to be correct (checked by printing
>> the generated DevicePath in Terminal.c [2]).
>>
>> [1]
>> https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConIn.c#L510
>> [2]
>> https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c#L651
>>
>> Thanks,
>> Varad
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>> _______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to