summaryrefslogtreecommitdiffstats
path: root/src/config/defaults
diff options
context:
space:
mode:
authorMichael Brown2012-02-19 23:24:42 +0100
committerMichael Brown2012-02-28 12:18:48 +0100
commit05719804b9e06eabf152ccf59059fc39fd1cc08c (patch)
treec56e56107ef10f59c53a069fb8bd17eeb54903bd /src/config/defaults
parent[rng] Add entropy sample generator (diff)
downloadipxe-05719804b9e06eabf152ccf59059fc39fd1cc08c.tar.gz
ipxe-05719804b9e06eabf152ccf59059fc39fd1cc08c.tar.xz
ipxe-05719804b9e06eabf152ccf59059fc39fd1cc08c.zip
[rng] Add RTC-based entropy source
The RTC-based entropy source uses the nanosecond-scale CPU TSC to measure the time between two 1kHz interrupts generated by the CMOS RTC. In a physical machine these clocks are driven from independent crystals, resulting in some observable clock drift. In a virtual machine, the CMOS RTC is typically emulated using host-OS constructions such as SIGALRM. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/defaults')
-rw-r--r--src/config/defaults/pcbios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h
index fb44d0e1..17e6ef63 100644
--- a/src/config/defaults/pcbios.h
+++ b/src/config/defaults/pcbios.h
@@ -18,7 +18,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define UMALLOC_MEMTOP
#define SMBIOS_PCBIOS
#define SANBOOT_PCBIOS
-#define ENTROPY_NULL
+#define ENTROPY_RTC
#define IMAGE_ELF /* ELF image support */
#define IMAGE_MULTIBOOT /* MultiBoot image support */