programming of interface problem chart uefi in vmware8

Hi all

After you run the codes listed as follows, the screen display:

"MaxMode 29, Mode 3, 1024 * 768.

After pressing a button, the screen was allowed to black, then nothing has changed until you exit the program.

Anyone know the reason? Thank you very much.

***************************************************************************

status = gBS--> (OpenProtocol)
GST-> ConsoleOutHandle,
& gEfiGraphicsOutputProtocolGuid,
(VOID *) & graphicsOutput,.
gImageHandle,
NULL,
EFI_OPEN_PROTOCOL_BY_HANDLE_PROTOCOL
);

If (!.) EFI_ERROR (status)

{

Print (L "MaxMode %d, %d, % d*%d\r\n Mode",

graphicsOutput-> Mode-> MaxMode, graphicsOutput-> Mode-> Mode,

graphicsOutput-> Mode-> Info-> HorizontalResolution, graphicsOutput-> Mode-> Info-> VerticalResolution);

getch();

//...

query mode...

g_VgaModeNumber = 2, 800 * 600, 32-bit

status = graphicsOutput-> SetMode (graphicsOutput, g_VgaModeNumber);

If (!.) EFI_ERROR (status)

{

for (i = 0; i < 3; i ++)

{

Color. Red = (i == 0)? 200: 0;

Color. Green = (I == 1)? 200: 0;

Color. Blue = (I == 2)? 200: 0;

Color. Reserved = 0;

status = graphicsOutput-> Blt (graphicsOutput, & color, EfiBltVideoFill, 0,0, i * 10, i * 10, 200, 200, 0);

If (EFI_ERROR (State))

{

Print (L "Blt failed with error 0x%x\r\n", status);

}

getch();

}

}

}

any help will be appericate.

guzheng

Hi guzhengand welcome to the VMware communities!

You may need to use gBS--> LocateProtocol (...) to find an instance of EFI_CONSOLE_CONTROL_PROTOCOL and use it to change the mode of EfiConsoleControlScreenGraphics.  We are implementing our ConSplitter Console control protocol, and mode you get to start depends on the selected for the virtual machine guest OS type.

The Console control protocol interface definition is not in the EDK2 code base, so if you use EDK2 you will need to track down the definition of interface yourself, which is pretty easy - go to your favorite search engine and look for "EFI_CONSOLE_CONTROL_PROTOCOL".

See you soon,.

--

Darius

Tags: VMware

Similar Questions

  • When I print, the photo viewer rises and am OBLIGED to print from that program. The problem is, that it does not work - the colors are inverted and incorrect. All attempts to correct in the color management failed.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • When I print, the photo viewer rises and am OBLIGED to print from that program.  The problem is, that it does not work - the colors are inverted and incorrect.  All attempts to correct in the color management failed.  Some images are color reversed negatively. and others not when the print window picture viewer options are increasing. and every time I print a normal color on the picture he reverse out come.
    • Recent changes to your computer
    • What you have already tried to solve the problem

    didn't work :/

    ==============================================
    It may be interesting to try to remove all color profiles in the color management.

    Windows 7 - change color management settings
    http://Windows.Microsoft.com/en-us/Windows7/change-color-management-settings

    If this does not work... update or just reinstall your printer driver may be worth a try.

    Good luck...

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Some time ago I bought ADOBE production Premium Windows CS6. At the time where I actually responsible programs without any problems. Since then I have loaded windows 10 and lost the programs but had already saved the ZIP files.  I tried to load programs

    Some time ago I bought ADOBE production Premium Windows CS6.

    At the time where I actually responsible programs without any problems.

    Since then I have loaded Windows 10 and lost the programs but had already

    Saved files from the ZIP.

    I tried to load the programs today, but I get the following message

    Please insert Adobe Production Premium Disc UM6 - MUL

    Because it was a download, it is not a loading disk.

    Make a new download

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a link to access a page to download the Adobe programs if you do not have a disk or drive

    -Cloud desktop http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html

    -Cloud Getting Started https://helpx.adobe.com/creative-cloud.html

    -you will need to enter your original serial number during the installation for non-Cloud programs

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

  • I face a problem in photoshop cc 2015. When I close a tab, then a pop - up massage a problem caused the program to stop working correctly. Please close the program. solve this problem

    I face a problem in photoshop cc 2015. When I close a tab, then a pop - up massage a problem caused the program to stop working correctly. Please close the program. solve this problem

    Try to uncheck 'use graphics processor' in preferences and restart Photoshop.

  • PPCC 20141 interface problems

    Hi all.

    After I updated Premiere Pro to the new version of 20141 interface seems inflated and I lost space for monitors and the timeline, etc..

    Old version:

    Old.PNG

    New version:

    New.PNG

    There are also other problems such as the playhead changes thickness as it plays along the timeline and it shows the space between clips on the timeline with zoom.

    Interface problem - YouTube

    I have similar problems in Media Encoder, After Effects and hearing, but not in Speedgrade.

    I have:

    1: tried to change the playback to the software only, engine instead of GPU accelerated.

    2: update the graphics drivers.

    3: renamed the Adobe old_Adobe folder

    4: on and off the PPP phasing display in the properties of windows for first.

    My specs are:

    8.1 Windows laptop

    1920 x 1080 screen

    Intel Core I7-4710MQ

    NVIDIA Geforce GTX 870M

    Any ideas on how to solve these problems are welcome!

    Thanks in advance.

    Hi Arjun.

    I found a solution to my problem in this thread: update after installation first CC and work surface icons became too big and can't be change in small

    Thank you.

    Martin

  • problems of UEFI

    Hello

    BIOS version v2.15

    V3 571G 32348G50Mali

    had problems with the c partition and messed up things with partition program

    I have now:

    Disk1 (TPG)

    RECOVERY FAT16 300 mb TPG

    NO 100 MB FAT16 GPT/EFI

    ANOTHER 128 MB TPG/MSR

    CYSTEM NFTS 285.23 GB TPG (empty formatted)

    DATA NFTS 180 GB TPG (containing the data)

    I'm not able to install own W10 on Cdrive due to problems of inheritance/uefi

    -in the uefi and secure boot disabled, bios usb or dvd Drive not reconigzed and get errormessage

    -in the bios to legacy and sure start disabled, two recognized but cannot install the W10 gpt disk disks

    I have usb bootable and dvd with W10

    don't know what to do now, anyone can help

    BTW, here is Windows 8.1 (free if your computer comes pre-installed with windows 8.1)

    http://Windows.Microsoft.com/en-us/Windows-8/create-reset-refresh-media

    Here are the drivers/BIOS:

    http://www.Acer.com/AC/en/us/content/drivers

  • Outlook.exe program left interfacing with windows... I can't open my mail outlook express. __

    I can't open my email.  Outlook express has stop working, I get the following message: unable to display the folder. Microsoft Office Outlook cannot access the specified folder location. The messaging interface has returned an unknown error. If the problem persists, restart Outlook. Outlook cannot open this item. The element may be damaged.

    Outlook and Outlook Express are 2 different e-mail programs.

    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.outlookexpress.General&cat=en_us_67ae557e-CEEA-4691-9CF6-efbe673e7b70&lang=en&CR=us

    Link above is to the Outlook Express newsgroup.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    You want the Outlook Forum.

    Outlook:

     

    http://answers.Microsoft.com/en-us/Office/default.aspx

    Office at the above link forums

    http://answers.Microsoft.com/en-us/Office/ee861097.aspx

    Outlook Help Forums at the link above.

    They will help you with your Outlook questions when repost you in the Office Forums above.

    See you soon.

    Mick Murphy - Microsoft partner

  • Failed to truncate the target table while programming the interface in ODI

    Hi Expertise,

    I developed a scenario in an interface, where I planned keeping the option Truncate as false, right there the data is been going to target without any problems, but when I changed the status of truncate to TRUE, the interface is been run, but the array is not get truncated, rather the data's been loading again to target. (when running manually, the target table is been truncated perfectly) but not in programming.

    Can someone help me in this problem.

    Thank you

    Shakur.

    Have you regenerate the scenario in question since you changed the option Truncate. If you have not the regular job must still run the old code

  • Configuration host network interface problem

    Hello

    I use vmware player on Windows 7 Pro.

    After the upgrade to vmware server. I am not able to use the guest only network interface.

    In the configuration interface tcp/ip v4 network, the IP address is 192.168.38.1, but if I run ipconfig, IP assigned to vmnet 1 is 169.254.x.x (invalid IP)

    Anyone has an idea on how to solve it?

    Thank you!

    CESC

    After the upgrade to vmware server

    Just an info, Windows 7 is not a host for VMware Server operating system.

    I am not able to use the guest only network interface. In the configuration interface tcp/ip v4 network, the IP address is 192.168.38.1, but if I run ipconfig, IP assigned to vmnet 1 is 169.254.x.x (invalid IP)

    Unfortunately starting with VMware Player 3, without a valid reason, I've never seen explained, VMware has stopped installing the virtual network Editor.  What I would try to solve the problem is to install manually and then use the restore default in the virtual network Editor to try to fix any problem with network cards virtual VMware.

    ==========

    To install the missing virtual network Editor, the command prompt:

    VMware-player-*.exe -e c:\vmptmp
    

    Then in the c:\vmptmp folder find the file c:\vmptmp\network.cab and extract (double-click on the .cab file) vmnetcfg.exe (virtual network editor) file in the working directory of VMware Player usually 'C:\Program VMware Player' or ' C:\Program Files (x 86) \VMware\VMware Player.  You can create a shortcut and place it with the shortcut of VMware Player, if you want to access it more easily.  Note: there are some for all the files to be extracted to then access the network.cab file.

    Post edited by: WoodyZ - posted: July 5, 2012 09:10

  • YouTube interface problem

    Hey,.

    While I was with Youtube on Safari, it changed recently for this interface.

    I already disabled AdBlock for this area.

    I think he may have changed when I downloaded Youtube Center, although I did not change any settings.

    I didn't uncheck DASH-buffer, but I have put it back on.

    Is there someone with the same problem, or someone who can help me solve this problem?

    Thank you

    Brent

    This is a bug. Send feedback to Apple:

    http://www.Apple.com/feedback/

  • 2481 - 3SG L530 - first 1.4 GB of RAM of 4 GB 'reserved by material' and now 2.2 GB? Problem BIOS/UEFI?

    Hello

    Using a Thinkpad L530, which becomes a few weeks over a year (-> warranty expired). Running Windows 7 64-bit on it (in BIOS compatibility mode).

    There is, at the same time (cannot say for sure) four months when I installed an update of the BIOS (which jumped several versions), then all of a sudden my resource monitor showed 1.4 GB of memory reserved by the hardware.

    I did some looking and also called the hotline of Lenovo Germany support (because they don't send support) because my unit was still in warranty, at this time, but useful guys might not help me get back memory - the conclusion was that for some reason, that the update of the BIOS must have changed how the integrated graphics card memory is managed intel (size is dynamic). Due to the fact that a downgrade to BIOS was impossible (due to some changes), they also offered to replace the motherboard with an older BIOS revision, but I refused (I have that it will not much help because I need to upgrade the BIOS later anyway, and really, I didn't miss my primary work machine).

    However, yesterday, after having done nothing more to try the different operating system a few live CD and certainly not after installing a new BIOS update or similar, sudden reserved hardware memory was 2.2 GB (I can say 100% certainty that Monday, it was not, since I was unable to resume a VirtualBox VM suspended Monday due to the change of configuration of memory - and to make sure I also was installing drivers) (or updates to the BIOS since Monday).

    So I'm now sure that this problem (and probably also the other I had before) was not caused by an upgrade of the BIOS or changes how Intel's integrated graphics is managed, but more likely a BIOS/Firmware bug.

    Also, the missing memory shows not only in Windows 7, but when I start a live Linux CD or at memtest86 boot.

    So I studied a bit and found out, that if I boot a Linux live CD (which support it) in UEFI mode (with CSM disabled legacy support), suddenly I can reuse many of my 4 GB of RAM. But only here, and I would use it on Windows and not by the re-installation of a license of Windows 8 in UEFI mode...

    Some information that I have collected (such as memory card EFI and card memory at the start of Windows and Linux, and Linux UEFI, screenshots of Windows) is available in this post in another forum: http://superuser.com/questions/746497/what-hardware-device-used-to-eat-up-1-4gb-of-my-4gb-ram-and-no...

    Does anyone have any suggestions

    -How do I know where this memory is gone?

    -Why memory cards so different between boot UEFI and BIOS/CSM

    -How to get the memory (without replacement)

    I heard of many problems UEFI (not only for Lenovo but also other suppliers) is caused by certain invalid EFI variables, is there a way to reset all variables of the EFI on my laptop (I am aware that I may have to reconfigure the boot settings later)? I tried flashing the BIOS (a version at the bottom and back again) and installation by default, or reset settings Secure Boot loading, but that did not help for my problem.


  • cursor problem chart xy

    Hello

    I have a weird problem with cursors on XY graph. I can't get the cursor and even when I put manually the value of X in the legend of the cursor, the cursor sometimes go to go to this value of X. And the question is very intermittent. The sliders sometimes operate without any problem and sometimes I can not enter and move them.

    I have attached the vi here that I'm having a problem with. Could someone take a look and let me know if you also have the same problem as me. See if you can move the sliders, snap the cursor on different plots and always able to move the sliders.

    Thank you

    LVCoder

    OK, I found the problem with the bizarre behavior of cursors. It is because of the free third sliders whose value is set by program. Because I set its value equal to the difference first 2 sliders, its value can be a higher value of the negative due to which the sliders do not behave properly.

    To solve the problem I am remove the third cursor and place 2 digital indicators on the front panel to show the delta between 2 sliders

  • problem chart xy to repeat the same plots

    Hello. I have this problem of graph plots in my graph XY.

    At first I thought it was just a line between the first and the last point. But it may also be because the graph is Replot my points over and over again. I feel that after my last point, the chart goes back to trace my first point is why its all joined in a single loop.

    Can someone advise me on this? I want just a line that the ends do not respond.

    I ready everythong except displays well on the chart. Desperate! Thank you.

    Hi sneaker,

    This is the crux of feedback you were talking about?

    Yes, these are comment nodes. Context-sensitive help will also be their name in this way, when you mouse over them!

    What do you mean by reprogramming my knots of comments? IM afraid I do not understand.

    The help of LabVIEW explains, how to initialize feedback nodes (and shift registers, which are essentially the same). Have you read the help?

  • Download programs and updates problems

    My computer is having download problems. Instead of simply install programs, I have to register and then navigate to the program and run it. Now, when I record programs that they disappear from the folder I saved them in? Help!

    Hello

    • What browser do you use?
    • What happens with Windows update?
    • What program are you trying to save and install?

    If you use Internet explorer, you should get the window "Do you want to run or save this file?" first, then you will have the opportunity to choose where to save the file.

    I firstly you suggest to rename the file before you download, and then search for the file name find where files are saved.

    Sometimes media files will give the State of play and try to play in the browser. Are these audio or video files by any chance?

    Also suggested I try the download by right click on the file link by clicking on "save target as", and then selecting the save location as a test.

    I also suggest you to perform an optimization of Internet Explorer on your computer and find the number.
     
    How to optimize Internet Explorer
    http://support.Microsoft.com/default.aspx/KB/936213
     
    Warning: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings

  • Try to change startup programs, but a problem with Windows Defender gets in the way.

    I'm trying to delete a program to start automatically when my computer starts.  When I go to control panel and click "Edit startup programs" it tells me that Windows Defender is disabled. So I click on "put in operation and open Windows Defender" and get an error message: 0x800106ba

    What is Windows Defender has to do with my startup programs?

    I found a page that step by step has attempted to resolve this message error, but when I got to the step 2, clickStart, click run, type appwiz.cpl , and then clickOK , Windows Defender wasn't on my list to uninstall.

    Any suggestions? I just want to stop a program from starting automatically.

    Thank you!

    I'm trying to delete a program to start automatically when my computer starts.  When I go to control panel and click "Edit startup programs" it tells me that Windows Defender is disabled. So I click on "put in operation and open Windows Defender" and get an error message: 0x800106ba

    What is Windows Defender has to do with my startup programs?

    I found a page that step by step has attempted to resolve this message error, but when I got to the step 2, clickStart, clickrun, type appwiz.cpl , and then clickOK , Windows Defender wasn't on my list to uninstall.

    Any suggestions? I just want to stop a program from starting automatically.

    Thank you!

    1. If you are using Vista, Windows Defender is part of the operating system. It can NOT be uninstalled. He lives and dies with the system.

    2. If you have the following antivirus (AV) installed, Windows defender is supposed to be stopped by the AV:
    Norton
    McAfee
    AVG
    Microsoft Security Essentials

    3 here is another way to startup programs...
    Start button > in the search box, type msconfig > press the Enter key > uac prompt > Startup tab > you can find the program it?

    4. If you have, see if you are able to activate Windows Defender long enough before your AV it stops again...

    Start button > in the search box, typeServices > press the Enter key > scroll to find Windows Defender, click on it >...
    topic status , it must be said... Has begun
    under Startup Type, it must be said... Automatic
    If it does not say that, right click on Windows Defender > click Properties > in the new window, make the necessary changes, as above > click OK when finished.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

Maybe you are looking for

  • A 200 - 3 small buttons by the power button has stopped working

    Win XP, SP2, 1 GB memory, nothing too special. These cute little buttons have stopped pulling up of software. The only function seems to work is that next to the switch lights up the machine! Any ideas? The only recent change is that I've recently up

  • Qosmio G40-10 s: graphics card problem

    Hello. I have a Toshiba Qosmio G40 laptop 10s with a Nvidea 8600 M GT grafixs card. I was playing a game when it locked up and pasted what I would describe as flashing red/green 'Matrixy' search screen. He then a blue screen and trys to reeboot.He tr

  • Location of the Mini PCI Slot on Satellite P10

    Hi - I have a portable series of P10, PSP10E-0RCJM-EN. It is initially provided without an internal WIFI card but a swith and LED indicator. I hope to fit a suitable Mini PCI card. I am likely to find that an antenna is already installed? That more c

  • In Vista, all files lost association, constantly asked what program to open a file with

    First of all, whenever I try to open certain files, such as Internet Explorer, paint, or whatever it is, I get the "choose the program you want to use to open this file", and it has not happened before. Along with this, the little thing bar in the lo

  • My computer is so slow. Do not know what to do?

    can someone please help me solve this? I opened my laptop, turn it on and turn on and everything but it's just stupid slow short. Not normal at all. Don't know to fix "Please HELP!"