Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fvGOn-0000Hz-3y for mharc-grub-devel@gnu.org; Thu, 30 Aug 2018 02:25:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvGOk-0000Hr-D4 for grub-devel@gnu.org; Thu, 30 Aug 2018 02:25:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvGOh-0004tn-5f for grub-devel@gnu.org; Thu, 30 Aug 2018 02:25:42 -0400 Received: from [203.148.12.81] (port=52505 helo=ZXSHCAS1.zhaoxin.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fvGOg-0004hf-IX for grub-devel@gnu.org; Thu, 30 Aug 2018 02:25:39 -0400 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by ZXSHCAS1.zhaoxin.com (10.28.252.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Thu, 30 Aug 2018 14:25:25 +0800 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by zxbjmbx1.zhaoxin.com (10.29.252.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Thu, 30 Aug 2018 14:25:24 +0800 Received: from zxbjmbx1.zhaoxin.com ([fe80::b41a:737:a784:b70d]) by zxbjmbx1.zhaoxin.com ([fe80::b41a:737:a784:b70d%16]) with mapi id 15.01.1261.035; Thu, 30 Aug 2018 14:25:24 +0800 From: "Sherry Zhang(BJ-RD)" To: "grub-devel@gnu.org" Subject: Question about the boot protocol Thread-Topic: Question about the boot protocol Thread-Index: AdRAKfDD+CHwBGN1S02uAwKEJFEG0Q== Date: Thu, 30 Aug 2018 06:25:24 +0000 Message-ID: <00798113a48246a29d7584d64228fc5d@zhaoxin.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.29.8.35] Content-Type: multipart/alternative; boundary="_000_00798113a48246a29d7584d64228fc5dzhaoxincom_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 203.148.12.81 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2018 06:25:44 -0000 --_000_00798113a48246a29d7584d64228fc5dzhaoxincom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, Recently I have learned the grub2.02 source code. Legacy BIOS Target=3DI386-pc Linux kernel Documents/x86/boot.txt : (1) 16-bit boot protocol (2) 32-bit boot protocol: (3) 64-bit boot protocol: 64-bit cpu/kernel/bootloader Some questions about it. Question 1: How do I check that grub2 is 16-bit, 32-bit or 64-bit? Question 2: How do I see which boot protocol is adopted? Question 3: What the different about efi-kernel? Question 4: linux /boot/bzImage The code for the protection mode was copied to 0x100000, and I found throug= h debugging that it was the virtual address, and the physical address was 0= x1000000, while the value of the bzImage header code32_start at 0x214/4 is= 0x100000, is the value the physical address ? And what the relationships between code32_start at 0x214/4 and pref_address= at 0258/8? Best regards, Sherry Zhang ????? ????????????????????????????????????????????????????? CONFIDENTIAL NOTE: This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient. Any unauthorized review, use, co= pying or forwarding of this email or the content of this email is strictly = prohibited. --_000_00798113a48246a29d7584d64228fc5dzhaoxincom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,

Recently I have learned the gru= b2.02 source code.

Legacy BIOS <= /p>

Target=3DI386-pc

Linux kernel Documents/x86/boot= .txt :

(= 1)   16-bit  boot proto= col

(= 2)   32-bit boot protocol:

(= 3)   64-bit boot protocol: 6= 4-bit cpu/kernel/bootloader

Some questions about it.

Question 1: How do I check that grub2 is 16-bi= t, 32-bit or 64-bit?

Question 2: How do I see which boot protocol i= s adopted?

Question 3: What the different about efi-kerne= l?

Question 4: linux /boot/bzImage=

The code for the protection mode was copied to 0x100000, and I = found through debugging that it was the virtual address, and the physical a= ddress was 0x1000000, while the value of the bzImage header code32_start at 0x214/4  is 0x100000, is the va= lue the physical address ?

And what the relationships between code32_start at 0x214/4 and = pref_address at 0258/8?

 

Best regards,=

Sherry Zhang<= /p>



保密声明:
本邮件含有保भ= 4;或专有信息,仅供指&= #23450;收件人使用。严禁= 545;本邮件或其内容做任= ;何未经授权的查阅、&#= 20351;用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and i= s for the sole use of its intended recipient. Any unauthorized review, use,= copying or forwarding of this email or the content of this email is strict= ly prohibited.
--_000_00798113a48246a29d7584d64228fc5dzhaoxincom_--