freebsd-skq/sys/dev/vt
Nathan Whitehorn f9edb09d70 Move the powerpc64 direct map base address from zero to high memory. This
accomplishes a few things:
- Makes NULL an invalid address in the kernel, which is useful for catching
  bugs.
- Lays groundwork for radix-tree translation on POWER9, which requires the
  direct map be at high memory.
- Similarly lays groundwork for a direct map on 64-bit Book-E.

The new base address is chosen as the base of the fourth radix quadrant
(the minimum kernel address in this translation mode) and because all
supported CPUs ignore at least the first two bits of addresses in real
mode, allowing direct-map addresses to be used in real-mode handlers.
This is required by Linux and is part of the architecture standard
starting in POWER ISA 3, so can be relied upon.

Reviewed by:	jhibbits, Breno Leitao
Differential Revision:	D14499
2018-03-07 17:08:07 +00:00
..
colors Fix GCC build broken by r32744 2017-12-31 23:40:06 +00:00
font sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hw Move the powerpc64 direct map base address from zero to high memory. This 2018-03-07 17:08:07 +00:00
logo sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
vt_buf.c Implement "vidcontrol -h <history_size>" for vt(4) 2017-12-05 22:19:59 +00:00
vt_consolectl.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
vt_core.c Avoid grabbing locks when grabbing the vt(4) console for DDB. 2018-02-22 02:26:29 +00:00
vt_cpulogos.c Revert r316796. It is not necessary since r317173. 2017-04-19 22:43:11 +00:00
vt_font.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
vt_sysmouse.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
vt.h Implement "vidcontrol -h <history_size>" for vt(4) 2017-12-05 22:19:59 +00:00