Commit Graph

93248 Commits

Author SHA1 Message Date
chris 4fa8495ff4 Update the types, pt_entry and pd_entry should be unsigned, and fixed at 32 bits. 2002-03-02 15:30:49 +00:00
wiz 76925748f3 WARNS=2. 2002-03-02 15:29:49 +00:00
wiz 4e972651c7 Rename variables to avoid shadowing. 2002-03-02 15:27:51 +00:00
kleink a34187bca3 Also reset segment register 0 on kernel entry: there may not always be
a fixed BAT entry covering segment 0, or not completely covering it,
and we do restore it on return to user level already.
2002-03-02 15:19:56 +00:00
kleink dc0a08feaa Note that Guarded bit is not implemented on the 601. 2002-03-02 15:07:35 +00:00
wiz b127cccc2e ANSIfy, and minimal KNF. 2002-03-02 14:59:35 +00:00
kleink 98eeb8198f Give block translations to I/O memory the Guarded attribute; from Matt Thomas. 2002-03-02 14:25:02 +00:00
wiz 5784cccd6b WARNS=2. 2002-03-02 14:02:23 +00:00
wiz 024b462262 Rename a variable to avoid shadowing. 2002-03-02 14:00:26 +00:00
wiz f2ed23835a ANSIfy. 2002-03-02 13:57:28 +00:00
wiz 482ca46625 ANSIfy, minor KNF. 2002-03-02 13:55:13 +00:00
mrg d3b3f3e560 move the COMPAT_SUNOS TIOCGPGRP handling in the compat sunos code proper.
this is the final fix needed for it to run properly as an LKM.  no more
COMPAT_SUNOS hacks around the tree!
2002-03-02 12:30:43 +00:00
mrg ccc760f047 check _KERNEL_OPT for opt_ddb.h 2002-03-02 12:28:16 +00:00
mrg 4d6dd4f8f5 when complaining that we can't lookup a hostname, actually say which
hostname this is...
2002-03-02 12:25:23 +00:00
mrg a8fa43f6b6 include <stdlib.h> 2002-03-02 12:22:27 +00:00
mrg eff7936f87 include <string.h> as necessary. 2002-03-02 12:21:14 +00:00
jdolecek 5ef6f9ca40 Add HISTORY section. I _think_ these appeared in Solaris 2.6, please
fix if it's not so.
2002-03-02 12:20:53 +00:00
scw 6cf459ffb5 Add BAT_G to the I/O bats, as per matt@netbsd.org's change for macppc. 2002-03-02 11:01:50 +00:00
takemura 29e873a235 Added wsmux_set_display() to fix the problem that wskbd wan't connected
to any display if keyboard was attached before display and both aren't console.
2002-03-02 08:22:26 +00:00
matt b7a4d57a9e Now all MBR_* definitions come from <sys/disklabel_mbr.h> 2002-03-02 07:05:30 +00:00
matt 6327f7590a Move MBR_PTYPE_PREP from arch/prep/stand/mkbootimage to here.
Add a MBR_FLAGS_ACTIVE too.
2002-03-02 07:04:31 +00:00
chs a51be40dcb don't yield the cpu in genfs_putpages() if we're the pagedaemon.
pointed out by enami.  fixes PR 15784.
2002-03-02 06:58:01 +00:00
jmc 68b038f787 Wrap the generation of machine and powerpc links so they don't happen during
make obj, clean or cleandir as the proper objdir may not be around yet.
2002-03-02 06:32:28 +00:00
tv 011931b3b4 Add <errno.h> to list of includes, from <imago@13thmonkey.org>,
in PR toolchain/15386.
2002-03-02 03:56:02 +00:00
tv 8ea025ea42 Nuke my "mkdirp" hack. "mkdir -p" is used so liberally throughout the
tree that the hack is just a maintenance annoyance here.
2002-03-02 03:51:02 +00:00
tv eda273b959 When converting to use getprogname(), please don't forget the necessary
companion call to setprogname() for portability.
2002-03-02 03:45:07 +00:00
matt 4b948be2fc Disable BTIC on rev 2.0 or earlier MPC7450s as Motorola Errata #31 for the
MPC7450.
2002-03-02 02:18:38 +00:00
mjl 416ce5ecbb powerpc is a valid MACHINE_ARCH too. 2002-03-02 02:09:18 +00:00
matt 102f6b0e48 Make sure I/O bats are set to BAT_I|BAT_G (guarded, cache-inhibited) as to
not allow speculative loads to occur within them.  This is the cause of the
random MCHKs on 7450 based Mac's.
2002-03-02 00:44:08 +00:00
ragge 16cd24dea4 usrptsize was not correct calculated, fixed.
Add space to system page table for the UVM kernel area.
This fixes the KVM usage problem that Manuel Bouyer reported a while ago.
2002-03-01 23:55:10 +00:00
thorpej 35abec3c31 Add -Os and -mcpu=i486 to COPTS. Add VNODE_OP_NOINLINE. 2002-03-01 23:42:20 +00:00
manu f48c7db878 Two more trivial bug fixes:
- copyin() the ntv argument to ntp_adjtime1(), to avoid some panics
- correctly handle the return value
And this still relates to kern/15519
2002-03-01 22:58:33 +00:00
thorpej 1caa35aa0f In tcp_segsize(), move a label so that option length is considered
when using the default TCP MSS as well.  From Matt Thomas.
2002-03-01 22:54:09 +00:00
thorpej 10444ca48f In in_savemkludge() and in_restoremkludge(), don't insert into a new
list without removing from the old one first.

From Matt Thomas.
2002-03-01 22:51:28 +00:00
bouyer 5d5c5c0ddd As siop_morecbd() is called from the kernel thread, protect access to the
queues with splbio.
2002-03-01 21:37:03 +00:00
tv be05d061b7 Related to PR toolchain/15780, sanity check MACHINE_ARCH. 2002-03-01 21:06:40 +00:00
tv 1e5d325cf1 Related to PR 15781, explain better in a comment why it is not possible
to grovel mk.conf using sed/awk/etc. before nbmake is available.
2002-03-01 20:57:26 +00:00
tv 7cfc131b50 Don't bomb if the ${DPADD} files are missing -- we want at least one of
them, where the other may not exist, and the linker will fail for us if
both don't exist.
2002-03-01 20:15:16 +00:00
mrg 685d1c413a clean up a little:
- don't set the securelevel to the same thing
	- don't try to lower the securelevel

inspired by PR#13647
2002-03-01 17:58:00 +00:00
mrg c6cc70654c note that securelevel=0 ends up -> securelevel=1 (part of PR#13647) 2002-03-01 16:52:04 +00:00
pk c26b4a92e2 Serialize access to $INFODIR/dir; multiple instances of `install-info'
would trash that file.
2002-03-01 15:42:10 +00:00
pk ada5de58dd Fix target ordering glitches: the `afterinstall' sources in here depend
on `realinstall' making TMACDIR.
2002-03-01 15:39:00 +00:00
kleink 6d484242b0 Regen: add Motorola Raven, Falcon and Hawk product IDs. 2002-03-01 13:48:59 +00:00
kleink b1c2f47c30 Add Motorola Raven, Falcon and Hawk product IDs. 2002-03-01 13:47:30 +00:00
martin f801cd463b Rename EBUS_PADDR_FROM_REG uses to EBUS_ADDR_FROM_REG. 2002-03-01 11:51:00 +00:00
martin a03fa01ccc Remove EBUS_PADDR_FROM_REG, as it does not realy creates a paddr on sparc.
It is superceeded by EBUS_ADDR_FROM_REG.
2002-03-01 11:49:06 +00:00
ad 3008493f3f Fix typo. 2002-03-01 11:44:29 +00:00
wiz f56906c431 A persistent typo, and some minor mark-up improvements. 2002-03-01 11:42:52 +00:00
martin 7d9d648a64 For aesthetical reasons use bus_addr_t instead of paddr_t in the BUS_ADDR
makro. Requested by uwe.
2002-03-01 11:34:36 +00:00
ad 38b296bf9f s/LINT/lint/ 2002-03-01 11:29:46 +00:00