summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* The poor nsccons variable was gone agian this time hidden bysos1996-09-091-2/+2
| | | | | | an ifdef , wonder who broke it this time :) Submitted by: ache
* Make syscons replicate a mousesystems mouse on minor 128..sos1996-09-081-18/+36
| | | | | | | | | | | | This enables other consumers of the mouse, to get it info via moused/syscons. In order to use it run moused (from sysconfig), and then tell your Xserver that it should use /dev/sysmouse (mknod sysmouse c 12 128) and it a mousesystems mouse. Everybody will be happy then :) Remember that moused still needs to know what kind of mouse you have.. Comments welcome, as is test results...
* Addition of page coloring support. Various levels of coloring are afforded.dyson1996-09-082-11/+14
| | | | | | The default level works with minimal overhead, but one can also enable full, efficient use of a 512K cache. (Parameters can be generated to support arbitrary cache sizes also.)
* Improve the scalability of certain pmap operations.dyson1996-09-082-292/+611
|
* Various cleanups for remanents of devconf.phk1996-09-085-26/+5
|
* Fixed another little both in the devconf removal.sos1996-09-081-1/+1
|
* Finish what phk started here in removing devconf. The ATAPI_STATIC casejkh1996-09-081-3/+2
| | | | | was still broken, as was the normal case since atapi_attach() was called internally.
* Fixed another easy case of const poisoning in the kernel. Cosmetic.bde1996-09-071-2/+2
| | | | | | (A pointer to a const was misused to avoid loading loading the same value twice, but gcc does exactly the same optimization automatically. It can see that the value hasn't changed.)
* Remove boot2 when the size test fails so that rebuilding without fixingbde1996-09-071-2/+4
| | | | | | | the problem doesn't bogusly succeed. Print size failures to stderr instead of stdout and don't print bells and whistles.
* Saved 48 bytes (46 before padding) using assorted nano-optimizations:bde1996-09-071-13/+14
| | | | | | | | | | | | | | | | | | - avoiding strcmp("?" saved 12 bytes. gcc inlined the strcmp() but this takes as much or more code as a function call. The inlining was bogus because the strcmp() in the bootstrap isn't standard. - using a char instead of an int for the boolean `last_only' saved 8 bytes. Booleans should usually be represented as chars on the i386. - simplifying the return tests saved 9 bytes. - using putc instead of printf to print a newline saved 3 bytes of code and 2 bytes of const data. - avoiding `else's by always doing the else clause and fixing it up saved 4+8 bytes.
* Saved 48 bytes (56 before padding) by moving a variable declaration.bde1996-09-071-2/+3
| | | | | | | | | | | | | | | | gcc always generates large code for accesses to globals. For locals it only generates large code if there are more than 128 bytes of locals. It sorts scalar locals after array locals to pessimize for space in the usual case when there are more (static) references to scalars than to arrays. Saved another 16 bytes (13 before padding) by adding a `continue'. Fall-through tests normally save space, but here one of them made gcc do space-unoptimal register allocation (it allocates ch in %bl because preserving this register across function calls is "free", but comparisions with %bl take one byte fewer than comparsions with %bl).
* Disable 'suspend' as it tends to lockup computers with the current APMnate1996-09-071-1/+3
| | | | driver.
* Unused file.nate1996-09-071-106/+0
|
* APM_DSVALUE_BUS is no longer with the addition of the correct fix tonate1996-09-072-36/+2
| | | | machdep.c. We no longer walk on the data segment the BIOS sets up.
* Yet another merge. Remove support.s by deleting memcopy. Removeasami1996-09-071-1/+16
| | | | | | autoconf.c by merging icu.h. Fix a couple of typos. Submitted by: The FreeBSD(98) Development Team.
* Add option SC_KBD_PROBE_WORKS to syscons driver.pst1996-09-063-6/+18
| | | | | | | | | If you define this, it means your keyboard is actually probable using the brain-dammaged probe routine in syscons, and if the keyboard is NOT found, then you don't want syscons to activate itself further. This makes life sane for those of us who use serial consoles most of the time and want "the right thing" to happen when we plug a keyboard in.
* Add ATAPI_STATIC, ATAPI, and SC_KBD_PROBE_WORKS options.pst1996-09-061-1/+6
|
* Bannish ATAPI and ATAPI_STATIC #defines to opt_atapi.h.pst1996-09-063-1/+7
|
* Remove these three devconf files entirely.phk1996-09-061-96/+0
|
* Remove devconf, it never grew up to be of any use.phk1996-09-0664-2050/+79
|
* Back out the previous changesjulian1996-09-052-86/+75
| | | | | | | I just couldn't get the code to be as small as it should have gotten.. atill a LITTLE bigger than before as I need to allow the default string to have options as well
* Fixed a panic when switching to 40x25 mode, and cursor was beyond thesos1996-09-041-1/+2
| | | | new buffer.
* 3 changes:julian1996-09-043-82/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1/ Makefile: the maximum size for boot2 is 7.5K not 7K, so don't complain until it reaches THAT size.. newfs leaves 8K and boot 1 is 512k. leaving 7.5K becasue the disklabel is considered to part of the boot2 file. [512 boot1][512 disklabel][ 7K boot2 code ] [boot1 file][ boot2 file ] 2/ Boot2.S: move the soring of the default name read from block 2 to AFTER clearing the BSS. 3/ boot.c: Move the parsing of the command line into the place it's called for clarity.. alsoi comment it a bit and clean it up a bit.. for some reason this seems ot have made it a little larger, but I can't work out why.. maybe bruce might have ideas? compensated for by shrinkage elsewhere.. the practical result of this is htat the default string can now contain args e.g. if you change the default string to have -gd then the machine will boot to the dgb debugger stub by default.. this is mostly useful with the nextboot utility.. as it now allows you to remotely force a machine to reboot into the debugger.
* More merge.asami1996-09-041-5/+1
| | | | | | | | | | | (1) Remove mk30line (moved to /usr/sbin, but not in our source tree yet) (2) Delete unneeded (well, harmful now :) code to prohibit #including of isa_device.h from PC98 sources. (3) Remove files now equal to their ISA/PC-AT counterparts. Submitted by: The FreeBSD(98) Development Team
* Changed type of ni_dirp in `struct namei' from caddr_t to `const char *'bde1996-09-032-7/+5
| | | | | | | so that the compiler can see that it is OK to use const strings in NDINIT(). Some emulators want to use paths of the form "/compat/foo". Removed the casts that hid the non-problem. Didn't fix the missing consts in syscalls.master that hid the non-problem.
* Fixed some more easy cases of const poisoning in the kernel. Cosmetic.bde1996-09-032-11/+11
|
* Cleaned up version of my 'extended BIOS' patch. This one is commentednate1996-09-031-30/+48
| | | | | | | better and much simpler to understand, and works just as well (better) as a bonus. Submitted by: bde
* Second phase of merge, get rid of more machine-independent-dependencies.asami1996-09-032-11/+3
| | | | | | Get rid of pc98/pc98/pc98_device.h. Submitted by: The FreeBSD(98) Development Team
* Fixed a couple of bugs in the mousepointer code.sos1996-09-012-233/+298
| | | | | Changed update strategy slightly. Make set_mode & copy_font externally visible.
* Change an splclock that needs to be an splhigh into an splhigh.dg1996-09-011-2/+2
| | | | Reviewed by: bde
* If the basemem value supplied by the bootblocks, differs from the valuenate1996-09-011-6/+33
| | | | | | | | | | | returned by the RTC, use the bootblock supplied value. Also, map the 'stolen by BIOS' memory in the same manner as the ISA-hole memory, since it is really an extenstion of the BIOS. This is necessary for 32-bit BIOS functions such as APM support on laptops, and the loss of memory for non-necessary functions seems to be at most 4k. Reviewed by: phk Obtained from: email conversation with jtk@atria.com
* Don't depend in the kernel on the gcc feature of doing arithmetic onbde1996-08-315-28/+28
| | | | pointers of type `void *'. Warn about this in future.
* 77 cyy Cyclades Ye/PCI serial cardjkh1996-08-311-1/+2
|
* Improvements from Bruce Evanspst1996-08-302-17/+29
|
* Cleaned up interrupt masking by declaring the state variable in abde1996-08-281-10/+15
| | | | | | | machine-dependent macro and passing it to all machine-dependent macros. Eliminated the state variable for the GUPROF case.
* Add g to flags helpache1996-08-281-1/+1
|
* Add g option to usage lineache1996-08-282-2/+3
|
* Fixed restoral of nsscons variable. The tty for /dev/console was lost.bde1996-08-281-2/+2
| | | | A warning was introduced.
* Use "" instead of <> for a header in the current directory.bde1996-08-281-2/+2
|
* Use (full) <> paths instead of ambiguous "" paths for headers not inbde1996-08-282-6/+6
| | | | the current directory.
* Clean up formatting and fix an & -> && bug pointed out by bdepst1996-08-281-87/+52
|
* Support for GDB remote debug protocol.pst1996-08-277-9/+603
| | | | Sponsored by: Juniper Networks, Inc. <pst@jnx.com>
* Add hints to the file ./LINT and the handbook.wosch1996-08-271-1/+10
|
* Unconditionally null-terminate string read into spkr driver.peter1996-08-241-3/+6
| | | | | Submitted by: Ikuo Nakagawa <ikuo@isl.intec.co.jp>, PR#1488, but using Bruce Evans <bde@zeta.org.au>'s fix.
* Another attempt at making multi-sector mode work.dyson1996-08-231-16/+35
|
* Add /usr/sbin to sysctl because /usr/sbin not in standard pathache1996-08-211-3/+3
|
* Collect all the functioons concerned with rebooting into one placejulian1996-08-191-160/+6
| | | | | also add the at_shutdown callout list, and change the one user of the present (broken) method (the vn driver) to use the new scheme.
* s/ETHER_MIN_LAN/ETHER_MIN_LEN/peter1996-08-191-1/+1
|
* oops somehow this dissppeared along the way..julian1996-08-191-1/+3
| | | | now I've started working on this again, I discovered it..
* Fix a couple of typos that sneaked in with Poul's ETHER_* mega-commit.joerg1996-08-181-2/+2
| | | | Reviewed by: phk
OpenPOWER on IntegriCloud