summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/pc
Commit message (Collapse)AuthorAgeFilesLines
* MFC 270828,271487,271495:jhb2014-10-101-0/+8
| | | | | Add sysctls to export the BIOS SMAP and EFI memory maps along with handlers in the sysctl(8) binary to format them.
* - Re-shuffle the <machine/pc/bios.h> headers to move all kernel-specificjhb2012-09-281-73/+103
| | | | | | | | | | | bits under #ifdef _KERNEL but leave definitions for various structures defined by standards ($PIR table, SMAP entries, etc.) available to userland. - Consolidate duplicate SMBIOS table structure definitions in ipmi(4) and smbios(4) in <machine/pc/bios.h> and make them available to userland. MFC after: 2 weeks
* - Teach vesa(4) and dpms(4) about x86emu. [1]delphij2009-09-091-120/+0
| | | | | | | | | | - Add vesa kernel options for amd64. - Connect libvgl library and splash kernel modules to amd64 build. - Connect manual page dpms(4) to amd64 build. - Remove old vesa/dpms files. Submitted by: paradox <ddkprog yahoo com> [1], swell k at gmail.com (with some minor tweaks)
* A simple rewrite of biossmap.c:jkim2009-04-151-0/+4
| | | | | | | | | | | | | - Do not iterate int 15h, function e820h twice. Instead, we use STAILQ to store each return buffer and copy all at once. - Export optional extended attributes defined in ACPI 3.0 as separate metadata. Currently, there are only two bits defined in the specification. For example, if the descriptor has extended attributes and it is not enabled, it has to be ignored by OS. We may implement it in the kernel later if it is necessary and proven correct in reality. - Check return buffer size strictly as suggested in ACPI 3.0. Reviewed by: jhb
* - Add constants for the different memory types in the SMAP table.jhb2007-10-281-2/+8
| | | | | - Use the SMAP types and constants from <machine/pc/bios.h> in the boot code rather than duplicating it.
* Remove the internal use of __packed and put it on the structuresmjacob2007-07-111-11/+11
| | | | | | | themselves. Reviewed by: nate, peter, warner, robert Approved by: re (ken)
* __packed has no effect on u_int8_t's except to cause a warning (andpeter2007-07-051-1/+1
| | | | | | never has had any effect). Approved by: re (rwatson)
* Make the facility for recognizing BIOS-signatures more generalphk2005-07-211-1/+16
| | | | | | | | | | | | | | and return a printable representation. This fixes recognition of the PC Engines WRAP and improves the recognition of the Soekris boards (Bios version can now be seen in the dmesg output for instance). Also, add watchdog support for PCM-582x platforms. Submitted by: Adrian Steinmann <ast@marabu.ch> Slightly changed by: phk PR: 81360
* Move pc98 specific parts to the pc98 specific file.nyan2005-04-131-5/+0
|
* These appear to be unused in our tree, so remove them.imp2005-01-051-45/+0
|
* - Use the correct devclass name ("acpi" vs "ACPI") to detect if acpi0 isjhb2004-06-101-1/+0
| | | | | | | present and thus that the PnPBIOS probe should be skipped instead of having ACPI zero out the PnPBIOStable pointer. - Make the PnPBIOStable pointer static to i386/i386/bios.c now that that is the only place it is used.
* Remove atdevbase and replace it's remaining uses with direct references tojhb2004-06-101-2/+2
| | | | KERNBASE instead.
* Add new bios_string() which will hunt for a string inside a given rangephk2004-06-031-0/+8
| | | | | of the BIOS. This can be used for finding arbitrary magic in the BIOS in order to recognize particular platforms.
* Removed bits related to MBRs now that they have a proper home inbde2002-10-021-20/+0
| | | | <sys/diskmbr.h>.
* use __packed.alfred2002-09-232-16/+16
|
* Fixed to draw mouse cursor. The syscons driver for PC98 uses differentnyan2001-12-141-0/+5
| | | | | | | attributes from i386. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) MFC after: 3 days
* Fix the argument specifier for the PnP BIOS function 2yokota2001-09-031-1/+1
| | | | | | | (PNP_SET_DEVNODE). The second argument is not a segment:offset pointer, but a 16 bit short. MFC after: 4 weeks
* The general conesnsus on irc was that pci bios for config registersimp2001-08-211-0/+1
| | | | | | | | | and such was just a bad idea and one that users should be forced to enable if they want it. This patch introduces a hw.pci.enable_pcibios tunable for those people. This does not impact the pcibios interrupt routing at all. Approved by: peter, msmith
* Add PCI BIOS function codes for IRQ routing fetch and route.msmith2000-10-191-0/+2
|
* Add types and prototypes.imp2000-10-161-1/+45
| | | | Submitted by: msmith
* More updates to the ACPI code:msmith2000-09-301-0/+13
| | | | | | | | | | | | | | | - Move all register I/O into acpi_io.c - Move event handling into acpi_event.c - Reorganise headers into acpivar/acpireg/acpiio - Move find-RSDT and find-ACPI-owned-memory into acpi_machdep - Allocate all resources (except those detailed only by AML) as real resources. Add infrastructure that will make adding resource support to AML code easy. - Remove all ACPI #ifdefs in non-ACPI code - Removed unnecessary includes - Minor style and commenting fixes Reviewed by: iwasaki
* Some more i386-only BIOS-friendliness:msmith2000-04-161-0/+11
| | | | | | | | | - Add support for using the PCI BIOS functions for configuration space accesses, and make this the default. - Make PNPBIOS the default (obsoletes the PNPBIOS config option). - Add two new boot-time tunables to disable each of the above.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-2/+2
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Reference the correct gdt[] entry on SMP. Remove the `generation' flag,jlemon1999-08-271-2/+1
| | | | and always reload the selectors for every bios call.
* Remove the SMBIOS detection and definitions; this should be handled in amsmith1999-08-181-29/+1
| | | | loadable module (under development).
* Search for and interrogate the PnP BIOS if found. This code just printsmsmith1999-08-171-4/+68
| | | | | the PnP device IDs in verbose mode; it does not (yet) save any resource data or contribute to the PnP process nor resource management.
* Major update to the kernel's BIOS-calling ability.msmith1999-07-291-13/+75
| | | | | | | | | - Add support for calling 32-bit code in other segments - Add support for calling 16-bit protected mode code Update APM to use this facility. Submitted by: jlemon
* - Don't assume the line length in the video memory is always the same asyokota1999-02-051-2/+2
| | | | | | | the screen width. - Store the current video mode information in the `video_adapter' struct. - The size of the `v_offscreensize' field in the VESA mode information block is u_int16, not u_int8.
* The first stage of console driver reorganization: activate newyokota1999-01-111-5/+1
| | | | | | | | | | | | | keyboard and video card drivers. Because of the changes, you are required to update your kernel configuration file now! The files in sys/dev/syscons are still i386-specific (but less so than before), and won't compile for alpha and PC98 yet. syscons still directly accesses the video card registers here and there; this will be rectified in the later stages.
* Update #ifdef directive.yokota1999-01-081-2/+2
| | | | # I forgot this bit when I committed VESA KLD update a few days ago ;-<
* Cosmetic change: adjust copyright notice.yokota1998-09-251-17/+14
|
* Add VESA support to syscons.sos1998-09-151-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | Kazu writes: The VESA support code requires vm86 support. Make sure your kernel configuration file has the following line. options "VM86" If you want to statically link the VESA support code to the kernel, add the following option to the kernel configuration file. options "VESA" The vidcontrol command now accepts the following video mode names: VESA_132x25, VESA_132x43, VESA_132x50, VESA_132x60, VESA_800x600 The VESA_800x600 mode is a raster display mode. The 80x25 text will be displayed on the 800x600 screen. Useful for some laptop computers. vidcontrol accepts the new `-i <info>' option, where <info> must be either `adapter' or `mode'. When the `-i adapter' option is given, vidcontrol will print basic information (not much) on the video adapter. When the `-i mode' option is specified, vidcontrol will list video modes which are actually supported by the video adapter. Submitted by: Kazutaka YOKOTA yokota@FreeBSD.ORG
* Nuke the nonexistend pad bytes from the end of the DMI header structure.msmith1997-08-041-2/+1
|
* Support for PC BIOS functions.msmith1997-08-011-0/+113
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-222-2/+2
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, somergrimes1993-10-162-0/+4
| | | | minor cleanup. Added $Id$ to files that did not have any version info, etc
* Initial import, 0.1 + pk 0.2.4-B1rgrimes1993-06-122-0/+106
OpenPOWER on IntegriCloud