Muli Ben-Yehuda's journal

March 3, 2004

Filed under: Uncategorized — Muli Ben-Yehuda @ 11:49 AM

From the coLinux Linux kernel patch:

diff -urN linux/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
--- linux/arch/i386/kernel/entry.S	2004-02-02 22:53:38.000000000 +0200
+++ linux/arch/i386/kernel/entry.S	2003-12-17 19:07:36.000000000 +0200
@@ -207,6 +207,28 @@
 	jne tracesys
 	cmpl $(NR_syscalls),%eax
 	jae badsys
+#ifdef CONFIG_COOPERATIVE
+#if (0)
+	jmp printk_colxm_after
+printk_colxm:		
+	.asciz "syscall: %d\n"
+printk_colxm_after:
+	/* mini-mini-mini version of syscalltrack, hey muli */ <---- 
+	cmp $3, %eax
+	jbe after_print
+	cmp $240, %eax
+	jb print_it
+	jmp after_print

2 Comments »

  1. That is what happens when you leave around some debug cruft…

    Comment by da_x — March 3, 2004 @ 9:49 PM | Reply

  2. Muli the manager/hacker/athlete
    Hey Muli,
    It is good to see you blogging again. It is hard to make time for the things that are important, especially when things are busy.
    I’m sorry to hear about the DMA mapping in direct assignment paper, but I am sure it will get into something soon (looking forward to it).
    It is funny how you say kilograms and not pounds, it just sounds funny to me.
    Good luck with everything and hope things are going well.
    Cheers,
    Todd

    Comment by Anonymous — April 5, 2009 @ 6:28 PM | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: