Skip to content

Commit

Permalink
More changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaerr committed Sep 16, 2024
1 parent 118a871 commit eba726a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions elks/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ static void INITPROC kernel_init(void)

/* set console from /bootopts console= or 0=default*/
set_console(boot_console);

console_init(); /* init direct, bios or headless console*/

#ifdef CONFIG_CHAR_DEV_RS
Expand All @@ -184,12 +183,12 @@ static void INITPROC kernel_init(void)
running_qemu = 1;
#endif

device_init();

#ifdef CONFIG_SOCKET
sock_init();
#endif

device_init(); /* interrupts enabled here for possible disk I/O */

#ifdef CONFIG_BOOTOPTS
finalize_options();
if (!opts) printk("/bootopts not found or bad format/size\n");
Expand Down

0 comments on commit eba726a

Please sign in to comment.