From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x241.google.com (mail-qk0-x241.google.com [IPv6:2607:f8b0:400d:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3959C80350 for ; Mon, 6 Mar 2017 19:14:36 -0800 (PST) Received: by mail-qk0-x241.google.com with SMTP id v125so11260363qkh.1 for ; Mon, 06 Mar 2017 19:14:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PT8jrS05wByoIGkLF8589eBSIErCImhmfKZn9KBd5q4=; b=Ra63V9+M8AEUWRFR+sM+t4zogV/1kSxY5gzjLriIwLbpcdsViDj7xNzVAJxUcAGcLe 2JIsZvvcWxs0JqMKAUsdy92bDUAfwvc5j9WMBdtSUpiVo3V+KawK9ZSRpm+Cv+TpYavP I9W0+c9Tqj5W9Uq7VqsbjfCA6d+zeJlQt2IubM4T04VsF2nSjP3LV2prpE+qmBWfTvW6 xEMntjrfol/beSv1g3yV1EAHB6Ofj8y/BA5arPRRcySgKyjFDE1WWni3cdkz1MN+52Hp tqgh3gmhHgZUJ/vp06x9J4BriJmtckRo+Uiq9HqpuWL54Hl/0XPDM2CxL4Tz56/sonTN Josg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PT8jrS05wByoIGkLF8589eBSIErCImhmfKZn9KBd5q4=; b=E6ELFUjMTDKpz2kRsTcwlwkLoX3MDWGulL2P1mORCWoxdm/pC80jYaFx4HM2wKuWbv vxxu7vo3wlnAasJyJLsqT/9RvHEeHbcTmvom7PdNts1MzQA02rtskzQhOWfoGuICwn+f iWw8/dtpoP3WxkIYQmSJmvlnXdIF2o8qMaMySWXdPdzhvJt/qVJsqTg/0fijS4r25w/Q RctJb37cz4Vtuwt15vrD2uVbo30XNmDCwBlw74G8MnJ7DrT979+C8wCLflWsbQTFF63h 4JkdqJo76qWPt+i+n6VCvRGMOAchL5umhrNOnlyg6WgggmS6mR5SFNl8ZCSXa8pjg7jt MilA== X-Gm-Message-State: AMke39nNS2nTWNcxBo/vdCRzOl5uqxebGt1agf01q6CKcaxmv684k+LGqt736j9nm2iL3w== X-Received: by 10.55.81.10 with SMTP id f10mr17105471qkb.171.1488856475483; Mon, 06 Mar 2017 19:14:35 -0800 (PST) Received: from foober.ini.cmu.edu (pool-108-39-248-175.pitbpa.fios.verizon.net. [108.39.248.175]) by smtp.gmail.com with ESMTPSA id v26sm2901013qtc.13.2017.03.06.19.14.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Mar 2017 19:14:35 -0800 (PST) From: "Gabriel L. Somlo" To: edk2-devel@ml01.01.org Cc: lersek@redhat.com, jordan.l.justen@intel.com, reza.jelveh@tuhh.de, agraf@suse.de, kraxel@redhat.com Date: Mon, 6 Mar 2017 22:14:23 -0500 Message-Id: <1488856465-8965-5-git-send-email-gsomlo@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488856465-8965-1-git-send-email-gsomlo@gmail.com> References: <1488856465-8965-1-git-send-email-gsomlo@gmail.com> Subject: [RFC PATCH 4/6] EdkCompatibilityPkg: allow ConsoleControl protocol to be used X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2017 03:14:36 -0000 Apple's bootloader requires the ConsoleControl protocol to be implemented. By adding the Foundation path to the package description, the ConsoleProtocol can be used in Ovmf without the need of copying it to Include/Protocol from MdePkg. The gEfiConsoleControlProtocolGuid is added to the .dec file, to be consumed by Ovmf. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Reza Jelveh Signed-off-by: Gabriel Somlo --- EdkCompatibilityPkg/EdkCompatibilityPkg.dec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EdkCompatibilityPkg/EdkCompatibilityPkg.dec b/EdkCompatibilityPkg/EdkCompatibilityPkg.dec index 1fd1251..0a9225d 100644 --- a/EdkCompatibilityPkg/EdkCompatibilityPkg.dec +++ b/EdkCompatibilityPkg/EdkCompatibilityPkg.dec @@ -25,6 +25,7 @@ [Includes] Compatibility/Include + Foundation [LibraryClasses] ## @libraryclass Provides functions for language conversion between @@ -44,6 +45,7 @@ [Protocols] gEfiPrintProtocolGuid = { 0xdf2d868e, 0x32fc, 0x4cf0, {0x8e, 0x6b, 0xff, 0xd9, 0x5d, 0x13, 0x43, 0xd0} } gEfiSmmBaseHelperReadyProtocolGuid = { 0x910dca07, 0x1f94, 0x4ee7, { 0xaf, 0x2f, 0xff, 0x72, 0xf3, 0x15, 0x43, 0x53 } } + gEfiConsoleControlProtocolGuid = { 0xf42f7782, 0x012e, 0x4c12, {0x99, 0x56, 0x49, 0xf9, 0x43, 0x04, 0xf7, 0x21 }} [PcdsDynamic, PcdsDynamicEx] gEfiEdkCompatibilityPkgTokenSpaceGuid.BootScriptThunkDataPtr|0x0|UINT64|0x30000001 -- 2.7.4