Commit Graph

171948 Commits

Author SHA1 Message Date
pooka db96f8c4cc fix pasto 2008-07-29 21:11:17 +00:00
pooka 4b68af9947 Prevent amd64 compiler flag -mcmodel=kernel for rump kernel code.
This allows to compile rump libraries as shared libraries also on mad64.

Problem spotted by Greg Oster.  I guess his build broke or something ...
2008-07-29 20:18:25 +00:00
matt 86d6d815ae Make sure to call dlerror() to clear any error messages after the relocations
are done and there are no errors.  This will prevent spurious undefined weak
symbol errors being returned by dlerror().

Fixes PR bin/39240.
2008-07-29 16:27:01 +00:00
thorpej 261002c777 rw_vector_exit(): When doing direct hand-off to a writer, only set
RW_WRITE_WANTED if there are additional writers waiting.
2008-07-29 16:13:39 +00:00
pooka dd569b0633 Use command line option parsing code from sbin/mount_msdos to
gain equal usage and behaviour with the "real" counterpart.
2008-07-29 16:06:18 +00:00
pooka 8188a28971 Split option parsing into its own routine so that it can be used
by other consumers as well.
2008-07-29 16:05:05 +00:00
he f5b006e1bc Add recently added subdirs under /usr/X11R6. 2008-07-29 14:59:26 +00:00
lukem f4f7ab9534 document workaround for PR#39192 2008-07-29 14:24:06 +00:00
lukem a703e9a7ca Disable assembler warnings on mipseb and mipsel for mcount.c
Workaround for PR#39192
2008-07-29 14:20:12 +00:00
pooka eef3b7a974 * remove unnecessary .PATH
* wrap malloc
2008-07-29 14:01:25 +00:00
pooka 9dbcf29c49 NOMAN 2008-07-29 14:00:01 +00:00
pooka cd56ab5fbf Accidentally left behind: these live in src/lib now. 2008-07-29 13:50:24 +00:00
tnozaki 727a7567f1 install/39193, fix signedness problem of converting char -> wchar_t. 2008-07-29 13:46:16 +00:00
pooka bdf6e0b034 Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly
2008-07-29 13:17:40 +00:00
rjs 4ca1cae072 Add missing file. 2008-07-29 12:43:24 +00:00
christos 3e9f49d10d fix typo. 2008-07-29 12:01:41 +00:00
reinoud 17cb09d3ee Remove comments on `need to read in'; they are read in. 2008-07-29 10:08:16 +00:00
pooka f00b7c9b12 Solve the fstat-wants-to-look-at-kernel-data-structures in a nicer
way: don't export the fs internals to innocent userspace programs
which just want to mount the file system.
2008-07-29 09:10:09 +00:00
wiz 340752e10f postfix-2.5.3 out. 2008-07-29 07:39:05 +00:00
mrg 2980e352a1 initial import of the crossbuild framework for modular Xorg. this
is heavily based upon the work rtr@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
2008-07-29 05:01:21 +00:00
mrg a2996b07f8 add "mit" entry 2008-07-29 04:54:58 +00:00
mrg 7c507325f2 add several new subdirs to /usr/X11R6 to cope with native Xorg.
XXX: should native Xorg use /usr/X11R6?  input required.
2008-07-29 04:50:52 +00:00
mrg 323076d1fa if MKXORG != no, use external/mit/xorg subdir instead of x11 subdir for
the mk-x11 target.
2008-07-29 04:49:43 +00:00
mrg def7d522c2 begin to add support for cross-built Xorg:
- add MKXORG
- default to DRI-on for Xorg
- add paths for 192 Xorg packages that will exist in
  xsrc/external/mit/<package>/dist
- add some more X11FLAGS.* variables if MKXORG.

this is somewhat based on the xorg work rtr@ did a couple of years ago.

XXX: seriously need to fix the XORG_RELEASE value, it is still set to
XXX: 6.8.1 from when rtr was working on this.
2008-07-29 04:40:14 +00:00
matt 5698938787 Make uvm_map.? use <sys/rb.h> instead of <sys/tree.h>. Change the
ambiguous members ownspace/space to gap/maxgap.  Add some evcnt for
evaluation of lookups using tree/list.  Drop threshold of using
tree for lookups from > 30 to > 15.

Bump kernel version to 4.99.71
2008-07-29 00:03:06 +00:00
pooka 8a2d75c65b add also the dir /usr/include/fs/tmpfs
pointed out by Kurt Schreiner
2008-07-28 20:17:46 +00:00
reinoud 71c9aa3395 Streamline allocation to prepare it for metadata partition. Also add
preliminary Metadata partition write support but its disabled still since
its not finished yet and not functioning correctly. All other formats are
checked and should work fine.
2008-07-28 19:41:13 +00:00
matt 34ac358652 Reacquire softnet_lock after calling soabort which returns with the socket
unlocked.
2008-07-28 18:41:07 +00:00
pooka b6138e3eb7 Backup some manual page sketches lest I delete the wrong source tree. 2008-07-28 18:34:31 +00:00
pooka 2eb2408c19 rump now builds on all ports 2008-07-28 18:12:53 +00:00
pooka b00e8162a5 Give rump a faux vmparam.h to work around problematic ports (hooray
for evbppc).  Obligatory inlined rant: it would be really nice if
we didn't have weird ports like that which sport totally incompatible
code for different kernels.
2008-07-28 18:12:15 +00:00
pooka f99d5e92e0 include correct header 2008-07-28 18:05:09 +00:00
pooka 966308f7e8 shuffle around some more defs for fstat
noticed by Kurt Schreiner on current-users
2008-07-28 18:00:20 +00:00
christos eda454c1f4 - trailing commas in enums
- arithmetic on enums needs cast
from Anon Ymous
2008-07-28 17:54:02 +00:00
christos cd84a96731 fix signed comparison warning. 2008-07-28 17:40:33 +00:00
christos 6636374a5a just whitespace fixes. 2008-07-28 17:02:45 +00:00
christos e365952e64 fix type punned warnings. 2008-07-28 17:01:16 +00:00
macallan df34d2042b Fix remaining register offset shifting left over from proper bus_space-ification
done a while ago. From Marco Trillo.
This should fix PR 39176.
2008-07-28 16:54:49 +00:00
pooka 2ba62ba2c7 Not everyone is building from my yet uncommitted trees, so catchup
here also.

tip-of-the-hat to simonb
2008-07-28 16:27:29 +00:00
christos a3d2246423 lint wins again :-) From Anon Ymous:
- fix a mis-placed parenthesis.
- fix assignment to the wrong variable.
2008-07-28 15:28:27 +00:00
drochner 6a47db887e -in usbd_probe_and_attach(), split out the code for per-device and
per-interface attachment into individual functions, to ease
 maintainance and allow easier plugin of new attachment functions
-keep a counter of USB interfaces in use on a device, and try to
 keep track of interfaces claimed by drivers behind the framework's
 back
2008-07-28 15:22:01 +00:00
drochner 6b623b615a add missing device_private(), fixes crash in interrupt handler 2008-07-28 14:25:30 +00:00
drochner a17262c3e3 Avoid NULL pointer dereference on power handler deregistration if
it was not registered before. I assume that a lot of drivers do not
proper bookkeeping in the case the attach() exits early due to
errors. This is hard to fix and to test, so just be generous here.
2008-07-28 14:22:14 +00:00
drochner 3126a6b09b Don't pmf_device_deregister() if it was not registered, which happens
if attach() encountered an error before.
In contrast, such a protection should not be needed for the register()
call, so remove it there.
2008-07-28 14:19:26 +00:00
pooka 49eea9ca9f add a comment stating why evbppc doesn't do lkm or modules 2008-07-28 14:09:55 +00:00
pooka e575982be5 blkset.S is needed on vax by some macros, so include it in the build. 2008-07-28 13:56:59 +00:00
simonb 240772bb7e Tidy up simonb-wapbl issues section. 2008-07-28 13:20:45 +00:00
pooka 97f4be43e9 Install mount argument structure header just like every other file system. 2008-07-28 12:42:12 +00:00
jmcneill 25b0c73dd3 Clarify some printfs in error cases so we at least know what subsystem
reported them.
2008-07-28 12:20:35 +00:00
simonb a6f8399573 simonb-wapbl branch now covers sbin/tunefs and usr.sbin/dumpfs. 2008-07-28 12:11:17 +00:00