From patchwork Tue Sep 5 20:41:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 111747 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp3336615qge; Tue, 5 Sep 2017 13:41:39 -0700 (PDT) X-Received: by 10.237.55.228 with SMTP id j91mr595498qtb.28.1504644099900; Tue, 05 Sep 2017 13:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504644099; cv=none; d=google.com; s=arc-20160816; b=BQqCydvpJzttmfWrRd9NuKy5w4eymgl0BP2BOOLcwf0RmSav6Ag0mXSk1P4sJ3oPxc ubWzR7MM8nc24GGR7uMnl33Lxr1Vh+/MmdeZ3Apig5Muupj9U6ULIu+rB3QQIiQxShHc SFTwlwRlY8JgYp8hbkjk1KLw+WMMxu9fewhuMByLFMSHbPO6FWrHajhtepAmpIuAffka 80U5u2BeRGWeyrjmkgrccF1Q4pECyvYRKrnZXPMdwDra68whlGHRQ2oGypRk5ZYK0f+G LcX6UsV4R9q1no65clWbakUihlNKGnl7wwjXy2K1YDVP8MRCxvXZUFqhPcvIv14o6niQ DsLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature :arc-authentication-results; bh=CBgoYBimO8KemjiSwNDG2Fklgf4MMgoauIem/AMxuHo=; b=dj6iJjEGDlTNux5aEIx6sg0G7ySwwuFjbhPxsHQfBC5xItkqdiZxfJLbsEiwYKEpnW m9q+bUWm4M6h5T7gRNZ82QfMOgUHQt8S3UstjOTKDuyK/QLL7T3wT0SADnmhdxKhnCS+ VmFXFVBN4gXoDMJ8jN1MAABHD69fn85f7oTS7bUB/QbQ+ycGORNgexraoQe/ZZXrfXit 2veRZ519gDWhLVcJwPZVkjRykhLliwPRWex14IefefpJl9tCNyuAI5YCkaUbnn7b12IN l/pwasH5DzM0XmWM2px5uhGAXVGTB+8NjM1qy4bmDYdfiG8CoofdpmimsLUOYrNqE1NG 9UzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FbI1WfrA; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=grub-devel-bounces+patch=linaro.org@gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id l184si1301709qkd.222.2017.09.05.13.41.39 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 05 Sep 2017 13:41:39 -0700 (PDT) Received-SPF: pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FbI1WfrA; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=grub-devel-bounces+patch=linaro.org@gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:33134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpKfB-00073V-Nh for patch@linaro.org; Tue, 05 Sep 2017 16:41:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpKey-000737-Gn for grub-devel@gnu.org; Tue, 05 Sep 2017 16:41:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpKet-0003ER-Ih for grub-devel@gnu.org; Tue, 05 Sep 2017 16:41:24 -0400 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:37750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpKet-0003E3-Bi for grub-devel@gnu.org; Tue, 05 Sep 2017 16:41:19 -0400 Received: by mail-wr0-x231.google.com with SMTP id k20so1945251wre.4 for ; Tue, 05 Sep 2017 13:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=AIDKr6TvvDh4GKTVTPuZaLC5hIg+xvnGNx8yEQMAyfA=; b=FbI1WfrA8soHkiddfeX27+E1cO7lAlFQ2xaFGzAdkzenNe+FjNk8sEKUDQi/qLVsPe F8WLFyVKElY0X9Kaw0eHes3pOqV+q8R5ephOGbN03t+l5vNWaeyC5vfCi8PvRbiWXa3o GcoJVRbovgz8ELE/r07nOsNmBZB05GVArCF3k= 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; bh=AIDKr6TvvDh4GKTVTPuZaLC5hIg+xvnGNx8yEQMAyfA=; b=Ib/SDLjYec0WxWQE5sK724iuvpM8kny+OVjZJb2+G54CTmoe0pBUKAsHTrAGnOkpqq Mof4w199mtk7isntT7zMaRzKtQXMCOtxH8fXrCKIGDnhEsjJFN+Bbthn62sYQmYOnVqP k8AR8AlTtti2cTtIBi+WBZc35sbtnURc3x5AgTdAfP2SFnlHyWI5aLZRN6PoTZCA/XGV bCd6KX2/qcAJxOQPxFLidUsCqRXhuaGz71lnjkdlDyptyg+O72ylKLNK9RzWjVKnACbR 94/IX3LYO6gW2qqymDkwiDAJgFGOvG6lX57cyY6EgGsOl5is4iU3oJfaKyqXPHuvvP0c tLvQ== X-Gm-Message-State: AHPjjUjCtSiNt9lgox2poe/+8FzFqUrLlPzeObA5v7HfuG6i8NrvrW6I 9sh1h6WNoc4yfWEYsDA+dQ== X-Google-Smtp-Source: ADKCNb6TugsoQJ3HJAc6qVaGGxEmCSge5PFbpXjKanOLrEsg10+ByA3RMrk53W8eRIJKh+JXiVWKQQ== X-Received: by 10.223.161.23 with SMTP id o23mr162374wro.103.1504644077386; Tue, 05 Sep 2017 13:41:17 -0700 (PDT) Received: from vanye.hemma.eciton.net (cpc92316-cmbg19-2-0-cust118.5-4.cable.virginm.net. [82.12.0.119]) by smtp.gmail.com with ESMTPSA id k52sm2291077wrf.62.2017.09.05.13.41.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Sep 2017 13:41:16 -0700 (PDT) From: Leif Lindholm To: grub-devel@gnu.org Subject: [PATCH 0/4] x86,efi: prerequisites for ARM* cleanup series Date: Tue, 5 Sep 2017 21:41:10 +0100 Message-Id: <20170905204114.9462-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::231 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The development of GNU GRUB Cc: Vladimir 'phcoder' Serbinenko , Daniel Kiper MIME-Version: 1.0 Errors-To: grub-devel-bounces+patch=linaro.org@gnu.org Sender: "Grub-devel" Breaking this up into a separate prerequisite series to reduce the messiness of the series - this set deals with items that do not change any ARM behaviour (but touches some of the files). First is a new patch to insert an i386 namespace in the x86 linux header definitions, to prevent clashes with other architectures. The remaining three are taken from the previous round of the EFI cleanup series, with feedback addressed (mostly the addition of comments). Leif Lindholm (4): i386/x86_64: make linux header definitions arch-specific arm64/efi: move EFI_PAGE definitions to efi/memory.h efi: add central copy of grub_efi_find_mmap_size loader: drop local implementations of find_efi_mmap_size grub-core/commands/file.c | 6 ++--- grub-core/kern/efi/mm.c | 47 +++++++++++++++++++++++++++++++++ grub-core/loader/arm64/linux.c | 1 + grub-core/loader/arm64/xen_boot.c | 1 + grub-core/loader/efi/fdt.c | 1 + grub-core/loader/i386/linux.c | 55 +++------------------------------------ grub-core/loader/i386/pc/linux.c | 12 ++++----- grub-core/loader/i386/xen_file.c | 4 +-- grub-core/loader/multiboot_mbi2.c | 38 +-------------------------- include/grub/efi/efi.h | 1 + include/grub/efi/fdtload.h | 3 --- include/grub/efi/memory.h | 7 +++++ include/grub/i386/linux.h | 10 +++---- 13 files changed, 78 insertions(+), 108 deletions(-) -- 2.11.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel