Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MVV8M-0005pS-5T for mharc-grub-devel@gnu.org; Mon, 27 Jul 2009 14:41:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVV8K-0005oc-Fa for grub-devel@gnu.org; Mon, 27 Jul 2009 14:41:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVV8F-0005mn-V8 for grub-devel@gnu.org; Mon, 27 Jul 2009 14:41:12 -0400 Received: from [199.232.76.173] (port=44986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVV8F-0005mg-Qn for grub-devel@gnu.org; Mon, 27 Jul 2009 14:41:07 -0400 Received: from rv-out-0708.google.com ([209.85.198.244]:11792) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MVV8F-00032y-AL for grub-devel@gnu.org; Mon, 27 Jul 2009 14:41:07 -0400 Received: by rv-out-0708.google.com with SMTP id f25so1408557rvb.6 for ; Mon, 27 Jul 2009 11:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=f6xDghRSS9EvNYSqEMuEJt9Its0EV/H6Vk9rWgcuGYg=; b=iNu3PdIEKI9sMpQxTGkh64bqm8nOJ/+nHSmqjEGO2VRYccqFD1rsXeihjcBTKPeEWl 9Ou19o9Nq0XLbd1S9L4SPQEDlg50sHjRE3bWcdhDIKHbHNuUqih8TWSoWfN+tyzems/V GcVCACT3GuRyGubfpm2dYdnSL2c+FwfD2TgsI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=CGXspER4i985lYkKwrkWmj9hdksVU3oT09SkWipAb7Gb7miwzX/0wSJoFioxj+EZWW AFVI+YCcvWxCJZcyytkNLKpo1LIhnQ4ARvcdYD74mlKAt/8q9FfufJj2BHbnkPfdqBNQ 06FY+bGQiitM0BuTso4ERcKd4DqZ/YKBQ4b/o= MIME-Version: 1.0 Received: by 10.140.127.13 with SMTP id z13mr4058543rvc.287.1248720065769; Mon, 27 Jul 2009 11:41:05 -0700 (PDT) In-Reply-To: References: <4A627C5A.5070700@isaac.cedarswampstudios.org> <1248263254.10302.11.camel@accesodirecto.casa> <1248270128.10302.14.camel@accesodirecto.casa> Date: Tue, 28 Jul 2009 02:41:05 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] New object format X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 18:41:12 -0000 Hi, Update: Now the attributes are stored inside mod file, for example, "fs:", "command:ls", etc. grub-symdb uses it to generate the list files automatically (fs.lst, partmap.lst, parttool.lst, command.lst, handler.lst). Don't use sed to scan source file, and eliminate the fs-*.lst, partmap-*.lst, parttool-*.lst, command-*.lst and handler-*.lst. grub-objdump can show the mod attributes, for example: # grub-objdump gfxterm.mod filename: gfxterm.mod mod name: gfxterm mod deps: bitmap font video mod attr: handler:terminal_output.gfxterm command:background_image init func: 0xcad fini func: 0xce6 -- Bean