Displaying 3 results from an estimated 3 matches for "__replacestub_dwords".
2011 Mar 06
1
[PATCH] core: Fix 'trackbuf' descriptor list byte length
...es
@@ -179,8 +179,8 @@ replace_bootstrap_noclearmode:
mov ebx,trackbuf
imul di,ax,12
+ push di ; length of list
add di,bx ; DI <- end of list
- push di
; Terminating entry...
lea eax,[replace_stub] ; Entrypoint
@@ -196,8 +196,10 @@ replace_bootstrap_noclearmode:
mov cx,__replacestub_dwords
rep movsd
+ ; ECX <- final list length
xor ecx,ecx
- pop cx ; ECX <- length of list
+ pop cx ; original length in bytes
+ add cx, 12 ; + termination entry size
pop word [replace_stub.ss]
pop word [replace_stub.esp]
diff --git a/core/runkernel.inc b/core/runkernel.inc...
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
2015 Oct 05
0
[PATCH 2/4] Remove unused linker scripts
...-
- . = ALIGN(128); /* Minimum separation from mutable data */
- .replacestub : AT (__replacestub_lma) {
- HIDDEN(__replacestub_start = .);
- *(.replacestub)
- HIDDEN(__replacestub_end = .);
- }
- HIDDEN(__replacestub_len = ABSOLUTE(__replacestub_end) - ABSOLUTE(__replacestub_start));
- HIDDEN(__replacestub_dwords = (__replacestub_len + 3) >> 2);
-
- . = ALIGN(16);
- HIDDEN(__gentextnr_lma = .);
- .gentextnr : AT(__gentextnr_lma) {
- HIDDEN(__gentextnr_start = .);
- *(.gentextnr)
- HIDDEN(__gentextnr_end = .);
- }
- HIDDEN(__gentextnr_len = ABSOLUTE(__gentextnr_end) - ABSOLUTE(__gentextnr_start));
-...