summaryrefslogtreecommitdiff
path: root/kernel/task.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-09-03 00:15:51 +0200
committerMichal Idziorek <m.i@gmx.at>2014-09-03 00:15:51 +0200
commitaad04a2208fbde8db2c1a81d6057c1ac4edb390e (patch)
tree87f3b47c5f85d6c7c5921e799571b42906d0eb0a /kernel/task.c
parent1a3a3a20773a5664c653a8aebcd10d288962285b (diff)
ACPI support !
Diffstat (limited to 'kernel/task.c')
-rw-r--r--kernel/task.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/kernel/task.c b/kernel/task.c
index b1c2657..b94d5e4 100644
--- a/kernel/task.c
+++ b/kernel/task.c
@@ -10,31 +10,25 @@ int started;
void task_test1()
{
- uint16_t c1;
+ uint32_t c;
while(1)
{
- c1++;
- asm("cli");
-
- PutString("cpu1 / task1: %03d", 0,560,0xffffff, c1/100);
-
- asm("sti");
+ c++;
+ while(1)PutString("task0: %d", 00,500,0b1111100000000000, (c++));
}
}
void task_test2()
{
- uint16_t c2;
+ uint32_t c;
while(1)
{
- c2++;
- asm("cli");
- PutString("cpu1 / task2: %03d", 0,580,0xffffff, c2/100);
+ c++;
+ while(1)PutString("task1: %d", 200,500,0b1111100000000000, (c++));
- asm("sti");
}
}