stand/common command_boot: Pass tslog to kernel

Pass the recorded tslog buffer to the kernel as a "preloaded module".

Reviewed by:	kevans
This commit is contained in:
Colin Percival 2021-05-30 23:22:28 +00:00
parent f49381ccb6
commit 537a44bf28

View file

@ -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);