Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a new variable $num_ide_disks which is used to offset the unit number | msmith | 1998-11-13 | 4 | -15/+21 |
| | | | | | | for SCSI disks when converting from BIOS unit numbers to da unit numbers. Prompted by Kevin Street <street@iname.com> | ||||
* | bootforth seems to be working well enough for me and others to turn | jkh | 1998-11-12 | 1 | -8/+8 |
| | | | | on by default. If it causes trouble, it's very easy to switch off again. | ||||
* | Revise error messages. | rnordier | 1998-11-11 | 2 | -4/+4 |
| | |||||
* | Prevent boot.config being parsed more than once. | rnordier | 1998-11-08 | 2 | -2/+4 |
| | |||||
* | Drop the familiar 'text=xxxx data=xxxx bss=xxxx ...' display while | rnordier | 1998-11-08 | 2 | -28/+4 |
| | | | | | | loading. This eliminates noise when loading boot/loader; and when loading a kernel, they generally flash by too fast to be intelligible anyway. | ||||
* | boot1: Eliminate EDD detection and optional use of disk packet | rnordier | 1998-11-08 | 7 | -203/+164 |
| | | | | | | | | interface. Do some general consistency fixes and space optimizations. Use of some freed-up space to defend against possible BIOS misfeatures. boot2: Revise disk read interface to provide for boot1 changes. Free up space for this. | ||||
* | Make use of BIOS int 0x13 extensions configurable, and disabled | rnordier | 1998-11-05 | 5 | -9/+20 |
| | | | | by default. | ||||
* | Turn off -g accidentally left in from testing. | msmith | 1998-11-04 | 1 | -3/+3 |
| | |||||
* | Respect ${.OBJDIR} properly when looking for libficl.a | jkh | 1998-11-04 | 1 | -1/+5 |
| | |||||
* | Add required parts for BootForth building (currently disabled and | msmith | 1998-11-04 | 1 | -5/+10 |
| | | | | | untested). Only suitable for i386 at the moment, as we are missing setjmp/longjmp on the Alpha. | ||||
* | Implement a simple LRU block cache. By default this is initialised to 16k, | msmith | 1998-11-02 | 2 | -2/+18 |
| | | | | | | | | | | | | | | and will bypass transfers for more than 8k. Blocks are invalidated after 2 seconds, so removable media should not confuse the cache. The 8k threshold is a compromise; all UFS transfers performed by libstand are 8k or less, so large file reads thrash the cache. However many filesystem metadata operations are also performed using 8k blocks, so using a lower threshold gives poor performance. Those of you with an eye for cache algorithms are welcome to tell me how badly this one sucks; you can start with the 'bcachestats' command which will print the contents of the cache and access statistics. | ||||
* | Revise a few comments. | rnordier | 1998-11-02 | 2 | -14/+14 |
| | |||||
* | Ignore, rather than emulate, an i386 'hlt' instruction (though for | rnordier | 1998-11-01 | 2 | -22/+22 |
| | | | | | | | most practical purposes, this should be indistinguishable from a more strictly correct approach). Feedback and testing: msmith | ||||
* | - Add a new command 'lsdev' to list devices which might be likely to host | msmith | 1998-10-31 | 3 | -8/+52 |
| | | | | | | | | | | filesystems. - New 'help' command and data in the help.* files (not yet installed), provides topic and subtopic help, indexes, etc. - Don't crash if the user tries to set an invalid console. Be helpful instead. - Expand tabs (badly) on the i386 video console. - Some minor cosmetic changes. | ||||
* | Fix an uninitialized variable in the `dangerously dedicated disk' case. | luoqi | 1998-10-30 | 1 | -1/+2 |
| | |||||
* | Make the BTX loader much more quiet about what it's doing. This removes | msmith | 1998-10-30 | 3 | -54/+87 |
| | | | | most of the "what the (*^&%(*^ was that?" stuff that normally flies by. | ||||
* | Simplify the "is a character ready" test, so that we don't return a false | msmith | 1998-10-28 | 1 | -4/+2 |
| | | | | | | | negative for keypresses with zero ascii values. This is in line with the comconsole test, rather than being more ambitious. Submitted by: rnordier | ||||
* | Avoid interruptions while talking to keyboard controller. | rnordier | 1998-10-27 | 2 | -10/+14 |
| | |||||
* | biosboot compatibility fix: change behavior of backspace in getstr(). | rnordier | 1998-10-27 | 2 | -8/+12 |
| | | | | | | Noticed by: abial Optimize away a few bytes to make space for the above. | ||||
* | Clean the ${BASE}.sym file as well. | msmith | 1998-10-23 | 1 | -2/+2 |
| | |||||
* | Remove a debugging copy of offsetof() that snuck in. | msmith | 1998-10-23 | 1 | -2/+1 |
| | |||||
* | Enable the PCI BIOS PnP enumerator. | msmith | 1998-10-23 | 1 | -3/+3 |
| | |||||
* | PnP enumerator using the PCI BIOS. This is needlessly complex due to the | msmith | 1998-10-23 | 3 | -6/+300 |
| | | | | lack of a simple "enumerate all PCI devices" function. | ||||
* | PnP BIOS enumerator; mostly useful for hunting PnP devices that are supported | msmith | 1998-10-22 | 1 | -0/+290 |
| | | | | by the system BIOS rather than supporting ISA PnP. | ||||
* | Add a dependancy on the BTX crt0 object | msmith | 1998-10-22 | 3 | -8/+6 |
| | | | | | Add the biospnp handler to the pnp handler array Drop some old debugging code | ||||
* | Add biospnp.c | msmith | 1998-10-22 | 1 | -2/+3 |
| | |||||
* | Pop the return address off the stack before making a V86_CALLF call; | msmith | 1998-10-22 | 1 | -2/+5 |
| | | | | | this allows us to implement what look like C function calls from user space "directly" to v86 mode code. (Used for calling the PnP BIOS) | ||||
* | Bye-bye setdefs. | msmith | 1998-10-21 | 2 | -90/+0 |
| | |||||
* | - Enable PnP and ISA PnP code. | msmith | 1998-10-21 | 3 | -26/+59 |
| | | | | | | | | - Use the ISA PnP enumerator. - Use the new linker set code, throw out the gensetdefs stuff. - Produce an intermediate loader image that has symbols stripped, to aid - in debugging. - Supply ISA port access functions required for ISA PnP | ||||
* | Don't depend on being part of the kernel tree. If we are, use the kernel's | msmith | 1998-10-21 | 1 | -5/+8 |
| | | | | <machine> includes rather than the system's. | ||||
* | Make serial port, data format, and bps configurable. | rnordier | 1998-10-20 | 4 | -12/+24 |
| | |||||
* | Make configurable (a) whether to use int 0x13 extensions; (b) timeout | rnordier | 1998-10-19 | 3 | -17/+25 |
| | | | | | value. Ignore failure to update mbr sector. Disable interrupts while using extended registers. Default to F1 not F2. | ||||
* | Set BINMODE to 444. | rnordier | 1998-10-17 | 1 | -1/+2 |
| | |||||
* | Fix some glitches in the input routine: | rnordier | 1998-10-17 | 2 | -4/+14 |
| | | | | | | Don't display a \b if not acting on it. Don't process binary zero chars (which result from pressing function keys, etc. on the PC). | ||||
* | Having probed the keyboard, turn off the -P flag. | rnordier | 1998-10-17 | 2 | -2/+4 |
| | |||||
* | Treat all options as toggles (ie. -c -c is the same no -c). Since | rnordier | 1998-10-17 | 2 | -12/+8 |
| | | | | | | | | the boot.config settings are persistent, this seems to provide a useful override capability, and should break only on broken boot.config's. Output a cosmetic newline if booting with no input. | ||||
* | biosboot compatibility fix: | rnordier | 1998-10-17 | 2 | -8/+14 |
| | | | | If we have a boot.config command, display it. | ||||
* | biosboot compatibility fix: | rnordier | 1998-10-17 | 2 | -4/+4 |
| | | | | | | | Read boot.help before parsing boot.config. We were parsing boot.config first, which could result in boot.help being read from a different location (or not found), which would probably just cause surprise, without being useful. | ||||
* | Fix path to sio.s | rnordier | 1998-10-15 | 2 | -4/+4 |
| | |||||
* | Add serial, dual, and probe-keyboard support. | rnordier | 1998-10-15 | 7 | -50/+338 |
| | |||||
* | Get the last used address via a more conservative method, don't depend | peter | 1998-10-15 | 3 | -12/+18 |
| | | | | on the module chain being in increasing address order. | ||||
* | Activate boot2. | rnordier | 1998-10-14 | 1 | -2/+2 |
| | |||||
* | Try and get the sys/* and machine/* includes via relative paths. This | peter | 1998-10-14 | 2 | -5/+20 |
| | | | | | saves having to do a 'make includes' after touching any header file for the boot code. | ||||
* | Align to sizeof(long) rather than sizeof(int32_t). It needs to be | peter | 1998-10-14 | 3 | -12/+12 |
| | | | | | long because this code is shared with the alpha. I hope the alpha can read 32 bit ints at 32 bit alignment (vs. 64 bit alignment). | ||||
* | Fix btx include path. | rnordier | 1998-10-14 | 2 | -4/+4 |
| | |||||
* | Include <bsd.prog.mk>. Add install target (to /boot for now). | rnordier | 1998-10-14 | 2 | -10/+36 |
| | |||||
* | Fix flow of control after directory listing; enable EDD support; | rnordier | 1998-10-13 | 2 | -8/+10 |
| | | | | cosmetics. | ||||
* | Make v86.ctl default more explicit; simplify read error-handling; | rnordier | 1998-10-13 | 2 | -24/+52 |
| | | | | twiddle. | ||||
* | Adjust NDEV value. | rnordier | 1998-10-13 | 2 | -22/+16 |
| | | | | Optimize reading of system time. | ||||
* | Change to a 15-sector boot2. | rnordier | 1998-10-13 | 6 | -48/+64 |
| | | | | Refine slice-handling. |