Function report |
Source Code:arch\x86\boot\pm.c |
Create Date:2022-07-28 07:26:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:setup_gdt
Proto:static void setup_gdt(void)
Type:void
Parameter:Nothing
| 68 | static const u64 boot_gdt[] = {[Simple and small GDT entries for booting only: ] = Constructor for a conventional segment GDT(or LDT) entry.(0xc09b, 0, 0xfffff), [GDT_ENTRY_BOOT_DS] = Constructor for a conventional segment GDT(or LDT) entry.(0xc093, 0, 0xfffff), [GDT_ENTRY_BOOT_TSS] = Constructor for a conventional segment GDT(or LDT) entry.(0x0089, 4096, 103), } |
| 85 | ptr = (u32) & boot_gdt + (These functions are used to reference data in other segments. << 4) |
| 87 | asm volatile |
| Name | Describe |
|---|---|
| go_to_protected_mode | Actual invocation sequence |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |