Date: Mon, 21 Jun 2021 03:29:12 GMT From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 537a44bf2815 - main - stand/common command_boot: Pass tslog to kernel Message-ID: <202106210329.15L3TC29076343@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=537a44bf281559d304850b5e28b6f8b8e44fd593 commit 537a44bf281559d304850b5e28b6f8b8e44fd593 Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2021-05-30 23:22:28 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2021-06-21 03:09:46 +0000 stand/common command_boot: Pass tslog to kernel Pass the recorded tslog buffer to the kernel as a "preloaded module". Reviewed by: kevans --- stand/common/boot.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stand/common/boot.c b/stand/common/boot.c index 2103f6dc240c..5ce6fe8a6760 100644 --- a/stand/common/boot.c +++ b/stand/common/boot.c @@ -113,6 +113,9 @@ command_boot(int argc, char *argv[]) #endif #endif + /* Pass the tslog buffer to the kernel as a preloaded module. */ + tslog_publish(); + /* Call the exec handler from the loader matching the kernel */ file_formats[fp->f_loader]->l_exec(fp); return(CMD_ERROR);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106210329.15L3TC29076343>