From patchwork Mon Sep 2 13:32:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Cooper X-Patchwork-Id: 13787302 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C214CD342B for ; Mon, 2 Sep 2024 13:33:10 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.787948.1197393 (Exim 4.92) (envelope-from ) id 1sl7Ar-0000gC-Fy; Mon, 02 Sep 2024 13:32:53 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 787948.1197393; Mon, 02 Sep 2024 13:32:53 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sl7Ar-0000g5-CL; Mon, 02 Sep 2024 13:32:53 +0000 Received: by outflank-mailman (input) for mailman id 787948; Mon, 02 Sep 2024 13:32:52 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sl7Aq-0000fj-9y for xen-devel@lists.xenproject.org; Mon, 02 Sep 2024 13:32:52 +0000 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [2a00:1450:4864:20::632]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id da1521dc-692f-11ef-a0b2-8be0dac302b0; Mon, 02 Sep 2024 15:32:51 +0200 (CEST) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a866cea40c4so485748166b.0 for ; Mon, 02 Sep 2024 06:32:51 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8989196975sm562333666b.135.2024.09.02.06.32.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2024 06:32:49 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: da1521dc-692f-11ef-a0b2-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1725283970; x=1725888770; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=I1EQz+Bh/zIdTksmTIYlFFjGCJNCzD5NEDhhU2acvzA=; b=cve2PdZUnqBiIRz09mzbBRA0n5NAb03N9ah1K7Tlp+kobDgYYOCtZ9OsEGXDDaX4yE BsF44YbZVSy2mspIVSJnAbhg77ua07i6VECGFeJq/9++PzMVdFnFHIqD6gH+fz1WFBiN tDpZarZ63ZYE9anhnrZrzRhodbRIiT4Yo81Tk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725283970; x=1725888770; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I1EQz+Bh/zIdTksmTIYlFFjGCJNCzD5NEDhhU2acvzA=; b=YwcZ3HRSbH12lerQ1NHPFp20n11RJOTSskwODcBwDaUQVyaw7DO4lV2otoJjKG794+ hn5b3JAB8lldC7xlvgFTg8ug09edlRlmsSMf48zaJ2ESYhPD+U6zkYzf8dr0Yq7oqqgt Sh2psxqz6HpbpyqjY84FaIl8/XLhBoGJJhOnvUdZitdR5ulEa60OyudkXtAi9Sfjk6Ly Q384bHJMgwjRXAb50/Eakv2K2Gj4Vwa3qY8ujXEEhmdWbxFUCbAuZE0QuMwY1PmJZt6X odSYkc6Ji4VAZ2l2Bh0NtR3HnPsOEv28UeigYuAd4+j1JkZb4OnOPGiI+jBQhdxfO/KM WRSQ== X-Gm-Message-State: AOJu0YxO+rSnUjdpd6/zvpQEThV4h44NFPK9jZwOpEWbpEclO96Qhn+U t++CtArSu2oeafROyeFEecgWigP8Dwmywo6A0urjbh4yq9VJU59tcrvOHjjHMMRdb8XmELHnkK0 m X-Google-Smtp-Source: AGHT+IFzlcY1LHel0ItFhrDpvMs8DzWqskTqMcOJzz56Yozm2J+JdSn7/hYzkgkzGuXNXurXPFVN4w== X-Received: by 2002:a17:907:9490:b0:a72:40b4:c845 with SMTP id a640c23a62f3a-a8a1d4c36b9mr13352766b.51.1725283970051; Mon, 02 Sep 2024 06:32:50 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Frediano Ziglio Subject: [PATCH 0/4] xen/boot: Remove defs.h Date: Mon, 2 Sep 2024 14:32:28 +0100 Message-Id: <20240902133232.3302839-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Patch 1 posted in isolation before. Patches 2 and 3 complete the removal of defs.h. Patch 4 doesn't work yet and needs further debugging. Andrew Cooper (4): x86/boot: Use x86/boot: Use x86/boot: Use x86/boot: Use fastcall for 32bit code xen/arch/x86/boot/Makefile | 2 +- xen/arch/x86/boot/cmdline.c | 14 ++++++--- xen/arch/x86/boot/defs.h | 63 ------------------------------------- xen/arch/x86/boot/head.S | 15 +++++---- xen/arch/x86/boot/reloc.c | 26 ++++++++------- xen/include/xen/kernel.h | 36 +-------------------- xen/include/xen/lib.h | 2 -- xen/include/xen/macros.h | 44 ++++++++++++++++++++++++++ 8 files changed, 79 insertions(+), 123 deletions(-) delete mode 100644 xen/arch/x86/boot/defs.h base-commit: e884903ec56be8b0cc658cc5ba7c1cb70f25208d