Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6912579yba; Thu, 2 May 2019 00:12:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqolrXE7eTf2EAINmr20R78aHza0QRj2YErHUlfBrPfgPExiufsHDhQKKSJc+vprSjgd2v X-Received: by 2002:a17:902:4283:: with SMTP id h3mr2064621pld.176.1556781120627; Thu, 02 May 2019 00:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556781120; cv=none; d=google.com; s=arc-20160816; b=jVdGiojqUYlyj9fHOgpeU5QMffl3wVb7KbLH5NVGqJfT9wzuQszVx/D5evE8pOmw01 8Up+mRu2vUEdWWCySI4V8plhsCEAcWr3JNAcZJeFhZg48v/1MbuW5s/m5giyzqCRvv58 atxep+fD5KG8enz2+b3zimms37zQxtK62XA9ijxcyrTO20tIA1jIawcbBLfTLqv0ZQ13 uoTnqKs4ZGFjWc8StmieExFNmWZav4pwFyXA39ZFMMp2hPYa91iMJ57mCUQEyksoXQwj wcEyM8M2zNC47kIfMLIE1PNMsyd0QhelswGe8Ptf7KNqkwymTrGlg4o5JWUuEWeesHFp 8DxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=toejBubC2VyS9gb6UJ2Vq2aIqRrvIfX1XgP/QUj3iss=; b=behT5jj2UbOZ11n4qhdR0OxEQC/78JkaK0xlxV1dRYSExtxOeAMwYZicbI2LYHNN0q kNinOHu+wQcdC1ZHT3lr/PRnPVLjsePxQQXNOrQsUHDImB0eQW5VK+WcdZLszTp5S13l RiwgfA0D54tsq51/p1aDYWtcPuUOngyFhoREN2GqTqImYQu4nUlMFp4ehkuwtjIrm/YO 5OFKvaJAhnCaeyAJ66eJ4pSgNzHiGaPQL9merk9xxQBs84sbQpb5YRVEA90/mlumxNwB iICVXXfxYFjbDAEj2bMuh2hsprEFsPhJuXmemTGCEF4rof9MM8XDFz7SjuZ3D0QSnUT+ lorA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TfX2wLmG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a63si6846817pla.178.2019.05.02.00.11.45; Thu, 02 May 2019 00:12:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TfX2wLmG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726599AbfEBHK0 (ORCPT + 99 others); Thu, 2 May 2019 03:10:26 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:46317 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726231AbfEBHKZ (ORCPT ); Thu, 2 May 2019 03:10:25 -0400 Received: by mail-pf1-f194.google.com with SMTP id j11so662656pff.13; Thu, 02 May 2019 00:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=toejBubC2VyS9gb6UJ2Vq2aIqRrvIfX1XgP/QUj3iss=; b=TfX2wLmG9Kwtxs3KX/Fx+WySTZMtvxzpn7/dv9MwNDFw0NnRqxbVMtHEYroMbd7yFN Y49d/5tSPsTFlhdaVDhSL5EkhUSOeZoh3IVXUKQLHYlezcFgQdtWymjp2H84s1+fAz2V I+evDp3SMrGD0sYesiAf0pW3zs2UeDLX1E8w+GBy0Wdrzm3UeCONYFUdVBPMp310ilPO Bz/XxSTRL8DYYfpspKASAVNzzTALUzoMqbvZiXgb2tw0xJqVCaskfH6qKm5+vfbS545G BTOTrlnX/68EWVaq+kdjl3UBOxzmJ0WZf1AuKSVFiXyfi01S43VDAsbLD3BxjXfvt7Rb +BFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=toejBubC2VyS9gb6UJ2Vq2aIqRrvIfX1XgP/QUj3iss=; b=IzzoA1vp0lnpbQqPEs/TWhjbBYkW3syIO648hzNTMAqurMc7/xQ283SNM4n5dyjOzd jgaT734QKLho0IixsGGpJxs9/JMUIc0LXTDi5KeTdYtNkBmHJqBn9c24wUFvDjkPHrGT /2987lhn9FayI/6ttHkH0MxLxCHwXy2tSgFvnGyiWZseTdYnEugRfUf1xEjvLu1dQxZG k3F6009EyBOB0/J+Tn4FN6SgK8KtflXO0U9mqnokPoh/xNJ9Z3+4jih+tmF3W1slZKHt amu2ufB48Ng7/JtRcfGVHqSD9zDzVhpVgLqzyp28fC1FA/ZOe53ZsObqHs1IojUXkMOG PAqA== X-Gm-Message-State: APjAAAUB7fjYS+hbtRA4/YCvxXVezIhOwo5u0D5CrRy/1UlHkn8wO/1/ SgcPDYOY18Lx0DsTQmtAoDY= X-Received: by 2002:a65:5089:: with SMTP id r9mr2424228pgp.14.1556781024227; Thu, 02 May 2019 00:10:24 -0700 (PDT) Received: from laptop.DHCP ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id u24sm4686976pfh.91.2019.05.02.00.10.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 00:10:23 -0700 (PDT) From: Changbin Du To: corbet@lwn.net, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de Cc: x86@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Changbin Du , Mauro Carvalho Chehab Subject: [PATCH v2 08/27] Documentation: x86: convert zero-page.txt to reST Date: Thu, 2 May 2019 15:06:14 +0800 Message-Id: <20190502070633.9809-9-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502070633.9809-1-changbin.du@gmail.com> References: <20190502070633.9809-1-changbin.du@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/x86/index.rst | 1 + Documentation/x86/zero-page.rst | 45 +++++++++++++++++++++++++++++++++ Documentation/x86/zero-page.txt | 40 ----------------------------- 3 files changed, 46 insertions(+), 40 deletions(-) create mode 100644 Documentation/x86/zero-page.rst delete mode 100644 Documentation/x86/zero-page.txt diff --git a/Documentation/x86/index.rst b/Documentation/x86/index.rst index d9ccc0f39279..e43aa9b31976 100644 --- a/Documentation/x86/index.rst +++ b/Documentation/x86/index.rst @@ -14,3 +14,4 @@ x86-specific Documentation kernel-stacks entry_64 earlyprintk + zero-page diff --git a/Documentation/x86/zero-page.rst b/Documentation/x86/zero-page.rst new file mode 100644 index 000000000000..f088f5881666 --- /dev/null +++ b/Documentation/x86/zero-page.rst @@ -0,0 +1,45 @@ +.. SPDX-License-Identifier: GPL-2.0 + +========= +Zero Page +========= +The additional fields in struct boot_params as a part of 32-bit boot +protocol of kernel. These should be filled by bootloader or 16-bit +real-mode setup code of the kernel. References/settings to it mainly +are in:: + + arch/x86/include/uapi/asm/bootparam.h + +=========== ===== ======================= ================================================= +Offset/Size Proto Name Meaning + +000/040 ALL screen_info Text mode or frame buffer information + (struct screen_info) +040/014 ALL apm_bios_info APM BIOS information (struct apm_bios_info) +058/008 ALL tboot_addr Physical address of tboot shared page +060/010 ALL ist_info Intel SpeedStep (IST) BIOS support information + (struct ist_info) +080/010 ALL hd0_info hd0 disk parameter, OBSOLETE!! +090/010 ALL hd1_info hd1 disk parameter, OBSOLETE!! +0A0/010 ALL sys_desc_table System description table (struct sys_desc_table), + OBSOLETE!! +0B0/010 ALL olpc_ofw_header OLPC's OpenFirmware CIF and friends +0C0/004 ALL ext_ramdisk_image ramdisk_image high 32bits +0C4/004 ALL ext_ramdisk_size ramdisk_size high 32bits +0C8/004 ALL ext_cmd_line_ptr cmd_line_ptr high 32bits +140/080 ALL edid_info Video mode setup (struct edid_info) +1C0/020 ALL efi_info EFI 32 information (struct efi_info) +1E0/004 ALL alt_mem_k Alternative mem check, in KB +1E4/004 ALL scratch Scratch field for the kernel setup code +1E8/001 ALL e820_entries Number of entries in e820_table (below) +1E9/001 ALL eddbuf_entries Number of entries in eddbuf (below) +1EA/001 ALL edd_mbr_sig_buf_entries Number of entries in edd_mbr_sig_buffer + (below) +1EB/001 ALL kbd_status Numlock is enabled +1EC/001 ALL secure_boot Secure boot is enabled in the firmware +1EF/001 ALL sentinel Used to detect broken bootloaders +290/040 ALL edd_mbr_sig_buffer EDD MBR signatures +2D0/A00 ALL e820_table E820 memory map table + (array of struct e820_entry) +D00/1EC ALL eddbuf EDD data (array of struct edd_info) +=========== ===== ======================= ================================================= diff --git a/Documentation/x86/zero-page.txt b/Documentation/x86/zero-page.txt deleted file mode 100644 index 68aed077f7b6..000000000000 --- a/Documentation/x86/zero-page.txt +++ /dev/null @@ -1,40 +0,0 @@ -The additional fields in struct boot_params as a part of 32-bit boot -protocol of kernel. These should be filled by bootloader or 16-bit -real-mode setup code of the kernel. References/settings to it mainly -are in: - - arch/x86/include/uapi/asm/bootparam.h - - -Offset Proto Name Meaning -/Size - -000/040 ALL screen_info Text mode or frame buffer information - (struct screen_info) -040/014 ALL apm_bios_info APM BIOS information (struct apm_bios_info) -058/008 ALL tboot_addr Physical address of tboot shared page -060/010 ALL ist_info Intel SpeedStep (IST) BIOS support information - (struct ist_info) -080/010 ALL hd0_info hd0 disk parameter, OBSOLETE!! -090/010 ALL hd1_info hd1 disk parameter, OBSOLETE!! -0A0/010 ALL sys_desc_table System description table (struct sys_desc_table), - OBSOLETE!! -0B0/010 ALL olpc_ofw_header OLPC's OpenFirmware CIF and friends -0C0/004 ALL ext_ramdisk_image ramdisk_image high 32bits -0C4/004 ALL ext_ramdisk_size ramdisk_size high 32bits -0C8/004 ALL ext_cmd_line_ptr cmd_line_ptr high 32bits -140/080 ALL edid_info Video mode setup (struct edid_info) -1C0/020 ALL efi_info EFI 32 information (struct efi_info) -1E0/004 ALL alt_mem_k Alternative mem check, in KB -1E4/004 ALL scratch Scratch field for the kernel setup code -1E8/001 ALL e820_entries Number of entries in e820_table (below) -1E9/001 ALL eddbuf_entries Number of entries in eddbuf (below) -1EA/001 ALL edd_mbr_sig_buf_entries Number of entries in edd_mbr_sig_buffer - (below) -1EB/001 ALL kbd_status Numlock is enabled -1EC/001 ALL secure_boot Secure boot is enabled in the firmware -1EF/001 ALL sentinel Used to detect broken bootloaders -290/040 ALL edd_mbr_sig_buffer EDD MBR signatures -2D0/A00 ALL e820_table E820 memory map table - (array of struct e820_entry) -D00/1EC ALL eddbuf EDD data (array of struct edd_info) -- 2.20.1