summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use %z to print a size_t value.jhb2002-11-081-1/+1
|
* MFi386: revision 1.4.nyan2002-11-081-1/+0
|
* Don't set a variable to a bogus value right before setting it to thejhb2002-11-082-2/+0
| | | | correct value in the next statement.
* Don't set a value to a variable that we don't use.jhb2002-11-081-1/+0
|
* Make changes such that the kernel will now fit on floppy #1.mjacob2002-11-082-11/+33
| | | | | | | | | | | | | | | | | | | | | | This involves moving all networking drivers to floppy 2, all RAID nfsclient && cd9660 to floppy 3 (and adding ispfw). COMPAT_FREEBSD4 had to come back, maxusers is down to 2. AHC is out until somebody can make it a module for alpha. TurboLaser is out because it rarely has a floppy and probably no longer works *anyway*. There's probably some cleanup that can be done because I was told that things in drivers.conf don't have to be removed via dokern.sh, but because I formally tested the release build with this version and don't want to spend another half day on it, it's going in. I'm sure we'll have to do some further changes prior to release. NB: Not tested end to end yet because I've been told that sysinstall doesn't yet work.
* - Merge Write_FreeBSD() into Write_Disk().jhb2002-11-081-40/+32
| | | | - Miscellaneous cleanups.
* DON'T EVER PUT THIS BACK!ru2002-11-081-1/+1
| | | | Pointy hat to: obrien
* Remove physmem from here, too, as it is defined in vm_init.c sincetmm2002-11-081-1/+0
| | | | | | r1.35 (forgotten in my last commit due to a botched patch). Pointy hat to: tmm
* Reviewed by: n_hibmamr2002-11-081-8/+16
| | | | | | MFC after: 2 weeks fix XPT_CALC_GEOMETRY to fill in some reasonable values. Inspired by aic/sbp.
* Try to make this document reflect reality better:bmah2002-11-081-175/+7
| | | | | | | | | | | | | | o All of the Q&A entries in this section were i386-specific, so make these conditional on building for that platform. If non-i386-platforms need similar Q&A lists, they can add their own to this file. o Coalesce the two Q&A sections into one. o Correct some device names (wd(4) devices have not existed for quite some time). o Get rid of a number of obsolete entries (suggested by jhb).
* Add fwe.4.simokawa2002-11-082-0/+78
|
* adjust critical section to only wrap around vm86_bioscall().davidxu2002-11-081-2/+2
|
* Detect and exit on write errors.tjr2002-11-081-4/+7
|
* use critical_enter/exit to add a critical section around BIOS call,davidxu2002-11-081-5/+9
| | | | | | this unbreaks WITNESS. Pointed out by: jhb
* Move the definitions of the hw.physmem, hw.usermem and hw.availpagestmm2002-11-0710-228/+28
| | | | | | | | | | | sysctls to MI code; this reduces code duplication and makes all of them available on sparc64, and the latter two on powerpc. The semantics by the i386 and pc98 hw.availpages is slightly changed: previously, holes between ranges of available pages would be included, while they are excluded now. The new behaviour should be more correct and brings i386 in line with the other architectures. Move physmem to vm/vm_init.c, where this variable is used in MI code.
* Better printf() formats.mux2002-11-071-8/+7
|
* Some more printf() format fixes.mux2002-11-071-9/+7
|
* Add a cast to quiet a warning.jhb2002-11-071-1/+1
|
* Correctly print vm_offset_t types.mux2002-11-071-6/+5
|
* Properly parenthesize the DBREG_DRX macro's variables to allow foralfred2002-11-072-2/+2
| | | | DBREG_DRX(&dbregs, n) usage.
* - Use %j to print intmax_t values.jhb2002-11-071-3/+4
| | | | - Cast more daddr_t values to intmax_t when printing to quiet warnings.
* Use %z to quiet a warning.jhb2002-11-071-1/+1
|
* Cast a pointer to a uintptr_t to quiet a warning.jhb2002-11-071-1/+1
|
* Third argument to copyinstr() is a pointer to a size_t, not a pointer to ajhb2002-11-071-1/+1
| | | | u_int.
* - Use %p to print pointers instead of casting pointers to an int and usingjhb2002-11-071-6/+6
| | | | | 0x%x. - Add a cast to quiet a warning.
* Use [u]intmax_t and %j instead of long long and %ll to better fix warningsjhb2002-11-074-7/+11
| | | | | | I fixed earlier. Requested by: mux, jake
* Make 'rclk' a uintptr_t to quiet warnings.jhb2002-11-071-3/+3
|
* Use %z and %j to quiet warnings.jhb2002-11-071-6/+7
|
* Cast a pointer to a uintptr_t instead of a u_int.jhb2002-11-071-1/+1
|
* Fix the rest of the 64-bit warnings for the sr(4) driver.jhb2002-11-071-4/+4
|
* Don't exit with success after timeout during authentication.fenner2002-11-071-0/+4
|
* Mark ed(4) as i386/pc98-only, tracking src/sys/conf/NOTES rev. 1.1109.bmah2002-11-072-2/+2
|
* - Fix a bunch of casts to long which were truncating off_t's.mux2002-11-071-17/+15
| | | | | | | - Remove the comments which were justifying this by the fact that we don't have %q in the kernel, this was probably right back in time, but we now have %q, and we even have better to print those types (%j).
* Explicitly cast daddr_t's to long long's when printing them since daddr_tjhb2002-11-074-13/+13
| | | | | | is not long long on all archs. (They happen to be long's on 64-bit arch's and gcc considers that significant enough to warn about it.) These should probably be uintmax_t but I didn't feel like adding all the extra includes.
* A bunch of style(9) fixes.mux2002-11-071-40/+39
| | | | Obtained from: bde
* Cast a ptrdiff_t value to an int to quiet a warning since we don't supportjhb2002-11-071-1/+2
| | | | %t in the kernel printf yet.
* Quiet some DIAGNOSTIC printf warnings with band-aid casts.jhb2002-11-071-4/+5
|
* Print pointers with %p instead of casting them to an unsigned int andjhb2002-11-071-2/+2
| | | | | then printing them with 0x%x which doesn't work when sizeof(void *) > sizeof(int).
* Move sr(4) over to i386-only as it is yet another user of kvtop().jhb2002-11-072-6/+6
|
* - Use a better definition for MNAMELEN which doesn't requiremux2002-11-072-8/+3
| | | | | | | to have one #ifdef per architecture. - Change a space to a tab after a nearby #define. Obtained from: bde
* Fix lots of places that assume sizeof(int) == sizeof(void *). Most ofjhb2002-11-071-18/+18
| | | | | | | these were cosmetic. However, at least two of these changes fix bugs where a (fake) pointer to a RX descriptor was added to the physical memory start address with the cast in the wrong place resulting in rxdesc[pmem_start] instead of (uintptr_t)rxdesc + pmem_start.
* Do a bit more work in the aio code to simulate the credential environmentrwatson2002-11-071-0/+7
| | | | | | | | | | | | | | | of the original AIO request: save and restore the active thread credential as well as using the file credential, since MAC (and some other bits of the system) rely on the thread credential instead of/as well as the file credential. In brief: cache td->td_ucred when the AIO operation is queued, temporarily set and restore the kernel thread credential, and release the credential when done. Similar to ktrace credential management. Reviewed by: alc Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* License and blurb update authorized by Network Associates.rwatson2002-11-072-14/+8
|
* Cast a pointer to uintptr_t instead ot u_int.jhb2002-11-071-1/+1
|
* Factor out the code that determines whether a message must be skippedthomas2002-11-071-26/+27
| | | | | | | as a consequence of a host or program name specification into a common function, skip_pmessage. Reviewed by: roberto
* Simplify and optimize pmap_object_init_pt(). More specifically,alc2002-11-072-130/+64
| | | | | | take advantage of the fact that the vm object's list of pages is now ordered to reduce the overhead of finding the desired set of pages to be mapped. (See revision 1.215 of vm/vm_page.c.)
* d_read_t functions return an int, not a ssize_t. (Considering the factjhb2002-11-071-1/+1
| | | | that read(2) returns a ssize_t perhaps this is a bug in d_read_t?)
* Warning fixes for sizeof(int) != sizeof(void *).jhb2002-11-071-6/+6
|
* - Make 'irq' intptr_t instead of uintptr_t so it handles a value of -1jhb2002-11-071-2/+2
| | | | | properly. - Add a cast to quiet a printf warning.
* Fix to support pc98.nyan2002-11-072-52/+120
| | | | | | It is mostly merged from MBR specific part. Reviewed by: phk
OpenPOWER on IntegriCloud