Re: [edk2] NT32 serial port - Re: Question on Shell editor improvements project

Subject: Re: [edk2] NT32 serial port - Re: Question on Shell editor improvements project

From: "Brian J. Johnson" <>


Date: 2011-03-30 16:31:55

On 03/29/2011 06:17 PM, Andrei Warkentin wrote:
> On Mon, Mar 28, 2011 at 12:57 PM, Jordan Justen  wrote:
>> On Mon, Mar 28, 2011 at 10:34, yang kidz  wrote:
>>> Hi,all.
>>> In the  Shell editor improvements project's task overview, it says that
>>>                      "Hot-keys are not usable over a serial/network terminal
>>> connection"
>>> Why the hot-keys not aviliable for network terminal connections?How to get a
>>> network connection to test..?
>> I think it would be easier to setup a serial terminal connection.
>> OVMF has a serial terminal by default, but I know you are working with
>> NT32 at this time.
>> So, a question for the list.  Does anyone know how to setup NT32 to
>> enable a serial port connection to NT32?
> Looking at the code it seems like it would just use the system COM
> ports. In Nt32.pkg there is a dynamic PCD setting
> gEfiNt32PkgTokenSpaceGuid.PcdWinNtSerialPort, that contains
> "COM1!COM2".
> The comment inside  WinNtBusDriverDxe/WinNtBusDriver.c also mentions
> you can set NT environment variables:
>     [!...]
>     Declaring two serial ports on COM1 and COM2 would look like:
> Never tried it, though.

I haven't tried it either.  But assuming it does work, you could use to tie a terminal program to the NT32 
build without going through a physical serial port.  I've used com0com 
before, and it seems to work well.

                                                 Brian Johnson


   "One problem thoroughly mastered is of more value than many poorly
                                            -- Booker T. Washington

Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
edk2-devel mailing list