feat: gdt, attributes move, reorder
Added late gdt setup with initial tss Moved attributes to include root Reordered some imports
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
// Created by rick on 06-02-21.
|
||||
//
|
||||
|
||||
#include <attributes.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <myke/libk/libk.h>
|
||||
#include <myke/tasks/task.h>
|
||||
#include <myke/tasks/locking.h>
|
||||
#include <myke/attributes.h>
|
||||
#include <myke/fs/blockdev.h>
|
||||
#include <myke/libk/libk.h>
|
||||
#include <myke/tasks/locking.h>
|
||||
#include <myke/tasks/task.h>
|
||||
|
||||
#define MAX_BLOCK_DEVS 64
|
||||
|
||||
@@ -122,7 +122,7 @@ void block_dev_scan() {
|
||||
}
|
||||
}
|
||||
|
||||
void noreturn block_dev_task(void *data) {
|
||||
void att_noreturn block_dev_task(void *data) {
|
||||
while (true) {
|
||||
semaphore_wait(block_semaphore);
|
||||
block_dev_scan();
|
||||
|
||||
Reference in New Issue
Block a user