mirror of https://github.com/tailix/kernel.git
Remove "src/tasks/"
This commit is contained in:
parent
ad77ea556e
commit
b6e0952aa3
|
@ -36,8 +36,6 @@ OBJS += timer.c.o
|
||||||
|
|
||||||
OBJS += protected.c.o
|
OBJS += protected.c.o
|
||||||
|
|
||||||
OBJS += tasks.asm.cpp.o
|
|
||||||
|
|
||||||
OBJS += interrupts/main.asm.cpp.o
|
OBJS += interrupts/main.asm.cpp.o
|
||||||
OBJS += interrupts/exception.c.o
|
OBJS += interrupts/exception.c.o
|
||||||
OBJS += interrupts/hwint.c.o
|
OBJS += interrupts/hwint.c.o
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
#include "panic.h"
|
#include "panic.h"
|
||||||
#include "protected.h"
|
#include "protected.h"
|
||||||
|
|
||||||
#include "tasks.h"
|
|
||||||
|
|
||||||
#include <kernaux/drivers/console.h>
|
#include <kernaux/drivers/console.h>
|
||||||
#include <kernaux/multiboot2.h>
|
#include <kernaux/multiboot2.h>
|
||||||
#include <kernaux/pfa.h>
|
#include <kernaux/pfa.h>
|
||||||
|
|
|
@ -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
|
|
|
@ -1,6 +0,0 @@
|
||||||
#ifndef KERNEL_INCLUDED_TASKS
|
|
||||||
#define KERNEL_INCLUDED_TASKS 1
|
|
||||||
|
|
||||||
void tasks_switch_to_user(unsigned long base);
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue