search for: real_mode_seg

Displaying 14 results from an estimated 14 matches for "real_mode_seg".

2003 Dec 27
0
2 disks boot patch
...tons of zeros appended to our file and wasting space --- syslinux-2.08.orig/runkernel.inc 2003-08-22 05:39:37.000000000 +0200 +++ syslinux-2.08/runkernel.inc 2003-12-18 23:16:18.000000000 +0100 @@ -156,20 +156,32 @@ .notkeep: %endif push es ; Save ES -> real_mode_seg push cs pop es ; Set ES <- normal DS mov di,initrd_cmd mov cx,initrd_cmd_len repe cmpsb jne not_initrd +; begin - freddy77 + ; detect change needed + lodsw + cmp ah, ':' + je set_init...
2003 Dec 27
0
FW: 2 disks boot patch
...tons of zeros appended to our file and wasting space --- syslinux-2.08.orig/runkernel.inc 2003-08-22 05:39:37.000000000 +0200 +++ syslinux-2.08/runkernel.inc 2003-12-18 23:16:18.000000000 +0100 @@ -156,20 +156,32 @@ .notkeep: %endif push es ; Save ES -> real_mode_seg push cs pop es ; Set ES <- normal DS mov di,initrd_cmd mov cx,initrd_cmd_len repe cmpsb jne not_initrd +; begin - freddy77 + ; detect change needed + lodsw + cmp ah, ':' + je set_init...
2003 Feb 10
0
modifying initrd before high mem load
...h memory ; ; Need to be set: ; su_ramdiskat - Where in memory to load ; su_ramdisklen - Size of file ; SI - initrd filehandle/cluster pointer ; loadinitrd: push es ; Save ES on entry mov ax,real_mode_seg mov es,ax mov edi,[es:su_ramdiskat] ; initrd load address + unscrambleinitrd: + xor [si:0],constant_xor_value push si mov si,crlfloading_msg ; Write "Loading " call cw...
2015 Oct 05
7
[PATCH 0/4] Improve linker scripts
From: Sylvain Gault <sylvain.gault at gmail.com> These patches basically remove unused linker scripts and port a change that was made to an unused script. Those are to be applied on top of the gcc 5 bug fixes as they would conflict otherwise. Sylvain Gault (4): diag/mbr: fix dependency to linker script Remove unused linker scripts core: Make symbols defined in linker script HIDDEN
2003 Apr 16
1
SYSLINUX 2.04 released
...bug. At the same time I'm getting the PXELINUX blksize and SYSLINUX installer changes out there, which hopefully is a good thing. New release mostly to address the MEMDISK corruption issue. Changes in 2.04: * ALL: Reclaim even more low memory by observing that comboot_seg == real_mode_seg is perfectly fine, and by the fact that the 1000h segment managed to get unused in all derivatives... * PXELINUX: Attempt to negotiate full Ethernet-sized blocks (1468 bytes) using the blksize option. * SYSLINUX: Resurrect the old no-mtools version of t...
2015 Oct 05
0
[PATCH 2/4] Remove unused linker scripts
..._uibss_start)); - HIDDEN(__uibss_dwords = (__uibss_len + 3) >> 2); - - HIDDEN(_end16 = .); - HIDDEN(__assert_end16 = ASSERT(_end16 <= 0x10000, "64K overflow")); - - /* - * Special 16-bit segments - */ - - . = ALIGN(65536); - .real_mode (NOLOAD) : { - *(.real_mode) - } - HIDDEN(real_mode_seg = core_real_mode >> 4); - - . = ALIGN(65536); - .xfer_buf (NOLOAD) : { - *(.xfer_buf) - } - HIDDEN(xfer_buf_seg = core_xfer_buf >> 4); - - /* - * Used to allocate lowmem buffers from 32-bit code - */ - .lowmem (NOLOAD) : { - HIDDEN(__lowmem_start = .); - *(.lowmem) - HIDDEN(__lowm...
2020 Aug 24
0
[PATCH v6 69/76] x86/realmode: Setup AP jump table
...#ifdef CONFIG_AMD_MEM_ENCRYPT + if (sme_active()) + th->flags |= TH_FLAGS_SME_ACTIVE; + + if (sev_es_active()) { + if (sev_es_setup_ap_jump_table(real_mode_header)) + panic("Failed to update SEV-ES AP Jump Table"); + } +#endif +} + static void __init setup_real_mode(void) { u16 real_mode_seg; @@ -104,13 +118,13 @@ static void __init setup_real_mode(void) *trampoline_cr4_features = mmu_cr4_features; trampoline_header->flags = 0; - if (sme_active()) - trampoline_header->flags |= TH_FLAGS_SME_ACTIVE; trampoline_pgd = (u64 *) __va(real_mode_header->trampoline_pgd); tr...
2002 Feb 26
0
syslinux timeout
...DTM BEGIN ------------------------------------------------ +%define writehex 1 ; writehex +; DTM END -------------------------------------------------- ; ; ID for SYSLINUX (reported to kernel) ; syslinux_id equ 031h ; SYSLINUX (3) version 1.x (1) ; ; Segments used by Linux ; ; Note: the real_mode_seg is supposed to be 9000h, but some device drivers ; hog some of high memory. Therefore, we load it at 7000:0000h and copy ; it before starting the Linux kernel. @@ -1198,20 +1201,24 @@ jz near no_config_file parse_config: call getkeyword jc near end_config_file ; Config f...
2020 Jul 24
86
[PATCH v5 00/75] x86: SEV-ES Guest Support
From: Joerg Roedel <jroedel at suse.de> Hi, here is a rebased version of the latest SEV-ES patches. They are now based on latest tip/master instead of upstream Linux and include the necessary changes. Changes to v4 are in particular: - Moved early IDT setup code to idt.c, because the idt_descr and the idt_table are now static - This required to make stack protector work early (or
2020 Jul 14
92
[PATCH v4 00/75] x86: SEV-ES Guest Support
From: Joerg Roedel <jroedel at suse.de> Hi, here is the fourth version of the SEV-ES Guest Support patches. I addressed the review comments sent to me for the previous version and rebased the code v5.8-rc5. The biggest change in this version is the IST handling code for the #VC handler. I adapted the entry code for the #VC handler to the big pile of entry code changes merged into
2020 Jul 14
92
[PATCH v4 00/75] x86: SEV-ES Guest Support
From: Joerg Roedel <jroedel at suse.de> Hi, here is the fourth version of the SEV-ES Guest Support patches. I addressed the review comments sent to me for the previous version and rebased the code v5.8-rc5. The biggest change in this version is the IST handling code for the #VC handler. I adapted the entry code for the #VC handler to the big pile of entry code changes merged into
2020 Aug 24
96
[PATCH v6 00/76] x86: SEV-ES Guest Support
From: Joerg Roedel <jroedel at suse.de> Hi, here is the new version of the SEV-ES client enabling patch-set. It is based on the latest tip/master branch and contains the necessary changes. In particular those ar: - Enabling CR4.FSGSBASE early on supported processors so that early #VC exceptions on APs can be handled. - Add another patch (patch 1) to fix a KVM frame-size build
2020 Sep 07
84
[PATCH v7 00/72] x86: SEV-ES Guest Support
From: Joerg Roedel <jroedel at suse.de> Hi, here is a new version of the SEV-ES Guest Support patches for x86. The previous versions can be found as a linked list starting here: https://lore.kernel.org/lkml/20200824085511.7553-1-joro at 8bytes.org/ I updated the patch-set based on ther review comments I got and the discussions around it. Another important change is that the early IDT
2020 Sep 07
84
[PATCH v7 00/72] x86: SEV-ES Guest Support
From: Joerg Roedel <jroedel at suse.de> Hi, here is a new version of the SEV-ES Guest Support patches for x86. The previous versions can be found as a linked list starting here: https://lore.kernel.org/lkml/20200824085511.7553-1-joro at 8bytes.org/ I updated the patch-set based on ther review comments I got and the discussions around it. Another important change is that the early IDT