Added fillmeup support for the e1000 driver
[akaros.git] / tests / breakpoint.c
index 03793f1..124bc6c 100644 (file)
@@ -1,19 +1,6 @@
 // program to cause a breakpoint trap
 
-// TODO: have arch specific user includes
-#ifdef __i386__
-static __inline void
-breakpoint(void)
-{
-       __asm __volatile("int3");
-}
-#else
-static __inline void
-breakpoint(void)
-{
-       asm volatile ("ta 0x7f");
-}
-#endif
+#include <arch/arch.h>
 
 int main(int argc, char** argv)
 {