From nobody Fri Feb 3 15:50:43 2023 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 4P7g9J0swdz3kRmt; Fri, 3 Feb 2023 15:50:44 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P7g9J0Bylz3J38; Fri, 3 Feb 2023 15:50:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675439444; 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=PB4Un/9MAwoQMEztfSSvnEf8DkWQlXQe+0Cq/ReZCd4=; b=A+v1zeDzzPlWnXIqAlrDjz3J+O/8eXiy2pHGPP2Rqt6p5pzVfRLgDcsL5RhEFlXk8DnkZK 31jCnMCWh8q9zcGIY9kL+C2CR0cnSQUrX/yoeSvW38d8Tu5LZdsB9ptkDLbUL3lgKQDPoG igYtnI9oXFMQ/8fCBbaQIc+saaVbsuFSBcfRbfYDYlLNQG3FxHBvHmyTipX4882Pn932t7 uXQrSjzJPcil988SiHVTSg5NhJMl75BZKMuXeYxmnSDQ/8MkBt1bVmP1WuyfeAo+6nVB98 surX1GQqLFLpmGC/k44svwNDJNEmXHqpsUyEgQBJ3eNcMy541aIJW+LQAG0MhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675439444; 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=PB4Un/9MAwoQMEztfSSvnEf8DkWQlXQe+0Cq/ReZCd4=; b=trxzynqaiw6VMO8HA0msh2Qm/1uw2RHDIchYAS2vAD7nM16gOjn83Y+5wpa5F1/EE5peiq V9V2VQx9L+D+Raz9RGLy2OMs+/um1SWaA3RxU4qB+b4010v9F21ZmB6hnIJU+XLUEp/xk6 H753vnJ6LeinOGMXieDhjFZOLdTtpAssCAwtBVkRnvWQvw+uu3g6LQ1xNkehkucNexL0CP 2uERAjQXNjXM7FnX6i4u7xqXk6AW1o/ols90zN2bYcnGnBhE2CkJFXwIUUJaHnqZHnz/Eu TyzO8FEAYibckg/cWa//fuyurkuJdJmLcGXa1jse6yiYMO2H+JadfH/7YTot5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675439444; a=rsa-sha256; cv=none; b=FvYWWrdnd0zWhcvGI9dFeuF0et14g2/j+qxBwiCbrJIwSs0WDbw8f+p1PACoyr7t8ecPO3 SZ6ERFVBcnOvyP1iUdNJzI2qIu9j8ioG0MWjP3VBJKniuwozT6+EXTlZRXSkt85nCRUotZ EDNapZ9glh21bLqPm1KfkAtrxh9S5Y2iEf703FBG5fPDrLgWlBzmK0jpaqgRyt9dxb5sdp 9Xu7DC+PBqVsQFrSEJEmXrESpPJAAV34+T9aAeyonnITIDYVxmWtUtwA7pO/ItdWIkWg72 5KiwkzYX9t6arwYJWVULHZUn2E68Z7NQtLiqZ2Wes4VqdMSkxbfleNMvVnchNA== 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 4P7g9H6QbJzgNG; Fri, 3 Feb 2023 15:50:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 313FohF3023112; Fri, 3 Feb 2023 15:50:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 313Foh4p023111; Fri, 3 Feb 2023 15:50:43 GMT (envelope-from git) Date: Fri, 3 Feb 2023 15:50:43 GMT Message-Id: <202302031550.313Foh4p023111@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: d1a3cc0abeef - main - kboot: Define bi_loadsmap for loading memory maps 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: 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: d1a3cc0abeef73de739588b7b4ca812d927ab649 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=d1a3cc0abeef73de739588b7b4ca812d927ab649 commit d1a3cc0abeef73de739588b7b4ca812d927ab649 Author: Warner Losh AuthorDate: 2023-02-03 15:39:24 +0000 Commit: Warner Losh CommitDate: 2023-02-03 15:41:39 +0000 kboot: Define bi_loadsmap for loading memory maps Each architecture will soon be required to provide this to load memory maps as metadata for the platforms that require it (or a stub function for those that don't). Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D38252 --- stand/kboot/kboot.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/kboot/kboot.h b/stand/kboot/kboot.h index 4a8fe497339e..4211f21adcb6 100644 --- a/stand/kboot/kboot.h +++ b/stand/kboot/kboot.h @@ -17,6 +17,8 @@ struct memory_segments }; bool enumerate_memory_arch(void); +struct preloaded_file; +void bi_loadsmap(struct preloaded_file *kfp); bool has_acpi(void); vm_offset_t acpi_rsdp(void);