From patchwork Thu Mar 10 05:40:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 63728 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp244183lbc; Wed, 9 Mar 2016 21:43:30 -0800 (PST) X-Received: by 10.98.70.138 with SMTP id o10mr2333376pfi.123.1457588609478; Wed, 09 Mar 2016 21:43:29 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id p79si3461605pfj.212.2016.03.09.21.43.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Mar 2016 21:43:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1adtLA-0007SE-6Z; Thu, 10 Mar 2016 05:40:52 +0000 Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1adtKy-0007PA-Rh for linux-arm-kernel@lists.infradead.org; Thu, 10 Mar 2016 05:40:42 +0000 Received: by mail-pf0-x234.google.com with SMTP id 129so60075810pfw.1 for ; Wed, 09 Mar 2016 21:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kkAn0twiNsgyBx/0hN3f7LM13Q1vt7Amn3YZwE62gng=; b=RkFW859WPhhSLa95xVtJ5FromacwpBDy22JGIiQpHPZrXXCUz/9I0C6dPQEkRQqIi0 L8nArtu8fUTPDVf1RT7z15AWQCmPt3NRJAsjBnQPOPyDYfw1INOdsr74HQojiTrn0BQH tgiyuBXf+KFamNR35f70NmOB8NnNGQ2CFbspM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kkAn0twiNsgyBx/0hN3f7LM13Q1vt7Amn3YZwE62gng=; b=dQUk6L3WCnKUknWwWWELPmJ35ye+MRFK0+iEwOS9zHZlSAUOjhugLbtbIqAalDUll+ H7tPF0GcTazZjSDSFG1jcFI1DOQMWnnlbHrWdsubwXMZC8g4V1TcHbZfBD9TagG770fS tgT4PYvokPGQq4C+syVk8gNS2rJa0WcEXUkLizGtB5Dgm/Asw8H9ZUNBOkIu0orr//om T+ZLwo8iGU36orpWLieIBiWJ3DvSKbJQ8/iwtHwwKxtYevpHxubkMA6WXqmz265bvMP6 Pez8hK6f1S6LTbRYpdF9AHimLvm5oQZ2X/6EZlVcCCg7ybkSo8prpup3rPvgNsrrZW1m 5DQg== X-Gm-Message-State: AD7BkJIAidVmWs/Wlkpp1vFW+d9ULcr3BHz3KBXkZvLGTDcOHEVIOerraOIEl6u2S+HQFoo9 X-Received: by 10.98.40.200 with SMTP id o191mr2321872pfo.83.1457588419973; Wed, 09 Mar 2016 21:40:19 -0800 (PST) Received: from ards-macbook-pro.cgcwfunction (110-170-137-253.static.asianet.co.th. [110.170.137.253]) by smtp.gmail.com with ESMTPSA id r5sm2127864pap.7.2016.03.09.21.40.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Mar 2016 21:40:19 -0800 (PST) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, matt@codeblueprint.co.uk, linux@arm.linux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH 1/8] efi: make install_configuration_table() boot service usable Date: Thu, 10 Mar 2016 12:40:01 +0700 Message-Id: <1457588408-19309-2-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1457588408-19309-1-git-send-email-ard.biesheuvel@linaro.org> References: <1457588408-19309-1-git-send-email-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160309_214041_079222_4EFF1955 X-CRM114-Status: GOOD ( 10.02 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c00:0:0:0:234 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, x86@kernel.org, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org This patch redeclares efi_boot_services_t::install_configuration_table as a function pointer so that the boot service is callable as a function. Signed-off-by: Ard Biesheuvel --- include/linux/efi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/include/linux/efi.h b/include/linux/efi.h index e747eb08b2be..8ba6eb7863aa 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -283,7 +283,7 @@ typedef struct { void *register_protocol_notify; void *locate_handle; void *locate_device_path; - void *install_configuration_table; + efi_status_t (*install_configuration_table)(efi_guid_t *, void *); void *load_image; void *start_image; void *exit;