From patchwork Fri Jun 2 22:46:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 688230 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp1102602wru; Fri, 2 Jun 2023 15:47:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6D/4/qCi9JneKK04CcndzuhoxSG/RZwu7leFNSmg2ibV34BvY+4HPlF2n0tiuPE2moJ9TQ X-Received: by 2002:a05:622a:647:b0:3f6:98c5:43b2 with SMTP id a7-20020a05622a064700b003f698c543b2mr16095819qtb.27.1685746053632; Fri, 02 Jun 2023 15:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685746053; cv=none; d=google.com; s=arc-20160816; b=kEtAg/OLQk3VIl94UirN2ikQ7S2zS8oDIE9kBacZ1S2yA2qN+mpjkRBIzi909tI396 wMPRszjTNuexNxbZPtFePDsLMi97daIJB/0mwWS9XcbWOctNO8IYXJyy4Ja6eLXDR6ic EPczEGoWlwaLhlACdQ6DrcP4DedgqhJC86fst1KKrGGxnWCx1ueWIhcJ/Ghi/BKeIq6R 6l4YPji9wZx4nx+ep/rwV71+ffHhvv4zwMz9NexSzo0q4TAh8JkzbR2UA9hMlzJ4gUY7 QjjIgZslS1J2csmk8kKXFrhL43Ebq2IvGl2zc4j3PLmGAcBkRFPwYg9fGjvQTkNdbfF+ 78YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bVMIqqWV5g+QPtoI6znu8aw+zNebYRSC5VAPbRhIAk4=; b=qXoEp3yIgdWbj9x6K4Spjc+qCQJqGzpD0ihlNg3FNoq534XwSwneG9g9ig9N7fWoNn ZfEPDBDltTQ6B85LJXzhuQuQOmxD9GGS2m34xd2BRpGGftfbiiOKXsgv6JJ3PgLqyfd5 EYA3BCxAObsHE0eru/tmJHqlBvQnPAW7zBgNQ+goCIlEYB/8KF4wRLxCdYexYrxr1nRh iiBIoktuXMFnxptSIXPXKPRKRrbFpgA4r+oIMWVllxrAbcl+uvjcwckm4JL3IeO4/9dx ybgVZZHkJRyeXalXTHnnnjQmhDAMgDcO3PrznlbN3pQdAKj0KmT/1eQ7R71Wpu7jcdU3 Em3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RAAKIvFO; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m11-20020a05622a054b00b003f6bece648dsi1501276qtx.659.2023.06.02.15.47.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Jun 2023 15:47:33 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RAAKIvFO; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5DXe-0005zC-7n; Fri, 02 Jun 2023 18:46:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5DXc-0005rg-LZ for qemu-devel@nongnu.org; Fri, 02 Jun 2023 18:46:40 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5DXa-00067s-Pr for qemu-devel@nongnu.org; Fri, 02 Jun 2023 18:46:40 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f6077660c6so24407605e9.0 for ; Fri, 02 Jun 2023 15:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685745996; x=1688337996; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bVMIqqWV5g+QPtoI6znu8aw+zNebYRSC5VAPbRhIAk4=; b=RAAKIvFOKZ4BOsaT5LTgvcBeqp6hGvTEFbek+gSjeDi2d5N5OWU+Kp89JLZfEhLR4j /4n54KJJihRRNi2+ggEzR3+TsUk1DiFYFXdFupO7Xgxjlh1Oajm4QZ9Mt3bycxmPUHW4 hBLiNpbvZA96Ll7wy3aqO6U5T8JWAx4l2I5Qx7TOxjsVIhzDrIAuAsvjHhRXdCtqOE39 bFS0zz6M9cvorr05rUYjGnUIT6Om3NaNY0Ykon4lQYS6illBsVC0W+KTdsPwzwqavjNk NsAsDyJFp5n5lG16yA88FFrf4BzgQyo59BVqrkAhj71YNHRctfpBz0HJaxTPTDwpRjrr h9gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685745996; x=1688337996; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bVMIqqWV5g+QPtoI6znu8aw+zNebYRSC5VAPbRhIAk4=; b=Ueo7Uc+0FHNanB6U8otkLnU5Ju9xTeayi2dm9krQ44zofAxrLEFbwX+4UQzTpq4nWl LWhHI6dne9KROJ6MmmaFIbYeKQSIyuF1ToBmGOjMBYZwl04yP1ZVMyMC2tndUWi+gAp7 59XfhSZzUrKrJbmyE/qgysfZxSL2/wTTKFBOVBrf8gkivomRvUQeYkDyXYWgsA6lo7ND b424TCIlQkDvoiVfD8VdBaK90K1+zTssVQXGHvYaQGjpMl3KT8jOlygCeFev9ItH+oUt VVnxF5vehORYjYJyAqmnKLHZfWAlVaKAXZ158VRuLTA8FeG6r1/pqBpHBRLPuaqfQudy wrDw== X-Gm-Message-State: AC+VfDz63EfTspbBJetpkzrNlGWT4U6yHenkEY9hbvGbNUmG0UXIjVV3 nvwf2o2Ywnp5hAdquo/dXT6lWZ5Dz9X38ZP6H1c= X-Received: by 2002:adf:cc91:0:b0:30a:e70d:9e73 with SMTP id p17-20020adfcc91000000b0030ae70d9e73mr1013224wrj.33.1685745996549; Fri, 02 Jun 2023 15:46:36 -0700 (PDT) Received: from localhost.localdomain ([176.187.218.254]) by smtp.gmail.com with ESMTPSA id z16-20020a7bc7d0000000b003f605814850sm6780530wmk.37.2023.06.02.15.46.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 02 Jun 2023 15:46:36 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 1/2] target/i386/helper: Remove do_cpu_sipi() stub for user-mode emulation Date: Sat, 3 Jun 2023 00:46:27 +0200 Message-Id: <20230602224628.59546-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230602224628.59546-1-philmd@linaro.org> References: <20230602224628.59546-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Since commit 604664726f ("target/i386: Restrict cpu_exec_interrupt() handler to sysemu"), do_cpu_sipi() isn't called anymore on user emulation. Remove the now pointless stub. Signed-off-by: Philippe Mathieu-Daudé --- target/i386/cpu.h | 3 ++- target/i386/helper.c | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/target/i386/cpu.h b/target/i386/cpu.h index 7201a71de8..cd047e0410 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -2285,7 +2285,6 @@ static inline void cpu_get_tb_cpu_state(CPUX86State *env, target_ulong *pc, } void do_cpu_init(X86CPU *cpu); -void do_cpu_sipi(X86CPU *cpu); #define MCE_INJECT_BROADCAST 1 #define MCE_INJECT_UNCOND_AO 2 @@ -2419,6 +2418,8 @@ void x86_cpu_set_default_version(X86CPUVersion version); #ifndef CONFIG_USER_ONLY +void do_cpu_sipi(X86CPU *cpu); + #define APIC_DEFAULT_ADDRESS 0xfee00000 #define APIC_SPACE_SIZE 0x100000 diff --git a/target/i386/helper.c b/target/i386/helper.c index 36bf2107e7..792c8eb45e 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -611,9 +611,6 @@ void do_cpu_sipi(X86CPU *cpu) void do_cpu_init(X86CPU *cpu) { } -void do_cpu_sipi(X86CPU *cpu) -{ -} #endif #ifndef CONFIG_USER_ONLY From patchwork Fri Jun 2 22:46:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 688231 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp1102609wru; Fri, 2 Jun 2023 15:47:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4AeCIKdo+umah6C/A3TpESblva1hZ2q0ukbxgmK1dWg6r41EA2OG0AUzs7Mt3eixfCB0A/ X-Received: by 2002:ac8:7f4c:0:b0:3f4:e0cc:739c with SMTP id g12-20020ac87f4c000000b003f4e0cc739cmr16464754qtk.27.1685746056402; Fri, 02 Jun 2023 15:47:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685746056; cv=none; d=google.com; s=arc-20160816; b=r1tw/PLxe/qGw2hpgz3Up78okYM3Osahc/STungYUZYgRkqiKXmT7HalNKqaHBCOF0 E+TZwU5stX2EVEMjNPmVxNCLily4VNxf/ShOOQZvj52qQO9JTuv7ynqO5HjcjXmHwz76 XSj2tf64ZeEDkEG44Ebaqc67WoPSlagdr4ab7Y3b4ZrJyFUzwyAT8FAxWRApoUWaaFWA M8Jn7X6Q4N00YtTPVMfBV4hscdGiaJBrG8U5YdoxNmMUp7e+GZuaiWiaJvbhrT+5/Fdm OwNkdDHOm+4H716dJr+P+dwLUCWVl+0uIgvrhjn/GE8Ws3XsLNBqizutB5sWhet3UiFJ 9mRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0gNfQtcCbE29jWLrUa/owBOh0KyyzbAKaOwkeSeQTqs=; b=0RH53lbnFUbYIvipQvsH6dyKRxabcfgwNHT1hi0teXGm0nEsHAYFSXfZYU/2F7dl6t Ziw12PxW3ypsFFoCAqxZk1+jbI4YhtxYNFlX2jlUc5Z2vFVADPFSe3rVSRxL3UxmWNva 8Nd5X4jczvZDcvYcbc/WId5zRHrbjzC5EWbX7HB/kOjSf5H175SZ/FWf4U6+zSbzcwP9 l17aIZW/mPwhYR+viB1uXsGsCxCH7xPpo4XvukRmzf+vhU7c3RIXJYQcZ0Vd/KnMgWHH 6gytvX0R2mqUsTIUA4wJsI90rSyf8RgEPVGu1G7HNasFAj/PRNQBcw8NK1n9t1h0R+jq LbrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x0c74BJV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r18-20020ac85c92000000b003f38c6f17ecsi1529324qta.201.2023.06.02.15.47.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Jun 2023 15:47:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x0c74BJV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5DXj-0006GO-Tj; Fri, 02 Jun 2023 18:46:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5DXi-0006Bw-3L for qemu-devel@nongnu.org; Fri, 02 Jun 2023 18:46:46 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5DXg-00068c-Jc for qemu-devel@nongnu.org; Fri, 02 Jun 2023 18:46:45 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3f60e730bf2so26582895e9.1 for ; Fri, 02 Jun 2023 15:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685746002; x=1688338002; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0gNfQtcCbE29jWLrUa/owBOh0KyyzbAKaOwkeSeQTqs=; b=x0c74BJVTWVGjiJ4F2FO7a6C29q9ftHFn6mbmYeE6KLovs8feonrnlIjDb55ZKNwfK DnGI/FsuE57JcD1/xT6oBXc2MZTOdkU1NrVZdmEJD0TkzQYjja1X/5CBOx5f/GyAabKV 5n/ngXu/WE5qNN42eyyh96vgDD13FE05jria7SGs79VJjWjB+QaYz2aTRmiZe32BofZ+ d/CG1n2v6ODhWWyM/NPM5MQaYhndpSfyx0KZXRm9WcH680StOnN3GlomHr+MxxLjQeaC VwLIwTbPGQikaf1O/D0Kcin8QHZ044aERO5/eh5ShjB2IynTCTacS3tEay4H1K8KLqLR ffPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685746002; x=1688338002; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0gNfQtcCbE29jWLrUa/owBOh0KyyzbAKaOwkeSeQTqs=; b=ZB/05rQSSa7DQIEeypeZhKatgRCZFnmbx4JqqVYdsL6ZDA7NNIVtfuTJ2sGoUulzBD sVGYgF/PfuhHmRQYkq4Q9UjnsPupIYn+UoHBCO62x+5f88Wgut+EcdKOHUOov5/u62Ov 0skLp5y7bP9yCXvCNj0n5tka2NflGSbHD7oR09RhXzYWSLq9LRWr6xog2VBKRGkmBVYG 0MZa8VzKOSp8+cUrCXDBRikvJMOVZLVJIjkkmZgB78pgLxsGJtLGm1K/bF//J/gsEqz3 SzuAu2TcClvGWj9qJ31GEKRab3Ev6rrVC7jI43+KCsqHGZIUzJgCuow1A/nMTIUubrsU oTpQ== X-Gm-Message-State: AC+VfDwbEd8KPDnWsnv/mNglk+PjPAX/y8Hv4bycGke76otJy2UKQZ/b ErUe3S9xBrQGydsBwD7P6Y7ONR9kZtLySYS2qQc= X-Received: by 2002:adf:ec87:0:b0:30a:e9bd:b4cf with SMTP id z7-20020adfec87000000b0030ae9bdb4cfmr916199wrn.52.1685746001875; Fri, 02 Jun 2023 15:46:41 -0700 (PDT) Received: from localhost.localdomain ([176.187.218.254]) by smtp.gmail.com with ESMTPSA id b9-20020a05600010c900b0030ae87bd3e3sm2791277wrx.18.2023.06.02.15.46.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 02 Jun 2023 15:46:41 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/2] target/i386/helper: Shuffle do_cpu_init() Date: Sat, 3 Jun 2023 00:46:28 +0200 Message-Id: <20230602224628.59546-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230602224628.59546-1-philmd@linaro.org> References: <20230602224628.59546-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=philmd@linaro.org; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Move the #ifdef'ry inside do_cpu_init() instead of declaring an empty stub for user emulation. Signed-off-by: Philippe Mathieu-Daudé --- target/i386/helper.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/target/i386/helper.c b/target/i386/helper.c index 792c8eb45e..89aa696c6d 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -580,9 +580,9 @@ int cpu_x86_get_descr_debug(CPUX86State *env, unsigned int selector, return 1; } -#if !defined(CONFIG_USER_ONLY) void do_cpu_init(X86CPU *cpu) { +#if !defined(CONFIG_USER_ONLY) CPUState *cs = CPU(cpu); CPUX86State *env = &cpu->env; CPUX86State *save = g_new(CPUX86State, 1); @@ -601,19 +601,15 @@ void do_cpu_init(X86CPU *cpu) kvm_arch_do_init_vcpu(cpu); } apic_init_reset(cpu->apic_state); +#endif /* CONFIG_USER_ONLY */ } +#ifndef CONFIG_USER_ONLY + void do_cpu_sipi(X86CPU *cpu) { apic_sipi(cpu->apic_state); } -#else -void do_cpu_init(X86CPU *cpu) -{ -} -#endif - -#ifndef CONFIG_USER_ONLY void cpu_load_efer(CPUX86State *env, uint64_t val) {