Re: [PATCH] Workaround for the keyboard hang problem in intel mac

2008-05-07 Thread Bean
On Thu, May 8, 2008 at 1:09 AM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > On Wed, 2008-05-07 at 21:55 +0800, Bean wrote: > > > + /* > > + * Due to a bug in apple's bootcamp implementation, INT 16/AH = 0 > would > > + * cause the machine to hang at the second keystroke. However, we

Re: [PATCH] Workaround for the keyboard hang problem in intel mac

2008-05-07 Thread Pavel Roskin
On Wed, 2008-05-07 at 21:55 +0800, Bean wrote: > + /* > + * Due to a bug in apple's bootcamp implementation, INT 16/AH = 0 would > + * cause the machine to hang at the second keystroke. However, we can > + * work around this problem by ensuring the presence of keystroke with > +

Re: [PATCH] Workaround for the keyboard hang problem in intel mac

2008-05-07 Thread Bean
On Wed, May 7, 2008 at 8:55 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > I think it'd be nice to have a comment there explaining why this is done. Hi, You're right, here is the patch with comment: diff --git a/kern/i386/pc/startup.S b/kern/i386/pc/startup.S index 5d4bbcb..a67bf6d 100644 --- a

Re: [PATCH] Workaround for the keyboard hang problem in intel mac

2008-05-07 Thread Robert Millan
On Wed, May 07, 2008 at 01:12:08AM +0800, Bean wrote: > Hi, > > This patch fix the keyboard hang problem when using boot camp to load > legacy system. > > diff --git a/kern/i386/pc/startup.S b/kern/i386/pc/startup.S > index 5d4bbcb..455233a 100644 > --- a/kern/i386/pc/startup.S > +++ b/kern/i386/