Cleanup the remaining OS1 references

This commit is contained in:
2024-04-01 12:45:49 +02:00
parent 7ca402d274
commit 3fd356138b
15 changed files with 41 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
#ifndef OS1_GDT_H
#define OS1_GDT_H
#ifndef FICUS_GDT_H
#define FICUS_GDT_H
#include <cstdint>

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 13.08.2023.
//
#ifndef OS1_GLOBALS_H
#define OS1_GLOBALS_H
#ifndef FICUS_GLOBALS_H
#define FICUS_GLOBALS_H
#include <cstdint>
@@ -16,4 +16,4 @@ extern AddressSpace *KERN_AddressSpace;
#define TASK_POINTER 0x10000
#endif //OS1_GLOBALS_H
#endif //FICUS_GLOBALS_H

View File

@@ -1,5 +1,5 @@
#ifndef OS1_IDT_H
#define OS1_IDT_H
#ifndef FICUS_IDT_H
#define FICUS_IDT_H
#include <cstddef>
#include <cstdint>

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 12.08.2023.
//
#ifndef OS1_IO_H
#define OS1_IO_H
#ifndef FICUS_IO_H
#define FICUS_IO_H
#include <stdint.h>
@@ -27,4 +27,4 @@ static inline void io_wait(void) {
outb(0x80, 0);
}
#endif //OS1_IO_H
#endif //FICUS_IO_H

View File

@@ -1,5 +1,5 @@
#ifndef OS1_KMEM_H
#define OS1_KMEM_H
#ifndef FICUS_KMEM_H
#define FICUS_KMEM_H
#ifdef __cplusplus
extern "C" {

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 12.08.2023.
//
#ifndef OS1_LIMINE_FB_H
#define OS1_LIMINE_FB_H
#ifndef FICUS_LIMINE_FB_H
#define FICUS_LIMINE_FB_H
#include "limine.h"
@@ -16,4 +16,4 @@ extern int framebuffer_count;
extern struct limine_framebuffer framebuffers[10];
#endif //OS1_LIMINE_FB_H
#endif //FICUS_LIMINE_FB_H

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 12.08.2023.
//
#ifndef OS1_LIMINE_MM_H
#define OS1_LIMINE_MM_H
#ifndef FICUS_LIMINE_MM_H
#define FICUS_LIMINE_MM_H
#include "limine.h"
@@ -15,4 +15,4 @@ extern unsigned int limine_mm_overflow;
void limine_mm_save_response();
#endif //OS1_LIMINE_MM_H
#endif //FICUS_LIMINE_MM_H

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 12.08.2023.
//
#ifndef OS1_MEMMAN_H
#define OS1_MEMMAN_H
#ifndef FICUS_MEMMAN_H
#define FICUS_MEMMAN_H
#include "limine.h"
enum PageStatus {
@@ -27,4 +27,4 @@ void *get4k();
void free4k(void *page);
uint64_t get_free();
#endif //OS1_MEMMAN_H
#endif //FICUS_MEMMAN_H

View File

@@ -1,5 +1,5 @@
#ifndef OS1_MISC_H
#define OS1_MISC_H
#ifndef FICUS_MISC_H
#define FICUS_MISC_H
#include <stdint.h>

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 09.08.2023.
//
#ifndef OS1_PAGING_H
#define OS1_PAGING_H
#ifndef FICUS_PAGING_H
#define FICUS_PAGING_H
#include <stddef.h>
#include <stdint.h>
@@ -77,4 +77,4 @@ void map_hhdm(uint64_t *pml4);
extern "C" void _tlb_flush();
#endif //OS1_PAGING_H
#endif //FICUS_PAGING_H

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 12.08.2023.
//
#ifndef OS1_SERIAL_H
#define OS1_SERIAL_H
#ifndef FICUS_SERIAL_H
#define FICUS_SERIAL_H
#include "misc.hpp"
@@ -18,4 +18,4 @@ void writestr(const char *a);
void write_serial_no_yield(char a);
void writestr_no_yield(const char *a);
#endif //OS1_SERIAL_H
#endif //FICUS_SERIAL_H

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 18.08.2023.
//
#ifndef OS1_TASK_H
#define OS1_TASK_H
#ifndef FICUS_TASK_H
#define FICUS_TASK_H
#include "List.hpp"
#include "PointersCollection.hpp"
@@ -114,4 +114,4 @@ namespace Scheduler {
// Expects the caller to save interrupt state
extern "C" void _yield_self_kern();
#endif //OS1_TASK_H
#endif //FICUS_TASK_H

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 14.08.2023.
//
#ifndef OS1_TIMER_H
#define OS1_TIMER_H
#ifndef FICUS_TIMER_H
#define FICUS_TIMER_H
#include <atomic>
#include <cstdint>
@@ -14,4 +14,4 @@ extern volatile std::atomic<uint64_t> micros;
void init_timer();
void timer_tick();
#endif //OS1_TIMER_H
#endif //FICUS_TIMER_H

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 25.08.2023.
//
#ifndef OS1_TTY_H
#define OS1_TTY_H
#ifndef FICUS_TTY_H
#define FICUS_TTY_H
#include "Spinlock.hpp"
#include "Tty.hpp"
@@ -25,4 +25,4 @@ public:
extern TtyManager GlobalTtyManager;
#endif //OS1_TTY_H
#endif //FICUS_TTY_H

View File

@@ -2,8 +2,8 @@
// Created by Stepan Usatiuk on 20.08.2023.
//
#ifndef OS1_MUTEX_H
#define OS1_MUTEX_H
#ifndef FICUS_MUTEX_H
#define FICUS_MUTEX_H
#include <atomic>
#include <cstddef>
@@ -39,4 +39,4 @@ private:
};
#endif //OS1_MUTEX_H
#endif //FICUS_MUTEX_H