Skip to content

Commit

Permalink
L535: Use a lower-than-spec res framebuffer
Browse files Browse the repository at this point in the history
(Thanks Ben for including that in PrimeG2Pkg)
  • Loading branch information
imbushuo authored and konradybcio committed Mar 27, 2020
1 parent 36148e5 commit b6049f0
Show file tree
Hide file tree
Showing 17 changed files with 12,003 additions and 4 deletions.
776 changes: 776 additions & 0 deletions Drivers/ConSplitterDxe/ComponentName.c

Large diffs are not rendered by default.

5,113 changes: 5,113 additions & 0 deletions Drivers/ConSplitterDxe/ConSplitter.c

Large diffs are not rendered by default.

2,004 changes: 2,004 additions & 0 deletions Drivers/ConSplitterDxe/ConSplitter.h

Large diffs are not rendered by default.

119 changes: 119 additions & 0 deletions Drivers/ConSplitterDxe/ConSplitterDxe.inf
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
## @file
# This driver provides multi console supports.
#
# This driver acts as a virtual console, takes over the console I/O control from selected
# standard console devices, and transmits console I/O to related console device drivers.
# Consplitter could install Graphics Output protocol and/or UGA Draw protocol in system
# table according PCD settings(PcdConOutGopSupport, and PcdConOutUgaSupport). It always
# consumes Graphics Output protocol which is produced by display device, and consumes UGA Draw
# protocol which is produced by display device according to PcdUgaConsumeSupport value.
# Note: If only UGA Draw protocol is installed in system, PcdUgaConsumeSupport should be
# set to TRUE.
#
# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
##

[Defines]
INF_VERSION = 0x00010005
BASE_NAME = ConSplitterDxe
MODULE_UNI_FILE = ConSplitterDxe.uni
FILE_GUID = 408edcec-cf6d-477c-a5a8-b4844e3de281
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = ConSplitterDriverEntry

#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
# DRIVER_BINDING = gConSplitterConInDriverBinding
# COMPONENT_NAME = gConSplitterConInComponentName
# COMPONENT_NAME2 = gConSplitterConInComponentName2
# DRIVER_BINDING = gConSplitterSimplePointerDriverBinding
# COMPONENT_NAME = gConSplitterSimplePointerComponentName
# COMPONENT_NAME2 = gConSplitterSimplePointerComponentName2
# DRIVER_BINDING = gConSplitterConOutDriverBinding
# COMPONENT_NAME = gConSplitterConOutComponentName
# COMPONENT_NAME2 = gConSplitterConOutComponentName2
# DRIVER_BINDING = gConSplitterStdErrDriverBinding
# COMPONENT_NAME = gConSplitterStdErrComponentName
# COMPONENT_NAME2 = gConSplitterStdErrComponentName2
#

[Sources]
ConSplitterGraphics.c
ComponentName.c
ConSplitter.h
ConSplitter.c

[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec

[LibraryClasses]
UefiBootServicesTableLib
MemoryAllocationLib
BaseMemoryLib
BaseLib
UefiLib
UefiDriverEntryPoint
DebugLib
PcdLib

[Guids]
gEfiConsoleInDeviceGuid ## SOMETIMES_CONSUMES ## UNDEFINED # protocol GUID installed on device handle
gEfiStandardErrorDeviceGuid ## SOMETIMES_CONSUMES ## UNDEFINED # protocol GUID installed on device handle
gEfiConsoleOutDeviceGuid ## SOMETIMES_CONSUMES ## UNDEFINED # protocol GUID installed on device handle
## SOMETIMES_PRODUCES ## Event
## SOMETIMES_CONSUMES ## Event
gConnectConInEventGuid

[Protocols]
## PRODUCES
## TO_START
gEfiSimplePointerProtocolGuid
## PRODUCES
## TO_START
gEfiAbsolutePointerProtocolGuid
## PRODUCES
## TO_START
gEfiSimpleTextInProtocolGuid
## PRODUCES
## TO_START
gEfiSimpleTextInputExProtocolGuid
## PRODUCES
## TO_START
gEfiSimpleTextOutProtocolGuid
## SOMETIMES_PRODUCES
## SOMETIMES_CONSUMES
gEfiGraphicsOutputProtocolGuid
## SOMETIMES_PRODUCES
## SOMETIMES_CONSUMES
gEfiUgaDrawProtocolGuid

[FeaturePcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport ## CONSUMES
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport ## CONSUMES
gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## CONSUMES

[Pcd]
## SOMETIMES_PRODUCES
## SOMETIMES_CONSUMES
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow
## SOMETIMES_PRODUCES
## SOMETIMES_CONSUMES
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn
gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand ## SOMETIMES_CONSUMES

[UserExtensions.TianoCore."ExtraFiles"]
ConSplitterDxeExtra.uni
28 changes: 28 additions & 0 deletions Drivers/ConSplitterDxe/ConSplitterDxe.uni
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// /** @file
// This driver provides multi console supports.
//
// This driver acts as a virtual console, takes over the console I/O control from selected
// standard console devices, and transmits console I/O to related console device drivers.
// Consplitter could install Graphics Output protocol and/or UGA Draw protocol in system
// table according PCD settings(PcdConOutGopSupport, and PcdConOutUgaSupport). It always
// consumes Graphics Output protocol which is produced by display device, and consumes UGA Draw
// protocol which is produced by display device according to PcdUgaConsumeSupport value.
// Note: If only UGA Draw protocol is installed in system, PcdUgaConsumeSupport should be
// set to TRUE.
//
// Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// which accompanies this distribution. The full text of the license may be found at
// http://opensource.org/licenses/bsd-license.php
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// **/


#string STR_MODULE_ABSTRACT #language en-US "Provides multi console support"

#string STR_MODULE_DESCRIPTION #language en-US "This driver acts as a virtual console, takes over the console I/O control from selected standard console devices, and transmits console I/O to related console device drivers. Consplitter could install Graphics Output protocol and/or UGA Draw protocol in system table according PCD settings(PcdConOutGopSupport, and PcdConOutUgaSupport). It always consumes Graphics Output protocol, which is produced by display device, and consumes UGA Draw protocol, which is produced by display device according to PcdUgaConsumeSupport value. Note: If only UGA Draw protocol is installed in system, PcdUgaConsumeSupport should be set to TRUE."

19 changes: 19 additions & 0 deletions Drivers/ConSplitterDxe/ConSplitterDxeExtra.uni
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// /** @file
// ConSplitterDxe Localized Strings and Content
//
// Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// which accompanies this distribution. The full text of the license may be found at
// http://opensource.org/licenses/bsd-license.php
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// **/

#string STR_PROPERTIES_MODULE_NAME
#language en-US
"Console Splitter DXE Driver"


Loading

0 comments on commit b6049f0

Please sign in to comment.