Home | History | Annotate | Download | only in bioscall
History log of /src/sys/arch/i386/bioscall/biostramp.S
RevisionDateAuthorComments
 1.14  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.13  11-Dec-2005  christos branches: 1.13.74; 1.13.76; 1.13.78;
merge ktrace-lwp.
 1.12  04-Jul-2004  mycroft s/PAGE_SIZE/NBPG/ to make this compile again.
 1.11  08-Apr-2003  thorpej branches: 1.11.2;
Use PAGE_SIZE rather than NBPG.
 1.10  14-Dec-2001  christos branches: 1.10.2;
Fix warnings about register prefixes caused by the new toolchain.
 1.9  02-May-2001  jdolecek branches: 1.9.4;
Add support for getting %es value from the bios call.
 1.8  23-Aug-1999  kleink branches: 1.8.16;
Unlike in an i386 a.out assembler, where in an .align n directive n is meant
to be the logarithm to base 2 of the alignment, in an ELF environment n is
the actual alignment boundary; thus, adjust the directives accordingly.

Albeit the wonderful i386 architecture doesn't mind the smaller alignment in
an obvious way, it is likely to have resulted in some performance penalty
during the a.out->ELF transition.
 1.7  31-Aug-1998  jtk add 32-bit register support to BIOSCALL interface
 1.6  09-Oct-1997  jtc Fix tipo inherited from old version of TNF copyright template.
 1.5  04-Nov-1996  jtc The copyright for this file has been assigned to the NetBSD Foundation
 1.4  13-Sep-1996  jtk BIOS trampoline is a static beast; generate it in the sources like
syscalls.h & friends, and include it when needed from the source directory.
 1.3  09-Sep-1996  mycroft Use machine/asm.h. Garbage collect.
 1.2  09-Sep-1996  jtk fix compilation problems when APM not configured
 1.1  08-Sep-1996  jtk re-implement BIOS trampoline as a more general-purpose, reusable trampoline.
calling interface (via a grapple in locore.s) is:
/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/

still some generalization to do (moving this to a better named location,
cleaning up #if tests from NAPM > 0 to something else to allow easy
sharing by other drivers)

Thanks to Charles Hannum for complaining about the previous BIOS grapple
and inspiring me to hack this one together.
 1.8.16.2  08-Jan-2002  nathanw Catch up to -current.
 1.8.16.1  21-Jun-2001  nathanw Catch up to -current.
 1.9.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.2.2  14-Dec-2001  christos Fix warnings about register prefixes caused by the new toolchain.
 1.10.2.1  14-Dec-2001  christos file biostramp.S was added on branch sommerfeld_i386mp_1 on 2001-12-14 20:30:11 +0000
 1.11.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.11.2.1  03-Aug-2004  skrll Sync with HEAD
 1.13.78.1  16-May-2008  yamt sync with head.
 1.13.76.1  18-May-2008  yamt sync with head.
 1.13.74.1  02-Jun-2008  mjf Sync with HEAD.

RSS XML Feed