Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E5281-0004Ng-Ju for mharc-grub-devel@gnu.org; Tue, 16 Aug 2005 10:09:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E523q-0003DP-7y for grub-devel@gnu.org; Tue, 16 Aug 2005 10:05:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E523V-00035Q-TK for grub-devel@gnu.org; Tue, 16 Aug 2005 10:04:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E523U-00030m-TW for grub-devel@gnu.org; Tue, 16 Aug 2005 10:04:40 -0400 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E528g-0001Dx-Tk for grub-devel@gnu.org; Tue, 16 Aug 2005 10:10:03 -0400 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id BF5EB11ECDAB1 for ; Tue, 16 Aug 2005 15:54:01 +0200 (CEST) Received: from 127.0.0.1 ([127.0.0.1] helo=ip6-localhost) by ASSP-nospam ; 16 Aug 05 13:54:01 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Tue, 16 Aug 2005 15:52:51 +0200 User-Agent: KMail/1.7.2 References: <20050816004930.17039.qmail@web35314.mail.mud.yahoo.com> In-Reply-To: <20050816004930.17039.qmail@web35314.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508161552.51522.okuji@enbug.org> Subject: Re: [PATCH] new (mmap support and x86_64 detection) 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: Tue, 16 Aug 2005 14:09:20 -0000 On Tuesday 16 August 2005 02:49, Ruslan Nikolaev wrote: > +/* Detect x86_64 CPU */ > +static __inline__ int grub_x86_64_cpu (void) Can you change this name? This is quoted from http://www.autistici.org/grub/moin.cgi/CodingStyle: Functions If a function is global, its name must be prefixed with grub_ and must consist of only small letters. If the function belongs to a specific function module, the name must also be prefixed with the module name. For example, if a function is for file systems, its name is prefixed with grub_fs_. If a function is for FAT file system but not for all file systems, its name is prefixed with grub_fs_fat_. The hierarchy is noted this way. After a prefix, a function name must start with a verb (such as get or is). It must not be a noun. Some kind of abbreviation is permitted, as long as it wouldn't make code less readable (e.g. init). If a function is local, its name may not start with any prefix. It must start with a verb. Okuji