mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 14:31:48 +01:00
93a065e749
- Use new option SMP_ON_UP instead of (mis)using specific CPU type. By this, any SMP kernel can be compiled with SMP_ON_UP support. - Enable runtime detection of CPU multiprocessor extensions only if SMP_ON_UP option is used. In other cases (pure SMP or UP), statically compile only required variant. - Don't leak multiprocessor instructions to UP kernel. - Correctly handle data cache write back to point of unification. DCCMVAU is supported on all armv7 cpus. - For SMP_ON_UP kernels, detect proper TTB flags on runtime. Differential Revision: https://reviews.freebsd.org/D9133
15 lines
350 B
Plaintext
15 lines
350 B
Plaintext
# Allwinner Uniprocessor common options
|
|
#$FreeBSD$
|
|
|
|
cpu CPU_CORTEXA
|
|
machine arm armv6
|
|
makeoptions CONF_CFLAGS="-march=armv7a"
|
|
|
|
makeoptions KERNVIRTADDR=0xc0200000
|
|
options KERNVIRTADDR=0xc0200000
|
|
|
|
files "../allwinner/files.allwinner_up"
|
|
files "../allwinner/files.allwinner"
|
|
files "../allwinner/a10/files.a10"
|
|
files "../allwinner/a13/files.a13"
|