summaryrefslogtreecommitdiff
path: root/kernel/interrupts.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-10-20 18:54:18 +0200
committerMichal Idziorek <m.i@gmx.at>2014-10-20 18:54:18 +0200
commit813272cd88cc6c0a1dfbb121d2130fc849042c8a (patch)
tree61b8ede4a5c191c491621f0185d3a442ff5407dd /kernel/interrupts.c
parent2f6fe94d436347c4d886407dbfd44b6ac1aa41fa (diff)
1st userspace programm and partial newlib support!
Diffstat (limited to 'kernel/interrupts.c')
-rw-r--r--kernel/interrupts.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/interrupts.c b/kernel/interrupts.c
index 56fa09f..80375c2 100644
--- a/kernel/interrupts.c
+++ b/kernel/interrupts.c
@@ -83,21 +83,6 @@ void int_irq16(){ X86_IRQ_BEGIN panic(FOOLOS_MODULE_NAME,"Coprocessor error");
void int_irq17(){ X86_IRQ_BEGIN panic(FOOLOS_MODULE_NAME,"Alignment Check"); X86_IRQ_END }
void int_irq18(){ X86_IRQ_BEGIN panic(FOOLOS_MODULE_NAME,"Machine Check"); X86_IRQ_END }
-//
-int example_syscall(int x,int y)
-{
- log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"example syscall called with %d + %d",x,y);
- return x+y;
-
-}
-
-int example_syscall_2(int x,int y)
-{
- log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"example syscall 2 called with %d - %d",x,y);
- return x-y;
-}
-
-//
//set a handler for a specific interrupt
void int_install_ir(int irq, uint16_t flags, uint16_t sel, void *addr)