From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265770AbUGAOb3 (ORCPT ); Thu, 1 Jul 2004 10:31:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265701AbUGAO3r (ORCPT ); Thu, 1 Jul 2004 10:29:47 -0400 Received: from kinesis.swishmail.com ([209.10.110.86]:44037 "EHLO kinesis.swishmail.com") by vger.kernel.org with ESMTP id S265530AbUGAO26 (ORCPT ); Thu, 1 Jul 2004 10:28:58 -0400 Message-ID: <40E4249C.5090400@techsource.com> Date: Thu, 01 Jul 2004 10:50:04 -0400 From: Timothy Miller MIME-Version: 1.0 To: "Randy.Dunlap" CC: Joshua , linux-kernel@vger.kernel.org Subject: Re: [PATCH] restore floppy boot image References: <40E3319D.3050100@techsource.com> <20040630145506.46d3af16.rddunlap@osdl.org> In-Reply-To: <20040630145506.46d3af16.rddunlap@osdl.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Randy.Dunlap wrote: > On Wed, 30 Jun 2004 17:52:30 -0400 (EDT) Joshua wrote: > > | Thanks for the time in reading the patch. > | > | Hmm. pop %ax after the jmp is a clear bug. Must have been a zero > | on the stack when I tested it. > | > | For the clobbering of al just before kernel entry, that is badly arranged > | code although it doesn't matter (mov $0, %al turns out to be no-op). > > No-op should be some form/variant of xchg %ax,%ax > (not mov to %al -- the latter needs to do something.) He didn't mean it was a "nop". He meant that the operation had no effect because moving zero to a register which already contains zero accomplishes nothing.