History log of /netbsd-src/sys/arch/amd64/stand/prekern/Makefile (Results 1 – 9 of 9)
Revision Date Author Comments
# ec27090f 24-Jun-2024 riastradh <riastradh@NetBSD.org>

amd64/prekern: Add ldscript to DPADD since it affects build output.


# 9044b7f3 25-Jul-2018 kamil <kamil@NetBSD.org>

Specify NOLIBCSANITIZER in x86 bootloader-like code under sys/arch/

Set NOLIBCSANITIZER for i386 and amd64 specific bootloader-like code.


# ee80b447 02-Jun-2018 christos <christos@NetBSD.org>

Disable MKSANITIZER


# 11415a10 23-Dec-2017 ryoon <ryoon@NetBSD.org>

Use ldscript from src to fix build.sh build


# 49d35b9c 26-Nov-2017 maxv <maxv@NetBSD.org>

Add a PRNG for the prekern, based on SHA512. The formula is basically:

Y0 = SHA512(entropy-file, 256bit rdseed, 64bit rdtsc)
Yn+1 = SHA512(256bit lowerhalf(Yn), 256bit rdseed, 64bit rdtsc)

On e

Add a PRNG for the prekern, based on SHA512. The formula is basically:

Y0 = SHA512(entropy-file, 256bit rdseed, 64bit rdtsc)
Yn+1 = SHA512(256bit lowerhalf(Yn), 256bit rdseed, 64bit rdtsc)

On each round, random values are taken from the higher half of Yn. If
rdseed is not available, rdrand is used.

The SHA1 checksum of entropy-file is verified. However, the rndsave_t::data
field is not updated by the prekern, because the area is accessed via the
read-only view we created in locore. I like this design, so it will have
to be updated differently.

show more ...


# fe436c9b 17-Nov-2017 maxv <maxv@NetBSD.org>

style


# 92fe5cfb 14-Nov-2017 maxv <maxv@NetBSD.org>

Add -Wstrict-prototypes, and fix each warning.


# 49ec9d0f 13-Nov-2017 maxv <maxv@NetBSD.org>

Link libkern in the prekern, and remove redefined functions.


# c9759921 10-Oct-2017 maxv <maxv@NetBSD.org>

Add the amd64 prekern. It is a kernel relocator used for Kernel ASLR (see
tech-kern@). It works, but is not yet linked to the build system, because
I can't build a distribution right now.