diff cos/kernel/klib.c @ 29:7e3bdcb391dc

Added get_page function to mm
author windel
date Thu, 29 Dec 2011 19:34:01 +0100
parents 47b7df514243
children 3a6a9b929db0
line wrap: on
line diff
--- a/cos/kernel/klib.c	Wed Dec 28 13:38:43 2011 +0100
+++ b/cos/kernel/klib.c	Thu Dec 29 19:34:01 2011 +0100
@@ -1,5 +1,10 @@
 #include "kernel.h"
 
+void magicBochsBreak()
+{
+   asm volatile("xchg %bx, %bx");
+}
+
 void panic(char *msg) 
 {
    printf("Kernel panic: ");