Sitemap
HackerNoon.com

Elijah McClain, George Floyd, Eric Garner, Breonna Taylor, Ahmaud Arbery, Michael Brown, Oscar Grant, Atatiana Jefferson, Tamir Rice, Bettie Jones, Botham Jean

Image copyright Andrew Jian CC-BY

The Hydra Bug: Part I

7 min readMay 21, 2017

--

Get Vish Abrams’s stories in your inbox

Join Medium for free to get updates from this writer.

e820: BIOS-provided physical RAM map:
BIOS-e820: [mem 0x0000000000000000–0x000000000009c3ff] usable
BIOS-e820: [mem 0x00000000000f0000–0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000–0x000000007fef6fff] usable
BIOS-e820: [mem 0x000000007ff95000–0x000000007ffdffff] usable

Brief Aside: The BIOS e820 Routine

No NUMA configuration found
Faking a node at [mem 0x0000000000000000–0x000000007ffdffff]
Initmem setup node 0 [mem 0x00000000–0x7ffdffff]
NODE_DATA [mem 0x7ffb9000–0x7ffdffff]
--- a/src/arch/x86/interface/pcbios/hidemem.c
+++ b/src/arch/x86/interface/pcbios/hidemem.c
@@ -37,3 +37,3 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/** Alignment for hidden memory regions */
-#define ALIGN_HIDDEN 4096 /* 4kB page alignment should be enough */
+#define ALIGN_HIDDEN 0x80000

--

--

Vish Abrams
Vish Abrams

Written by Vish Abrams

Distinguished Engineer at Google. Previously NASA Nebula Technical Lead during the creation of OpenStack. Opinions are my own.

HackerNoon.com
HackerNoon.com

Published in HackerNoon.com

Elijah McClain, George Floyd, Eric Garner, Breonna Taylor, Ahmaud Arbery, Michael Brown, Oscar Grant, Atatiana Jefferson, Tamir Rice, Bettie Jones, Botham Jean