From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Q7qXb-0007PQ-Kt for mharc-grub-devel@gnu.org; Thu, 07 Apr 2011 10:50:35 -0400 Received: from [140.186.70.92] (port=38028 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7qXU-0007Ld-Vp for grub-devel@gnu.org; Thu, 07 Apr 2011 10:50:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7qXT-0005pr-5x for grub-devel@gnu.org; Thu, 07 Apr 2011 10:50:28 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:44055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7qXS-0005pZ-RL for grub-devel@gnu.org; Thu, 07 Apr 2011 10:50:27 -0400 Received: from smtp02.web.de ( [172.20.0.184]) by fmmailgate03.web.de (Postfix) with ESMTP id 52D7818B4593F; Thu, 7 Apr 2011 16:50:25 +0200 (CEST) Received: from [78.43.204.177] (helo=frosties.localnet) by smtp02.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #2) id 1Q7qXR-00058g-00; Thu, 07 Apr 2011 16:50:25 +0200 Received: from mrvn by frosties.localnet with local (Exim 4.72) (envelope-from ) id 1Q7qXJ-0006Ru-RM; Thu, 07 Apr 2011 16:50:18 +0200 From: Goswin von Brederlow To: "Vladimir coder\/phcoder' Serbinenko" In-Reply-To: <4D9DB463.20903@gmail.com> (Vladimir Serbinenko's message of "Thu, 07 Apr 2011 14:56:03 +0200") References: <87r59efek1.fsf@frosties.localnet> <4D9DB463.20903@gmail.com> User-Agent: Gnus/5.110009 (No Gnus v0.9) XEmacs/21.4.22 (linux, no MULE) Date: Thu, 07 Apr 2011 16:50:17 +0200 Message-ID: <87y63mnmja.fsf@frosties.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: goswin-v-b@web.de X-Sender: goswin-v-b@web.de X-Provags-ID: V01U2FsdGVkX18osKhNJP5kYu7CjtqwLKvpOOlxGiU/GqJr9Vug 43NdDY6AbHv4SFLOr3K2GPZu5yCZUJ9hqHjP4M3Rin2NfHa7WX x+P8vDyW4= Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 Cc: The development of GNU GRUB Subject: Re: Would a cleanup+extending of docs/multiboot.h be acceptable? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2011 14:50:33 -0000 "Vladimir '=CF=86-coder/phcoder' Serbinenko" writes: > On 07.04.2011 14:09, Goswin von Brederlow wrote: >> Hi, >> >> I've been working on a 32bit->64bit trampoline based on the example >> kernel that just switches to 64bit mode and executes a real kernel >> passed as module. As real kernel I want to use grubs example kernel as >> well to just verify the multiboot infos passed through the trampoline >> are intact. > Please don't use outdated code as base. Now we work on multiboot2 and I've seen multiboot2 mentioned but I can't find specs for it. What I did find are the "Multiboot Specification version 0.6.96" [1] So where is this multiboot2? > before just "let's replace all 32 with 64" some things like page table > need to be du=C3=AEscussed. Please start a discussion thread for those Actualy what I needed to do was replace the 64 with 32. My 64bit mode still uses the multiboot specs with its 32bit fields. I use that because that is what grub and kvm give me. Most changes were just to make it use 32bit data types in 32bit and 64bit mode as required by the specs. For page tables I use 6 pages. 1x Level 4, 1x Level 3, 4x Level 2 with 2MB granularity creating a 1:1 mapping of the first 4 GB ram. But I've been thinking that maybe the multiboot header could have entries for the gpt and page table to be used. But that is something do discuss in another thread. MfG Goswin [1] http://www.gnu.org/software/grub/manual/multiboot/multiboot.html