summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added calibration the i8254 and the i586 clocks agains the RTC at bootBruce Evans1996-05-019-237/+1257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | time. The results are currently ignored unless certain temporary options are used. Added sysctls to support reading and writing the clock frequency variables (not the frequencies themselves). Writing is supposed to atomically adjust all related variables. machdep.c: Fixed spelling of a function name in a comment so that I can log this message which should have been with the previous commit. Initialize `cpu_class' earlier so that it can be used in startrtclock() instead of in calibrate_cyclecounter() (which no longer exists). Removed range checking of `cpu'. It is always initialized to CPU_XXX so it is less likely to be out of bounds than most variables. clock.h: Removed I586_CYCLECTR(). Use rdtsc() instead. clock.c: TIMER_FREQ is now a variable timer_freq that defaults to the old value of TIMER_FREQ. #define'ing TIMER_FREQ should still work and may be the best way of setting the frequency. Calibration involves counting cycles while watching the RTC for one second. This gives values correct to within (a few ppm) + (the innaccuracy of the RTC) on my systems. Notes: svn path=/head/; revision=15508
* i386/machdep.cBruce Evans1996-05-012-28/+6
| | | | | | | | include/clock.h isa/clock.c Notes: svn path=/head/; revision=15507
* Include <sys/buf.h> so that this does't blow up with B_WRITE undefined.Jordan K. Hubbard1996-05-012-2/+4
| | | | | | | | I fully updated my src tree and did a `make includes' in /usr/src before trying this fix, so I can only presume that Bruce missed something. Notes: svn path=/head/; revision=15506
* Oops, restored existent option LINUX. It is used at config-time.Bruce Evans1996-05-013-3/+6
| | | | Notes: svn path=/head/; revision=15505
* Made this self-sufficent (except for <sys/types.h>) when compiled inBruce Evans1996-05-011-35/+43
| | | | | | | | | user mode. Improved formatting and comments (mostly punctuation in comments). Notes: svn path=/head/; revision=15504
* Fixed a race that caused panics in kernel printfs when the screen timeoutBruce Evans1996-05-013-6/+15
| | | | | | | routine changed the screen pointers while output was in progress. Notes: svn path=/head/; revision=15502
* Don't return unused values in cpu_switch() or savectx().Bruce Evans1996-05-015-22/+10
| | | | | | | Don't preserve unused registers in the NPX case in savectx(). Notes: svn path=/head/; revision=15501
* Removed unused #include.Bruce Evans1996-05-012-4/+2
| | | | Notes: svn path=/head/; revision=15500
* Micro tweak for getting the Holographic shell message to stay on theJordan K. Hubbard1996-05-013-6/+6
| | | | | | | screen longer. Notes: svn path=/head/; revision=15499
* Removed nonexistent option "LINUX" (what's that :-).Bruce Evans1996-05-015-10/+5
| | | | Notes: svn path=/head/; revision=15498
* Only disable sio3 by default.Bruce Evans1996-05-012-4/+4
| | | | Notes: svn path=/head/; revision=15497
* Default to udp if neither udp nor tcp is specified. The previous revisionBruce Evans1996-05-012-2/+4
| | | | | | | | was broken. It forced udp in all cases except the extremely unusual case argc == 0. Notes: svn path=/head/; revision=15496
* Removed prototype for obsolete function sleep().Bruce Evans1996-05-011-2/+1
| | | | Notes: svn path=/head/; revision=15495
* Removed unnecessary #includes from <sys/imgact.h> so that it isBruce Evans1996-05-019-16/+27
| | | | | | | self-sufficient and added explicit #includes where required. Notes: svn path=/head/; revision=15494
* Removed bogus _BEGIN_DECLS/_END_DECLS.Bruce Evans1996-05-019-92/+57
| | | | | | | | | Removed unused struct tag declarations in cloned code. Added or cleaned up idempotency ifdefs. Notes: svn path=/head/; revision=15493
* Made this self-sufficent (apart from <sys/types.h>) again. It includedBruce Evans1996-05-011-6/+7
| | | | | | | | <sys/stat.h> and <sys/filedesc.h> just to get struct tags and depended on a previous #include for <sys/queue.h> Notes: svn path=/head/; revision=15492
* Alex Nash added for his contribution of the compat21 distribution.Jordan K. Hubbard1996-05-011-1/+2
| | | | Notes: svn path=/head/; revision=15491
* Made this compile again. A comment delimiter got deleted in the Lite2Bruce Evans1996-05-011-1/+2
| | | | | | | changes. Notes: svn path=/head/; revision=15490
* Fixed incomplete or wrong lists of prerequisite #includes related toBruce Evans1996-05-015-3/+10
| | | | | | | <sys/types.h>. Notes: svn path=/head/; revision=15489
* Fixed incomplete or wrong lists of prerequisite #includes related toBruce Evans1996-05-012-2/+4
| | | | | | | <sys/types.h>. Notes: svn path=/head/; revision=15488
* Fixed a wrong prerequisite #include and a missing function-arg type.Bruce Evans1996-05-011-3/+3
| | | | Notes: svn path=/head/; revision=15487
* Fixed misformatted #include (.Ft -> .Fd).Bruce Evans1996-05-011-1/+1
| | | | Notes: svn path=/head/; revision=15486
* Made this work with the documented prerequisite #includes (none).Bruce Evans1996-05-011-0/+8
| | | | Notes: svn path=/head/; revision=15485
* Oops, this should have been with the ctype changes.Bruce Evans1996-05-011-11/+9
| | | | | | | | | | | Fixed longstanding namespace convolution involving rune_t vs wchar_t... This change breaks similar (but more convoluted) convolutions in the stddef.h in gcc distributions. Ports of gcc should avoid using the gcc headers. Notes: svn path=/head/; revision=15484
* Fixed longstanding namespace convolution involving rune_t vs wchar_t.Bruce Evans1996-05-018-48/+56
| | | | | | | | | | | | | | If _ANSI_SOURCE or _POSIX_SOURCE is defined, then <ctype.h> had to be included before <stddef.h> or <stdlib.h> to get rune_t declared. Now rune_t is declared perfectly bogusly in all cases when <ctype.h> is included. This change breaks similar (but more convoluted) convolutions in the stddef.h in gcc distributions. Ports of gcc should avoid using the gcc headers. Notes: svn path=/head/; revision=15483
* Fixed timeouts. I broke them in rev.1.17 for the FORCE_COMCONSOLE andBruce Evans1996-04-301-4/+21
| | | | | | | (interactively set RB_SERIAL) && BOOTWAIT (serial i/o) cases. Notes: svn path=/head/; revision=15482
* Removed gratuitous differences from Lite2.Bruce Evans1996-04-301-7/+4
| | | | | | | Cleaned up vm typedefs. Notes: svn path=/head/; revision=15481
* #include <sys/filedesc.h> explicitly instead of depending on it beingBruce Evans1996-04-303-3/+6
| | | | | | | bogusly included by <sys/socketvar.h>. Notes: svn path=/head/; revision=15480
* Fixed nfs sysctls. They missed out on the fs -> vfs name changes fromBruce Evans1996-04-304-10/+10
| | | | | | | Lite2. This broke nfsstat. Notes: svn path=/head/; revision=15479
* Make pcibus_check() ignore Device/Vendor IDs of all 0.Stefan Eßer1996-04-306-12/+12
| | | | Notes: svn path=/head/; revision=15478
* Fix another couple of bogons with the package menu.Jordan K. Hubbard1996-04-302-12/+14
| | | | Notes: svn path=/head/; revision=15477
* Add ports-all and comment out individual ports-*. Add commented outSatoshi Asami1996-04-302-56/+80
| | | | | | | ports-distfiles to ports-supfile. Add explanations. Notes: svn path=/head/; revision=15476
* Change Masafumi Nakane's address (masafumi@pobox.com -> max@sfc.wide.ad.jp).Satoshi Asami1996-04-301-2/+2
| | | | Notes: svn path=/head/; revision=15475
* Document the /etc/fbtab fix for X.Jordan K. Hubbard1996-04-301-1/+20
| | | | | | | Inspired-By: Nik Clayton <nik@blueberry.co.uk> Notes: svn path=/head/; revision=15474
* Don't include <machine/ansi.h> twice.Poul-Henning Kamp1996-04-301-2/+1
| | | | | | | | Reviewed by: phk Submitted by: "Philippe Charnier" <charnier@lirmm.fr> Notes: svn path=/head/; revision=15473
* pte.h: Add the VADDR(pdi,pti) macro to construct virtual address fromPoul-Henning Kamp1996-04-305-37/+48
| | | | | | | | | | page dir+table index. pmap.h: remove NUPDE, it was wrong and not used. Sanitize KSTKPTEOFF. vmparam.h: Calculate virtual addr from PDI+PTI from pmap.h rather than using magic math. Remove UPDT, not used. Notes: svn path=/head/; revision=15472
* Remove a spurious mapping that was introduced earlier.Poul-Henning Kamp1996-04-303-27/+3
| | | | Notes: svn path=/head/; revision=15471
* Add a missing close that left ftpd's scattered around on pkg_installsJordan K. Hubbard1996-04-302-4/+6
| | | | Notes: svn path=/head/; revision=15470
* properly reset SYSTEM_STATE after installCommit runs.Jordan K. Hubbard1996-04-303-6/+6
| | | | Notes: svn path=/head/; revision=15469
* Fix some bogons in the package installer menu and search function.Jordan K. Hubbard1996-04-302-22/+24
| | | | Notes: svn path=/head/; revision=15468
* Make sure package-installers refresh the screen properly.Jordan K. Hubbard1996-04-302-6/+6
| | | | Notes: svn path=/head/; revision=15467
* Clear the screen before putting up tcpip dialog.Jordan K. Hubbard1996-04-302-2/+4
| | | | Notes: svn path=/head/; revision=15466
* More cosmetic changes before tomorrow's snapshot.Jordan K. Hubbard1996-04-308-12/+24
| | | | Notes: svn path=/head/; revision=15465
* Correct a typo.Joerg Wunsch1996-04-301-1/+1
| | | | | | | Submitted by: mbarkah@hemi.com (Ade Barkah) Notes: svn path=/head/; revision=15463
* Highly cosmetic tweaks.Jordan K. Hubbard1996-04-301-2/+3
| | | | Notes: svn path=/head/; revision=15462
* Make the invocation of fortune conditionalJordan K. Hubbard1996-04-301-1/+1
| | | | Notes: svn path=/head/; revision=15461
* hash_search() has changed its calling semantics somewhat - bringJordan K. Hubbard1996-04-301-4/+8
| | | | | | | libforms back into sync. Notes: svn path=/head/; revision=15460
* Move the map entry allocations from the kmem_map to the kernel_map. AsJohn Dyson1996-04-291-4/+4
| | | | | | | a side effect, correct the associated object offset. Notes: svn path=/head/; revision=15459
* Fix more display weirdnesses that only show up during a real installation.Jordan K. Hubbard1996-04-298-32/+82
| | | | Notes: svn path=/head/; revision=15458
* Remove a bogus dialog_clear();Jordan K. Hubbard1996-04-292-4/+2
| | | | Notes: svn path=/head/; revision=15457