aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/boot/dosboot
Commit message (Collapse)AuthorAgeFilesLines
* Remove the old a.out-only boot loader, we don't use it any more.Peter Wemm2000-03-1932-5355/+0
| | | | | | | | | | | The new boot1/boot2 can load a.out and elf kernels directly. I think the sys/pc98 version can go too as the sys/boot/pc98 code appears to be functional, but I'll leave that for the pc98 folks. "There can be only one." Notes: svn path=/head/; revision=58284
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-12-296-8/+10
| | | | | | | | | 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. Notes: svn path=/head/; revision=55205
* Removed vestiges of BAD144 support.Bruce Evans1999-12-231-1/+2
| | | | Notes: svn path=/head/; revision=55055
* Remove BAD144 support, it has already been disabled for some time.Poul-Henning Kamp1999-12-082-212/+1
| | | | Notes: svn path=/head/; revision=54294
* GC bdbtofsb()Peter Wemm1999-09-261-8/+0
| | | | Notes: svn path=/head/; revision=51686
* Try to win back the "removal of most crufty code" trophy from markm:Poul-Henning Kamp1999-09-011-6/+0
| | | | | | | | | | | | Remove WD formatting code which has never worked in 386bsd or FreeBSD. Remove DIOCSSTEP and DIOCSRETRIES ioctls as well, they belong in history, along with the SMD disks. OK'ed by: bde Notes: svn path=/head/; revision=50744
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2824-24/+24
| | | | Notes: svn path=/head/; revision=50477
* Clean up some more residual /usr/mdec references. I left all theJordan K. Hubbard1999-01-031-2/+2
| | | | | | | | extra rbootd/boot rom cruft pointing at /usr/mdec since it either doesn't exist or doesn't work anyway, so who cares? :) Notes: svn path=/head/; revision=42261
* Rely on ../Makefile.inc to set the default for BINDIR.Bruce Evans1998-12-301-2/+1
| | | | Notes: svn path=/head/; revision=42172
* Add two new functions, get{micro|nano}time.Poul-Henning Kamp1998-03-261-14/+1
| | | | | | | | | | | | | | | They are atomic, but return in essence what is in the "time" variable. gettime() is now a macro front for getmicrotime(). Various patches to use the two new functions instead of the various hacks used in their absence. Some puntuation and grammer patches from Bruce. A couple of XXX comments. Notes: svn path=/head/; revision=34901
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-2224-24/+24
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-1424-24/+24
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Add g option to usage lineAndrey A. Chernov1996-08-281-0/+1
| | | | Notes: svn path=/head/; revision=17873
* Support for GDB remote debug protocol.Paul Traina1996-08-272-3/+6
| | | | | | | Sponsored by: Juniper Networks, Inc. <pst@jnx.com> Notes: svn path=/head/; revision=17847
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8876
* New and improved version from the author.Poul-Henning Kamp1995-04-2713-583/+684
| | | | | | | Submitted by: DI. Christian Gusenbauer <cg@fimp01.fim.uni-linz.ac.at> Notes: svn path=/head/; revision=8110
* "jl" and "jb" doesn't quite do the same thing...Poul-Henning Kamp1995-04-142-3/+3
| | | | | | | | Reviewed by: phk Submitted by: "DI. Christian Gusenbauer" <cg@scotty.edvz.uni-linz.ac.at> Notes: svn path=/head/; revision=7830
* Don't install /usr/mdec/bootPoul-Henning Kamp1995-03-281-0/+21
| | | | | | | | | Install the biosboot as /usr/mdec/boot[12] Make the traditional links from [swf]dboot and boot[swf]d to boot[12] files. Install dosboot as /usr/mdec/boot/fbsdboot.exe Notes: svn path=/head/; revision=7449
* This is a MS-DOS program, but is does something useful for us:Poul-Henning Kamp1995-02-1532-0/+5465
It boots FreeBSD from a running MS-DOS system. It's compiled using some MS-DOS tools, but there is a binary hidden in the uuencoded file. (Go ahead, flame me if you can come up with a solution for the problem. Just saying "this is bad" doesn't count!) Rod, you were right: one would have to deal with weird interfaces to the memory managers, and it seems that Christian found them all, and made them work. Thanks Christian! Reviewed by: phk Submitted by: DI. Christian Gusenbauer <cg@fimp01.fim.uni-linz.ac.at> Christians README: ------------------ Hi Everybody! This is version 1.5 of "fbsdboot", a program that allows you to boot a kernel from a MS-DOS partition or a FreeBSD partition. This program runs using DOS. It works with various memory managers (like EMM386, 386MAX) under certain circumstances. First, a FreeBSD kernel is always loaded to memory starting at 0x100000. To assure that loading the kernel *does not* overwrite memory used by memory managers, high memory for the kernel is allocated and after loading the kernel it's moved to 0x100000. Second, there are many ways to switch to protected mode which is necessary to start the kernel. Each BIOS gives you the possibility to use INT15H (AH=89H) to do that. But some memory-managers like 386max does not allow you to use this method. An other way to do the switch is to use DPMI services, but they do not guarantee, that the protected mode application is executed with privilege level 0. Therefore this method is *not* used. VCPI services offer another way to switch to protected mode, and VCPI servers are built into "emm386.exe", "386max" and "qemm". That's why, this method is implemented in fbsdboot.exe. Fbsdboot.exe tries to switch to protected mode using VCPI services. If they're not available INT15H is used to do the switch. If that fails, it's not possible for this version of fbsdboot.exe to boot a kernel :-(. You can get commandline options of fbsdboot if you start it with "-?" as option! I don't know, if fbsdboot works with QEMM, as I don't have the possibility to test it. Enjoy and have fun! Christian. cg@fimp01.fim.uni-linz.ac.at PS: Many thanks to Bruce Evans for his assistance! Notes: svn path=/head/; revision=6424