Hello everyone, I have a problem regarding the output to the console using the EDK. When the EFI Systems loads my application I can't see any output. I tryed to change the output mode to texmode but it didn't work out. Can anyone help me? Following the code: #include <../../EdkCompatibilityPkg/Foundation/Protocol/ConsoleControl ConsoleControl.h> EFI_STATUS EFIAPI UefiMain(IN EFI_HANDLE ImageHandle,IN EFI_SYSTEM_TABLE *SystemTable) { efi_image_handle = ImageHandle; efi_system_table = SystemTable; efi_boot_servic = SystemTable->BootServices; EFI_GUID consol_control_guid = EFI_CONSOLE_CONTROL_PROTOCOL_GUID; //Locate Protocol EFI_CONSOLE_CONTROL_PROTOCOL *console_control = NULL; status = efi_boot_servic->LocateProtocol(&consol_control_guid, NULL, (void**)&console_control);
efi_system_table->ConOut->EnableCursor(efi_system_table->ConOut, TRUE); status = console_control->SetMode(console_control, EfiConsoleControlScreenText); //I tried to reset the output but it didn't work out //efi_system_table->ConOut->Reset(efi_system_table->ConOut, TRUE); AsciiPrint("status : %x\n", status); efi_system_table->ConOut->OutputString(efi_system_table->ConOut, L"Test\n"); Print(L"test2\n"); } Kind regards Daniel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel