1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 07:37:44 +00:00

Add an lstat() syscall and use it to make "ls" nicer.

This commit is contained in:
Andreas Kling 2018-10-24 13:19:36 +02:00
parent bca4b71bfa
commit 5f36a5f22e
10 changed files with 118 additions and 2 deletions

View file

@ -10,6 +10,7 @@ PRIVATE BYTE current_attr = 0x07;
void vga_scroll_up()
{
InterruptDisabler disabler;
memcpy(vga_mem, vga_mem + 160, 160 * 24);
memset(vga_mem + (160 * 24), 0, 160);
}