History log of /openbsd-current/sys/arch/amd64/amd64/wscons_machdep.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.14 14-Oct-2017 jsg

reduce the amount of includes in arch/amd64
ok mpi@ deraadt@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.13 21-Jun-2016 jcs

add support to efifb for drawing a console on a coreboot framebuffer
if coreboot's memory table is found, it has a framebuffer entry, and
there is no previously attached efi, vga, or serial console.

useful on chromebooks that have no legacy vga device to get an early
console before inteldrm(4) attaches or, for newer chipsets, a full
console and X with wsfb(4).

ok kettenis


# 1.12 06-Mar-2016 naddy

Sync no-argument function declaration and definition by adding (void).
ok kettenis@ mpi@


Revision tags: OPENBSD_5_9_BASE
# 1.11 30-Aug-2015 yasuoka

Modify kernel to prepare boot from UEFI.

- Add new boot arg "bios_efi_info_t" to pass the paramters from UEFI
- Make bios(4) and acpi(4) be able to probe with the parameters from
UEFI
- Add efifb(8). It uses the framebuffer from UEFI and it will work as
a backend of wsdisplay(4) and wsfb (X11 video driver). Disabled by
the kernel config for this moment

input and ok kettenis


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.10 28-Jun-2011 matthieu

Remove the ega driver which is not referenced by any GENERIC kernel.

ok tedu@, "I won't mourn it" miod@, "no objection" oga@,
"I won't cry" todd@, "fine, even happy" nick@


Revision tags: OPENBSD_4_9_BASE
# 1.9 23-Nov-2010 shadchin

removed slot argument of function pckbc_cnattach
because it is always PCKBC_KBD_SLOT

ok krw@, miod@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.8 25-Aug-2009 miod

Legacy-free PC hardware do not have a real PS/2 keyboard controller, but
rather have the USB HCI emulate it during boot, while legacy mode is enabled.

This causes pckbd0 to attach as the console device, but is lost as soon as
the USB HCI driver attaches.

The disappearance of the emulated PS/2 controller can however be detected
in pckbc(4) - which is supposed to attach after [eou]hci(4), with the controller
refusing to ack commands and replying ``please resend'' instead.

In that case, the kernel will now no longer attach pckbd, and will perform a
new console input device selection, allowing the (real) usb keyboard to
become the console.

Thanks to krw@ for countless tests on legacy-free hardware; also tested on
more conventional hardware by naddy@ and I.

Only amd64 and i386 platforms are affected by this change.


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.7 16-Jul-2008 miod

Add a new parameter to pckbc_cnattach(): flags to put in the pckbc bowels.
For now, only one such flag is defined, PCKBC_CANT_TRANSLATE. It hints
pckbc that the device does not behave correctly to the ``set translation''
commands.

Set this flag if we are running on a Tadpole Ultrabook machine, which needs it.
This makes the built-in keyboard work correctly on this laptop (with the
help of the software translation pckbd diff).

tested & ok kettenis@


Revision tags: OPENBSD_4_3_BASE
# 1.6 23-Jan-2008 jsing

Cleanup cn_pri. Change constants to more meaningful names, rather than
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI,
CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI.

ok miod@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.5 11-Jun-2006 matthieu

Ansify. No binary change on amd64 and i386, not yet built on sgi. ok miod@


Revision tags: OPENBSD_3_9_BASE
# 1.4 09-Dec-2005 jsg

Drop clause 3/4 as per i386 version.
ok aaron@ (Copyright holder).


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.3 02-Nov-2004 miod

Remove __HAVE_NWSCONS and related remnants of pre-wscons days; no functional
change.


# 1.2 05-Oct-2004 miod

Get prototypes through cons_decl(), so that they are always right.


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.1 28-Jan-2004 mickey

an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)