87142 Commits

Author SHA1 Message Date
lukem
6c07f34b54 fix -Wshadow warnings 2001-11-02 05:44:46 +00:00
lukem
04d5555436 fix -Wshadow warning 2001-11-02 05:33:21 +00:00
lukem
cbbd79f700 fix -Wshadow warnings 2001-11-02 05:30:56 +00:00
lukem
cf524d2464 replace __byte_swap_long_variable and __byte_swap_word_variable
#define ({ })  with  static __inline { }
2001-11-02 05:23:48 +00:00
tv
1129ed4afe Improve readability and reduce redundant redundancy in share/mk; add some
descriptive comments.  The guts of hostprog, lib, and prog are mostly
unchanged; this will be done in another pass.

Make several things work properly with UNPRIVILEGED set, and make the
install-time "cmp" logic work for MANZ.  Also reimplement INCS{DIR,NAME}_foo
(requested by wiz) in a backwards compatible way.

Reviewed by christos.
2001-11-02 05:21:47 +00:00
lukem
153d16f7b1 replace __byte_swap_long_variable and __byte_swap_word_variable
#define ({ })  with  static __inline { }
2001-11-02 05:17:59 +00:00
tv
472dcba2fb * Always use the makewrapper when starting a build phase.
* Set stuff mostly in the environment, not on make(1)'s command line.
  This is needed for MACHINE and MACHINE_ARCH (noted by bjh21), and keeps
  the mk.conf-overriding-env behavior (suggested by several people).

* Use MAKEFLAGS to make the wrapper script more readable.

* When prepping objdir in tools for the default TOOLDIR value, just make
  that objdir; leave the recursive "make obj" for later.
2001-11-02 05:07:22 +00:00
christos
18c98749bf If term_init() fails, cleanup and return NULL. This avoids other lossage.
Pointed by charles.
2001-11-02 04:47:47 +00:00
christos
41df15832a Finish initializing all the term data structures even if the terminal init
fails. This makes editline work on dumb terminals again. Noted by mycroft.
Oops, too agressive error checking.
2001-11-02 04:42:09 +00:00
lukem
895db4cb83 fix -Wshadow warnings 2001-11-02 03:57:25 +00:00
tv
17159cd70f Strike getenv("PWD") entirely, based on prior discussion with sjg. This
breaks too many situations, including MAKEOBJDIR with a :C,foo,bar,
transform in many cases.  It's ambiguous and unreliable, as the comment
above that code always indicated.  In order to have reliable objdirs, they
need to work the same way Every Time.

(Note that taking this out is not a performance hit; we were already doing
the getcwd() call first.  So the getenv("PWD") didn't increase performance.)
2001-11-02 03:52:21 +00:00
lukem
fd87fe6aaa fix -Wshadow warnings 2001-11-02 03:51:48 +00:00
itojun
9d7baa72da recognize fxp on IBM thinkpad T23. from akimichi@wide.ad.jp 2001-11-02 03:40:47 +00:00
haya
2c903bf2c0 Add PCI power management control. If the power state of a bridge is
not D0 at device attaching or resuming, set the bridge D0 mode.
2001-11-02 03:32:33 +00:00
lukem
1226af2bc4 tweak copyright 2001-11-02 03:12:48 +00:00
itojun
e4b5b62a3d array boundary overflow on the use of IPv4 mapped address. from simonb 2001-11-02 02:37:50 +00:00
matt
767a35ff99 Indirect labels should start with L 2001-11-02 02:36:57 +00:00
thorpej
da9b5f3614 loadfile() support for the Shark. 2001-11-02 01:27:41 +00:00
thorpej
4cbfdf4a51 Correct a kernel name. 2001-11-01 22:55:25 +00:00
thorpej
13d619a803 Check in of work-in-progress ofwboot for the Shark. Starts, does a
DHCP, attempts to load kernel, gets a Data Abort.
2001-11-01 22:50:18 +00:00
jdolecek
d1842b740a Restructure to the lkm/compat/Makefile way - the tested & installed
modules are on top, rest is added .if !make(install). This will avoid
such silly mistakes as rev. 1.7/1.8.
2001-11-01 19:32:53 +00:00
augustss
87faac94d7 Avoid opening /dev/ws{mouse,kbd}0; use stat() instead. 2001-11-01 19:06:08 +00:00
uch
6195437083 missing NBPFILTER > 0 2001-11-01 17:32:33 +00:00
augustss
41756e36f8 Regen. 2001-11-01 17:25:37 +00:00
augustss
16c1f136e5 Reorder two entries in numerical order. 2001-11-01 17:25:05 +00:00
tv
3980e269f9 By popular demand, one preformatted version of BUILDING, plaintext, no CRs. 2001-11-01 16:34:21 +00:00
tron
d40605c723 Fix incorrect usage message. Problem noted by Brian Ginsbach in
PR bin/14411.
2001-11-01 16:31:48 +00:00
tv
4ef4ea21a1 Revert previous. <bsd.own.mk> already defaults MKOBJDIRS to "no". Also
clean up the evaluation of ${MKOBJDIRS} later -- no need for :Uno.
2001-11-01 16:30:53 +00:00
tron
8370dbf86f Add missing description of option "-D". 2001-11-01 16:30:40 +00:00
tron
d47435e90d Remove bogus call to free(3) which caused several warning messages in
application using our "curses" library after the latest change to
memory management in the "c" library.
2001-11-01 16:06:59 +00:00
rearnsha
87cb8af648 When clearing the modified bit for modified emulation, don't turn
caching on for a page just because we are clearing the writable bit in
the PTE: this is incompatible with the way pmap_vac_me_harder works,
and the code in the modified emulation handler doesn't know about
recalculating the cachable attributes (nor should it, IMO).

Also, if we are invalidating a page, flush its TLB entry; for some
reason we were only doing this when clearing the Write or modified
bits.

These patches together seem to solve the random seg-faults that were
still occuring occasionally under heavy paging.
2001-11-01 15:49:16 +00:00
jmc
5f2c8aaa60 Add back original behavior of MKOBJDIRS defaulting to "no" so it doesn't
force people to set yet another variable to get the expected behavior
2001-11-01 15:48:39 +00:00
tv
b6499748ae Be smarter about finding rpcgen's absolute path; only do it if ${RPCGEN}
(when evaluated) does not start with a /.  Also don't go through a make(1)
recursion step; just use !=.
2001-11-01 15:03:07 +00:00
tron
7a726f828b Fix botch in last commit which caused some of the "exec" LKMs not to be
built.
2001-11-01 13:41:42 +00:00
drochner
b4d5b7d621 protect against multiple inclusion 2001-11-01 12:54:35 +00:00
augustss
492a03edae Regen. 2001-11-01 11:06:45 +00:00
augustss
44345ed1ac New device (from OpenBSD). 2001-11-01 11:06:18 +00:00
yamt
b7574e5c56 add settings for ne2000.
(commented out)
2001-11-01 09:45:03 +00:00
yamt
3492b7a4c6 add ne2000 standalone driver. 2001-11-01 09:37:17 +00:00
lukem
5b5d0d23b8 oops, remove temporary comment 2001-11-01 08:21:57 +00:00
lukem
7f675a25b7 fix -Wshadow warnings 2001-11-01 08:21:07 +00:00
lukem
3a17632dfb remove arg name in prototype decl 2001-11-01 08:18:01 +00:00
lukem
7623928b3a fix a couple of -Wshadow warnings 2001-11-01 08:06:57 +00:00
lukem
4c4307e3ce fix -Wshadow warnings 2001-11-01 08:03:03 +00:00
lukem
fa02ec4ccb fix a -Wshadow warning 2001-11-01 07:48:08 +00:00
lukem
3d6fc56715 fix -Wshadow warning by moving "int version" from global to main() scope 2001-11-01 07:44:05 +00:00
lukem
d3656d428d fix a couple of -Wshadow warnings 2001-11-01 07:39:38 +00:00
chs
fa6e18a029 in pmap_extract(), detect unmapped users addresses too. 2001-11-01 07:37:36 +00:00
lukem
4475e1747e fix a couple of -Wshadow warnings 2001-11-01 07:31:22 +00:00
lukem
2d79659157 move -Wwrite-strings to WARNS=3 too ... (yech!) 2001-11-01 07:27:35 +00:00