Commit Graph

34 Commits

Author SHA1 Message Date
mycroft
cd5dfd5c5c Rebuild. This primarily updates NGDT. 2004-07-04 03:35:01 +00:00
mycroft
15eb49718a s/PAGE_SIZE/NBPG/ to make this compile again. 2004-07-04 03:21:53 +00:00
jmc
f84b0cd795 Partial fix for PR#14946. Make sure x86 symlinks exist also 2003-12-25 21:02:58 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
thorpej
cf9d21bf8e Use PAGE_SIZE rather than NBPG. 2003-04-08 23:39:14 +00:00
rafal
bc2214ed89 Rebuild after my re-arrangement of GDT entries, since this code depends on
the values of GBIOSCODE_SEL and GBIOSDATA_SEL.
2002-01-23 15:05:33 +00:00
christos
878eb1362a PR/14946: Rafal Boni: Make this work again.
Notes:
    - I added bsd.obj.mk and made it work with objdirs.
    - I added an entry point to the linker to fix a warning.
    - I made the backup of biostramp.inc silent.
    - I added missing clean targets.

This needs to be tested further.
2001-12-14 20:32:23 +00:00
christos
d259e61055 Fix warnings about register prefixes caused by the new toolchain. 2001-12-14 20:30:10 +00:00
tv
ab11c169b5 objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
now in bsd.own.mk).
2001-09-22 03:34:17 +00:00
jdolecek
4caa2e3629 regen: add support for getting %es value from the bios call 2001-05-02 13:13:48 +00:00
jdolecek
0b26347639 Add support for getting %es value from the bios call. 2001-05-02 13:12:45 +00:00
tsutsui
11c8f56d48 Revert STRIPPROG -> STRIP 2000-02-01 05:25:24 +00:00
tsutsui
e61f177ab1 STRIP -> STRIPPROG 2000-01-19 16:29:54 +00:00
jtk
41360ce4ff regen with ELF. Still works OK. 1999-09-04 22:26:21 +00:00
jtk
4dc03cfa09 fix for building on ELF 1999-09-04 22:25:51 +00:00
kleink
5663256d0a 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.
1999-08-23 08:24:36 +00:00
jtk
6ab2c0f7d4 config file for BIOSCALL assym.h 1998-08-31 23:53:30 +00:00
jtk
a5026bf4e2 regen 1998-08-31 23:52:58 +00:00
jtk
10ec6359b5 add 32-bit register support to BIOSCALL interface 1998-08-31 23:52:40 +00:00
mycroft
c9a799adf6 Assign my copyrights to TNF. 1998-08-15 04:57:50 +00:00
jtk
fe87ac4104 fix for changes in bioscall structure and include files 1998-01-06 00:35:42 +00:00
perry
5646f55116 make script insert RCS ids into generated files 1998-01-05 21:28:21 +00:00
jtc
1bcecdd613 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:48:33 +00:00
jtc
4620e80691 The copyright for this file has been assigned to the NetBSD Foundation 1996-11-04 23:04:43 +00:00
jtk
662c47ecd3 use ls, not ${LS}; remove now-unneeded Makefile.inc 1996-09-13 02:24:30 +00:00
jtk
04f1e23fe1 BIOS trampoline is a static beast; generate it in the sources like
syscalls.h & friends, and include it when needed from the source directory.
1996-09-13 00:02:36 +00:00
mycroft
dbacbd3636 Use machine/asm.h. Garbage collect. 1996-09-09 18:42:51 +00:00
mycroft
379839a0df Make the build process more sane. 1996-09-09 18:07:40 +00:00
mycroft
3fbde733bc Sync with version in ../boot. 1996-09-09 16:55:11 +00:00
jtk
4b9b2da0f5 I meant to depend on apm.h, not Makefile 1996-09-09 11:34:01 +00:00
jtk
ec11419661 fix compilation problems when APM not configured 1996-09-09 11:31:40 +00:00
jtk
fda7345c98 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.
1996-09-08 15:36:51 +00:00
jtk
dbeeead15d clean up includes and uses of constants so that we use one include file,
<i386/include/apmvar.h>
remove some files we don't need anymore
1996-08-30 02:32:13 +00:00
jtk
b86b695240 add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
1996-08-25 23:38:57 +00:00