Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2702071yba; Mon, 6 May 2019 10:12:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeN34lh256wPTaCAUVOFQMWItj8/SzNL+18DDQ8/Uu9V2Tcqv1qkjZl7TF/pGp9Y2oC6Vi X-Received: by 2002:aa7:8554:: with SMTP id y20mr16713892pfn.258.1557162720257; Mon, 06 May 2019 10:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557162720; cv=none; d=google.com; s=arc-20160816; b=qqqbJojxWsy+mkkaR0iyG9NERSipps3FfpJn15sLxTnW2tle2BuPI0T8rmYB01zFz0 yEVYmdWtFAOGuNuPH7T8M88quiZpF3DZJGyXrSH+zMGdBIvzk8xp4cRVlUNGex9Xlw5b XEg09kNvyxzrmvaSJbEDjhA/0cLddDwStZVbs+GAkiRihTNRsPpFldxlu7HM6NdVWG1S 8Auxfesey5/HNlwbshJwHUoIPNesBc22ElSsh+ujzPswApKYDuYe4Ay6rgDCPwW9uNPo oBvPecY2a3yY1eFKsVhsb4kAbrmuenZyo7SFW6qy++211j8leXuLBKLfkR8hWEa/wU12 dQhQ== 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=S+tgTutrJruS/MjNjngeL26sF2S7l8YNUY3voQT8/dH8ADptCh+lqncIFUBNOra0Pj mpx6/NHE2ykJugMkvLkoL/A8dNaz3kyidSiokWkERDx3+qZXl/ajQhA7Hj5wfGbqmpv/ kmeHJfutUlTxdu6uDnYYtqamRwceAXxdU3vmM/S9u6IZfR7XXDUFjpD/gS7dUI23Z4UJ dgJ2HYauoMsu9JC50USspgiCRV7Mfa6qdElY8fHuk8MxfLqkk26b6atymmBOYHkWSxBH I5dSPceaDr1k8ZSP7KqnDfx5R2sS6g+cbj3FvI/MVqeaCSO5gLj81rPfA5oQkF29GK28 dEXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oJBFnWe0; 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 g15si12882526pfg.284.2019.05.06.10.11.44; Mon, 06 May 2019 10: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=oJBFnWe0; 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 S1727297AbfEFRK0 (ORCPT + 99 others); Mon, 6 May 2019 13:10:26 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43670 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727198AbfEFRKY (ORCPT ); Mon, 6 May 2019 13:10:24 -0400 Received: by mail-pg1-f194.google.com with SMTP id t22so6750071pgi.10; Mon, 06 May 2019 10:10:23 -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=oJBFnWe0zqeVXTxFfvk5czw0YUjnS+Wcod6pmd8iK5wvocNWX5ZTBClzul47/RKfHw yI+Q1lg0XI5lu7oQAW34w73FIH4/5LFBJRsG6ag5f6DzJ9vSyCh5AaQNj4IqVbF+xzi0 fXa4K4hXUi8GQ6Yfr4L7xgDjvVuHSRfXXe99wnXUnnLWgUCjdrlN6jhMstFPusFTj5iN yaGZs1B+naH2sUxhp35p+dLfTYTv7uGkkFBjndBa+lL7HfiYP46mEgCyZzW0Dn4IU/9G 76mZjPSLCsUSO9Y4uxEFMTnms0jn+fFl+nOEcAHskDQ6tkAPdqns050QfbM3VyzUnxpv +Vgg== 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=M+2I0/0FW//HRr4gfjlNNCoB0AGBfRC8sa72q75tdyOIgIW2KY2SMll/GubS4y/IGY RtJQa8DSetYGK2162kW908mxuSV41myXakWcMKVp5mjF+sP0/jzdh/hklVUUoB2Ly6yV MnFGRHvkeTTJwjCBVHb8umXwg28hgi/QUcx2mtBi9yKfO69LcIF8bo3hy+nFA5Wh+/jY SxP1rbjPLZ5al7vbnaUZf1ha1oICgmOHeZImnpa/wyUYXuLwRnkjeqFU8xzWife2ZgE9 nROG9nIjA+GU1KItbuq7PmiE12mcd9My9RgJweAZfu+LkVs9z/aijlwa+PPu2HG1xv65 KlYg== X-Gm-Message-State: APjAAAUbHKXPFwM8sXR9sYoTN2dcb5NSeucllEaA8M5c8m5MXfzTmH52 RZ7+U/BrHWKHtafth/SYtCs= X-Received: by 2002:a63:165f:: with SMTP id 31mr33647444pgw.321.1557162623279; Mon, 06 May 2019 10:10:23 -0700 (PDT) Received: from localhost.localdomain ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id h13sm11045680pgk.55.2019.05.06.10.10.18 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 06 May 2019 10:10:22 -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 v3 08/27] Documentation: x86: convert zero-page.txt to reST Date: Tue, 7 May 2019 01:09:04 +0800 Message-Id: <20190506170923.7117-9-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190506170923.7117-1-changbin.du@gmail.com> References: <20190506170923.7117-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