From nobody Tue Oct 15 11:14:03 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XSWgw1mDtz5YmRg; Tue, 15 Oct 2024 11:14:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSWgv6G0rz4ZMb; Tue, 15 Oct 2024 11:14:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728990843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xJkiip/U6dsB3Unj2yvZL9PvDFgM7OMXKggWuNwxx+Q=; b=Q9PVxiddHsRYLHrvVPXfNuBL1t/QnRA5kDPgV/6DnR8U66OouNs6cWvV9gaDp3NtowWRIc bBFWB+UDKMFp3JRrya4qA3T3NWYq+Hq2wywNUyKxnx3IkoqC39VQ2aECQhDYvBmT3vu2rU I0DXHK9+bRmoCSW6ZDZh3NjMGsxF+RW689Cgj8rcIN/MAVvUBIE7zHDEW6WqmaOrTne9gL 3/M2uFWskAnTFlL6v3+F6RyuqCsBgYtS6RSYHV3rnE+b9A5WAgdSNJkYOqgJMlbBaIFB7Q zHhFJEhyee9z5tobwyxbjzNwNlZRJW7J7BzEX93fhvIblasi9QMJ2OHwd1+kuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728990843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xJkiip/U6dsB3Unj2yvZL9PvDFgM7OMXKggWuNwxx+Q=; b=S50qYBzRhDUH5JzgJkbs4x5EA2Bzm5hNVzRAK4RD7jTF/hQoabEQdyVDgk0ukioBisSq8X HP8ZNpiQApdEqHehuOOgrLVioNqXWkZRNWCFnr5bMPexNp4bPg6Z/k7HxJfVbXF1zB6ZcN zS5YYu0I9Shp5gVZ1oCPme4oDlIyt4W3+tJCUtGOBxJGVqnaQ0sQWceWhgMX8KFjdvgEqp HfB22xsdQihCHIFEADoEq1xCGPpM8Mj7tMkN36AmaFA3zr3EAOqG/aMkHO76biI3NBYM+K 0tgKd7+eBDxTDJAwb/SR3cyG0k4CgRsV3RXu5PWM0jbHTholAeCSBaAgF0v5+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728990843; a=rsa-sha256; cv=none; b=vF1xdwWFpbyY1XWdzHNNMoQno/WUfZKJMnAPhktX7Tflg+eNv+80MyYvyBbiTtYqXeb9bh k/8i9Ap1QoeoWbPFZdQGKmpdb24DDDPS9VcYFnz6tTT///SXtvIe+2ewqMRztRvlHCovE2 cjbRQvClPc0bpbZbDeeAeH388P6+jbXDp1CaZFwT83Q96pFqcYqtokChiXwQ7UE2elJT7a 7hgQYGxjZXaHTB9K0TuJRv2OlyllHKgeCTMspWIvwWjNHmBPeM60EiPOiWaoPRY3/0CTek 40m0NJaaSp8WTYBdKRWmuCRS3mNWy9gT6sJRuA8qSHDQhnZPbJ0gawtCRgDsoA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XSWgv5sJ3zKYX; Tue, 15 Oct 2024 11:14:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49FBE3RV097988; Tue, 15 Oct 2024 11:14:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49FBE3Q0097985; Tue, 15 Oct 2024 11:14:03 GMT (envelope-from git) Date: Tue, 15 Oct 2024 11:14:03 GMT Message-Id: <202410151114.49FBE3Q0097985@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: c5f3a7f62217 - main - loader.efi: Make rsdp global List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c5f3a7f62217f20f0c7b2c4fc3fb2646336b0802 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c5f3a7f62217f20f0c7b2c4fc3fb2646336b0802 commit c5f3a7f62217f20f0c7b2c4fc3fb2646336b0802 Author: Warner Losh AuthorDate: 2024-10-15 11:10:27 +0000 Commit: Warner Losh CommitDate: 2024-10-15 11:10:27 +0000 loader.efi: Make rsdp global Make rsdp pointer to the RSDP global so we can look up other tables. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D47083 --- stand/efi/loader/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index 508e7ad2db36..400d46965c61 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -110,6 +110,11 @@ UINT16 boot_current; */ EFI_LOADED_IMAGE *boot_img; +/* + * RSDP base table. + */ +ACPI_TABLE_RSDP *rsdp; + static bool has_keyboard(void) { @@ -915,7 +920,6 @@ ptov(uintptr_t x) static void acpi_detect(void) { - ACPI_TABLE_RSDP *rsdp; char buf[24]; int revision;