Skip to content

Commit

Permalink
Added an image of yaos running in qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
haltode committed Apr 15, 2017
1 parent 882b99b commit 76edb17
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $ make run

### What you should see

TODO: insert images
![yaos running in qemu](/img/yaos_running.png)

## Resources used for this project

Expand Down
Binary file added img/yaos_running.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions kernel/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,11 @@ void kernel_main(Multiboot_info *args)
vfs_init();
kernel_log(INFO_MSG, "Virtual file system initialized");

puts("");
puts("Hello kernel world!");

syscall_init();
enter_user_space();

puts("");
puts("Hello user world!");
printf("============================== USER SPACE ==============================");

shell_init();
}
1 change: 1 addition & 0 deletions kernel/user/shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ void shell_init(void)
size_t i;
char c;
while(true) {
puts("");
printf("user: %s> ", current_dir->name);

i = 0;
Expand Down

0 comments on commit 76edb17

Please # to comment.