Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\boot.h Create Date:2022-07-28 07:26:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:These functions are used to reference data in other segments.

Proto:static inline u16 ds(void)

Type:u16

Parameter:Nothing

83  asm("movw %%ds,%0":"=rm"(seg))
84  Return seg
Caller
NameDescribe
copy_boot_paramsCopy the header into the boot parameter block. Since this* screws up the old-style command line protocol, adjust by* filling in the new-style command line pointer instead.
setup_gdt
go_to_protected_modeActual invocation sequence
initregsSPDX-License-Identifier: GPL-2.0-or-later