Remove "src/tasks/"

This commit is contained in:
Alex Kotov 2022-06-25 14:01:04 +03:00
parent ad77ea556e
commit b6e0952aa3
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
4 changed files with 0 additions and 30 deletions

View File

@ -36,8 +36,6 @@ OBJS += timer.c.o
OBJS += protected.c.o
OBJS += tasks.asm.cpp.o
OBJS += interrupts/main.asm.cpp.o
OBJS += interrupts/exception.c.o
OBJS += interrupts/hwint.c.o

View File

@ -5,8 +5,6 @@
#include "panic.h"
#include "protected.h"
#include "tasks.h"
#include <kernaux/drivers/console.h>
#include <kernaux/multiboot2.h>
#include <kernaux/pfa.h>

View File

@ -1,20 +0,0 @@
#include "config.h"
[GLOBAL tasks_switch_to_user]
tasks_switch_to_user:
mov ebx, [esp+4]
mov ax, GDT_USER_DS_SELECTOR
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov eax, esp
push GDT_USER_DS_SELECTOR
push eax
pushf
push GDT_USER_CS_SELECTOR
push ebx
iret

View File

@ -1,6 +0,0 @@
#ifndef KERNEL_INCLUDED_TASKS
#define KERNEL_INCLUDED_TASKS 1
void tasks_switch_to_user(unsigned long base);
#endif