History log of /openbsd-current/sys/arch/i386/stand/libsa/apmprobe.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.19 10-Jun-2016 jcs

fix some typos in comments

from Tom Cosgrove


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.18 08-Jul-2014 deraadt

This is bootblock code. Don't pull in uvm header files to deal with
page rounding! Disgusting. Instead, define local copies of those
macros.


# 1.17 29-Mar-2014 guenther

It's been a quarter century: we can assume volatile is present with that name.

ok dlg@ mpi@ deraadt@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 21-Mar-2013 deraadt

NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASK


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 13-Sep-2007 weingart

Don't bother bitching if APM does not exist. Pleanty
enough systems today do not have apm. Also, the existance
of apm is given on the probe line, absence means it ain't
there.


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.14 14-Nov-2005 martin

convert and remove the last traces of i386_round_page(),
i386_trunc_page(), i386_btop() and i386_ptob()


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
# 1.13 11-Mar-2004 tom

If apm_connect() fails, don't try to pass the bios_apminfo_t structure
to the kernel, since it won't have been filled in, and since we can't
make APM calls if we don't connect (per spec). Also tidy up the error
message, to make it clear that it's an APM error.

Problem found, and fix tested, by jmc@

ok millert@, weingart@


# 1.12 09-Mar-2004 tom

Spacing and KNF. Partly from Joris Vink <nimadeus at pandora dot be>.

ok henning@, deraadt@


Revision tags: OPENBSD_3_4_BASE
# 1.11 11-Aug-2003 deraadt

ansification and knf and protos


# 1.10 03-Jun-2003 mickey

three four kills


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 20-Jun-2002 weingart

Fix 4GB memory probing and other memory probing issues.
Outstanding issue is with Compaq 16MB detection problem.
ok deraadt@, and various people from the 'net.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE SMP_BASE UBC_BASE
# 1.8 29-Jan-2000 mickey

branches: 1.8.2; 1.8.12;
this makes some rough and tough calculations on apm
segment addresses, should be installed (some bioses do
report weird values some times)


Revision tags: OPENBSD_2_6_BASE kame_19991208
# 1.7 25-Aug-1999 mickey

give better support to the bios memory maps.
provide memory maps editing through the machine memory command.
rearrange probing in machdep, so it provides less output,
also giving a shot for apm to fix the memory maps.
changes to kernel are minimal, only that is required due
to the api version bits addition and such cosmetic changes.
tested on all critical kernel,boot combinations; niklas@ ok


# 1.6 09-May-1999 mickey

provide suport for an apm data segemnt in the lower memory bios
data segment area, also calculate the apm segment lenghts.
niklas@ - ok


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.5 18-Apr-1998 deraadt

i386 bootblocks that work for 2.3. A tale too long to tell


# 1.4 24-Feb-1998 weingart

Changes/updates to /boot stuff. More to come.
Fixes many divide by zero and pointer bugs.


# 1.3 30-Nov-1997 mickey

big diskinfo changes from toby@


Revision tags: OPENBSD_2_2_BASE
# 1.2 22-Oct-1997 mickey

newer, better stuff; some parts by toby@


# 1.1 17-Oct-1997 weingart

Cleanup, make it all compile.
Move APM stuff to apmprobe.c