Commit Graph

107424 Commits

Author SHA1 Message Date
martin 6251718992 Sanitize names a bit, still could use more namespace cleanup 2010-12-11 14:28:38 +00:00
pgoyette 3670e11cda Fix a couple of name-space changes that fell through the cracks.
Hello, martin!
2010-12-11 14:19:29 +00:00
martin 2d30a8bf37 Namespace police: don't use very broad names like CTX_MASK (which accidently
collide with sparc* specific MD macros), mechanically prefix with BNX_.
2010-12-11 12:14:06 +00:00
mrg 2e9e79b55f disable ext2fs support in /boot on amd64 for now. it breaks cd booting.
XXX: i don't know why, or plan to figure it out, but at least now amd64
XXX: isos boot again.
2010-12-11 08:20:17 +00:00
christos a39b3d540d Back this out. Fails lockdebug with duplicate lock initialization.
Please test with LOCKDEBUG!
2010-12-11 04:21:17 +00:00
pgoyette cedd9a0b1c Enhance the swsensor(4) pseudo-device's capabilities to emulate more
sensor types
2010-12-11 04:13:03 +00:00
mrg cad3665385 add a hack to fix up old labels that do not have zero's in numBlocksHi:
if the total sectors reported (via disklabel or otherwise) is smaller
than 2^32, but numBlocksHi is set, zero it out instead.

tested by myself and christos, should fix reports of weirdness seen.
2010-12-11 03:12:10 +00:00
phx 5e554614ee Added viaenv(4), which no longer crashes the system during attachment since
todays bug fix in the driver.
2010-12-10 21:27:21 +00:00
phx 2022dcaf61 Initialize sc_iot early enough to avoid a crash when the hardware monitor
function was found disabled.
2010-12-10 21:20:09 +00:00
ahoka 6c3ce79660 nsmb module makefile 2010-12-10 19:46:40 +00:00
ahoka 6110939092 Module support for NetBSD 2010-12-10 19:44:18 +00:00
phx ef6c6c099e Add uthum(4), which I just verified working. 2010-12-10 17:54:34 +00:00
bsh 98358732ad fix a LINTSTUB 2010-12-10 02:06:22 +00:00
matt e135fb83e2 When attaching a PCI bus, the pci chipset is not optional. 2010-12-10 00:38:49 +00:00
macallan 971dc0f85a add rum* at uhub? since it was confirmed working a while ago 2010-12-10 00:36:03 +00:00
macallan 3c00f3d7d1 fix some typos, new ADB is no longer experimental
while there add some (S)ATA drivers from i386 which might be found on PCI cards
2010-12-10 00:31:26 +00:00
macallan 318f29505d return the right values for ioctl(WSKBDIO_GTYPE) and ioctl(WSMOUSEIO_GTYPE)
fixes PR 23991
2010-12-10 00:17:08 +00:00
christos b29510e02e PR/41415: IdOp: Implement save and restore palette for vga. 2010-12-09 23:33:30 +00:00
jym 8cad040aa0 Add support for BCM5709S (SerDes PHY) in brgphy(4).
From FreeBSD, via OpenBSD, with some minor adaptations.

No comments, no objections on tech-kern@.

The driver was tested on a Dell M710. Access was kindly provided by
Uwe Toenjes, whom I thank for this.

See also http://mail-index.netbsd.org/tech-kern/2010/12/01/msg009478.html
2010-12-09 23:25:49 +00:00
jym 19179df1ef Remove htolexx calls, as bnx(4) NICs are capable of swapping endianess.
The macros for PAGE_SIZE were fixed with the previous patch (if_bnxreg.h
splitting, rev 1.11).

From OpenBSD. Their commit log reads:

bnx(4) is a bit special. The chip itself is capable of swapping endianess
so there is no need for htoleXX calls. The only thing needed is the correct
layout of the DMA-ed structures. Additionally it uses PAGE_SIZE but assumed
that it is always 4k. Fix the macros that failed to respect that so that it
works on 8k PAGE_SIZE systems. This makes bnx(4) work on sparc64.
2010-12-09 23:14:06 +00:00
jym 92c8678b42 Similar to bge(4), split if_bnxreg.h in two parts:
- if_bnxreg.h: general register values, flags... for bnx(4), that can
be included in other drivers
- if_bnxvar.h: PCI or device specific code (device state data, debug
macros etc.), which should remain private to bnx(4)

No comments, no objections on current-users@.

See discussion:
http://mail-index.netbsd.org/current-users/2010/12/01/msg014926.html
2010-12-09 22:34:37 +00:00
skrll 829aacc0bf Initialise lwp0.l_cpu early so that spl* work. 2010-12-09 10:19:23 +00:00
uebayasi b495fe08bd Fix DEBUG build. 2010-12-09 05:14:28 +00:00
bsh ba2df4f47e adapt to changes in imx51reg.h
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?
2010-12-09 05:00:14 +00:00
bsh e5fd50b0bb support USB on NetWalker 2010-12-09 04:40:22 +00:00
uebayasi a7e80793d8 Fix DEBUG build. 2010-12-09 04:31:57 +00:00
uebayasi 565a3d3094 Make UVM_PAGE_TRKOWN a real flag. 2010-12-09 01:48:05 +00:00
jakllsch 02fad731e5 Remove now-incorrect detail about the link address from comment. 2010-12-08 21:56:42 +00:00
phx b85712c4a1 regen 2010-12-08 21:02:12 +00:00
phx b719aa55b0 Apple product 0x1000 is a Bluetooth HCI in HID-proxy mode, which was the
reason it appears as keyboard- and mouse-HID. Do not ignore it.
2010-12-08 20:59:58 +00:00
pooka 02357b48fb weak stubs for agr(4) 2010-12-08 20:20:52 +00:00
pooka 3589617ac9 agr(4) support 2010-12-08 20:20:16 +00:00
pooka 4dd3369fc2 add weak stubs for bridge (not the game) 2010-12-08 18:06:58 +00:00
pooka 7ed2407316 Actually, unlike e.g. carp, bridge can be its own component since
it doesn't want to join the protosw party.  We can deal with other
linkhappy stuff with weak symbols.

(where is our modular networking stack?)
2010-12-08 18:06:43 +00:00
pooka 91a3d3404c linkset no more 2010-12-08 17:10:13 +00:00
christos 157bda91a0 PR/44207: Wolfgang.Stukenbrock:
memory-leak in raid-ioctl(RAIDFRAME_GET_COMPONENT_LAB
2010-12-08 16:18:06 +00:00
skrll a32f8e9c7e Update hp700_intr_establish call. Missed in previous. 2010-12-08 09:48:27 +00:00
mrg 4defac98e0 add dbcool(4) - there are two of them on the SB2500.
fix a spelling error.
2010-12-08 08:43:34 +00:00
joerg db91f3e244 Don't alias the same symbol twice. 2010-12-08 01:22:55 +00:00
joerg cde12355ff Implement __warn_references and __SECTIONSTRING (used e.g. by __RCSID)
for clang without assembler. This declares a global variable with
attribute used to prevent optimisation, attribute section to change
the placement and includes __COUNTER__ in the variable name for
uniqueness.
2010-12-08 01:18:55 +00:00
pgoyette 9179849b5d When removing properties (as in envstat -S), clear the flags that track
whether the properties actually exist.

When setting new limit values, don't complain/ignore about duplicate
values if the associated flag bits (indicating that the limit is valid)
are not set.

These two fixes together should fix a problem reported in private Email
by njoly@ a couple months ago.  Issue replicated and solution tested
using my recent swsensor pseudo-device running inside qemu world!
2010-12-08 00:09:14 +00:00
pooka 8d84854f4d add drvctl component 2010-12-07 21:38:07 +00:00
pooka 9b108f4af3 Support bridging. As usual, it would be nice if this could be a
separate component, but King Ifdef doesn't let us.
2010-12-07 20:39:07 +00:00
pooka 55fde99bfe _KERNEL_TOP 2010-12-07 20:38:26 +00:00
pooka f03553f56f haad removed 64bit atomic ops from dm, so put it back on the MI all list 2010-12-07 17:25:40 +00:00
pooka e7ec49d29a sockin cannot be loaded the same time as rumpnet_inet because both
provide a PF_INET domain.  Guess that real inet is more useful and
don't put sockin on the "all components" list.
2010-12-07 17:23:27 +00:00
pgoyette 0139c9e7c5 Make this compile when "options ENVSYS_OBJECTS_DEBUG" is defined. 2010-12-06 23:26:44 +00:00
skrll 76d54d05f2 Wrap a printf in #ifdef DEBUG 2010-12-06 18:42:09 +00:00
christos d200ee2cb8 change E2BIG -> EINVAL, clearly "argument list too long" is the wrong message
to print.
2010-12-06 16:22:57 +00:00
pooka 53fd187690 Allow creation with NULL busname (to be later set with SIOCSLINKSTR). 2010-12-06 10:48:18 +00:00
skrll 0281430f86 s/cannot/can't/ for consistency. 2010-12-06 10:24:04 +00:00
uebayasi 3c4c042ea9 Correct an assertion; pointed out by mrg@ and pooka@, thanks. 2010-12-06 10:22:43 +00:00
pooka 6816648ce4 use -isystem where appropriate 2010-12-06 09:12:34 +00:00
haad 08d72eb06c I have forgot to fix dm_dev_counter here, too. 2010-12-06 09:12:23 +00:00
haad e52bc34bd3 We don't need 64 bit variable for dm_device coutner, too. 2010-12-06 09:03:40 +00:00
haad 50cad777f0 Add comment about dm_dev minor, and change it to 32bit value we realy not
going to use so much device minor numbers.
2010-12-06 08:54:49 +00:00
mrg f705e59458 revert another part of bpf_filter 1.38 that broke the check for divide
by zero while validating the bpf program.

originally spotted by skrll@, and broke atf the month-old atf test for
this exact problem: net_bpf_t_div-by-zero_div_by_zero.
2010-12-05 22:40:56 +00:00
pooka 99f70917f1 dm uses non-MI 64bit atomic ops, so don't include it in the default list. 2010-12-05 22:01:23 +00:00
pooka 76c4650a3f Leave usb-stuff out of alldevs until DELAY() is mi. 2010-12-05 20:39:10 +00:00
pooka fee25d6c52 rumpcrypto should never have been its own faction, so finally make
it a component under kern, i.e. rumpcrypto -> rumpkern_crypto.
2010-12-05 20:11:21 +00:00
pooka 7e29270f53 claim ENOTTY for PRU_CONTROL for now 2010-12-05 18:01:46 +00:00
pooka fdb9b6e9bf Revert previous: it introduces a dependency between sockin and the
netinet rump components and will have to be done another way.
2010-12-05 17:59:12 +00:00
pooka 6292852036 Rename Makefile.rump${x} to Makefile.rump${x}comp for consistency. 2010-12-05 16:53:46 +00:00
pooka a0cc35fc67 include usb_verbose in the component (at least for the time being) 2010-12-05 16:51:00 +00:00
pooka 6c11d60910 whitespace polish 2010-12-05 16:50:09 +00:00
pooka 6dccdaa019 Make build similar to fs, net & dev. 2010-12-05 16:27:42 +00:00
pooka 520524fd92 Fix RUMPFSLIBS etc. As collateral, rename nullfs/umapfs to match
the vfsname, i.e. to "null" and "umap".
2010-12-05 16:11:16 +00:00
pooka 6ec300d935 get rid of this uninstalled "test", even i haven't compiled it for ages 2010-12-05 16:02:04 +00:00
pooka 2665f62b03 use in_control() for PRU_CONTROL 2010-12-05 15:54:50 +00:00
phx 8fba54e633 The gpio children have either register offsets based on gpio or on obio.
Implemented a workaround to deal with this uncertainty.
This fixes the machdep.cpu_speed control for 7447A-based iBookG4s.
2010-12-05 13:33:50 +00:00
skrll 095b264380 Make the interrupt evcnt name consistent everywhere. 2010-12-05 12:19:09 +00:00
skrll f49f90f395 KNF 2010-12-05 10:47:22 +00:00
skrll c5343b730d G/C unused _hp700_intr_spl_mask 2010-12-05 10:27:50 +00:00
skrll 90dc0b4bcc Reformat/Improve comment. 2010-12-05 10:21:18 +00:00
skrll a3ccaa6c4c Reformat comments. 2010-12-05 10:11:46 +00:00
mrg b5dcdd394e consider BPF_ABS, BPF_IND and BPF_MSH as they used to be in rev 1.37.
this fixes dhclient, and i'm told dhcpcd as well.


this patch from skrll@netbsd.org, tested by me.
2010-12-05 09:42:20 +00:00
mrg 51b69d29cc apply the smallest hack to allow this to build without warnings again. 2010-12-05 08:45:46 +00:00
christos 70d66231fe make bpf_validate available in userland. 2010-12-05 02:40:40 +00:00
christos d639454cac constify 2010-12-05 00:34:21 +00:00
pooka 393c93bb1d Don't allow "goes to 11^H^Hhyperspace" len field for RNDADDATA. 2010-12-04 17:39:50 +00:00
skrll dd4fc49621 Remove trailing whitespace from previous. Today is not my day. 2010-12-04 16:04:45 +00:00
skrll fab9eed30a Define PDC_ERR_NMOD 2010-12-04 16:02:55 +00:00
skrll 4509878aef Get capabilities right THIS time. 2010-12-04 16:01:42 +00:00
skrll 8eb08cae49 Spell capabilities correctly in PDC_MODEL_CAPABILITES. 2010-12-04 15:58:52 +00:00
mrg 1812d0a239 apply my patch to support non-512K sector disks (at least, upto 16KB
sector disks..)  from my tech-kern post:


the following patch let's me access both 512 byte and 4K
sector disks at the same time, as long as they are in
separate raids.  the existing rf code assumes/enforces
this part, i just made it support other sets concurrently.

the main change is moving the parity bitmap to the sector
after the component label sector(s), instead of being
immediately after the label, which meant it was on the same
sector as the label for >1024 byte devices.

i'm a little annoyed at having to add a 2nd call to
getdisksize() to enable auto-configure to work, but i
don't see another way that wasn't much uglier.
2010-12-04 10:01:16 +00:00
hannken c1e6ef0c6b genfs_do_putpages(): When testing an uobject for dirty or modified
pages skip uninitialized (PG_FAKE) pages (DEBUG only).
2010-12-03 08:42:14 +00:00
bouyer fbd333145d Make maxpartitions 16 on !i386. Fixes hardwiring root on device autoconf
index > 0 on amd64. Problem reported and patch tested by Tobias Nygren.
2010-12-02 23:12:30 +00:00
pooka 688fddb6c6 add ci_curlwp since we use it now 2010-12-02 21:20:39 +00:00
plunky d334ec0fc0 fix potential mbuf overflow, from Alexander Danilov on tech-net 2010-12-02 19:07:27 +00:00
christos 6507d5b7f9 just ignore things that refer to the interface while detaching. 2010-12-02 17:38:05 +00:00
christos dd73ef3bf4 Don't crash during detach if the attach hook failed before setting up.
From Chuck Silvers
2010-12-02 16:56:21 +00:00
pooka 1de81dd955 If the pagedaemon cannot free any memory due to not being able to
lock any uvm objects, check if lockholders are currently on CPU
and yield to try very soon again instead of assuming deadlock.

This makes limited-memory kernels perform the same as memory-unlimited
kernels (provided there is a reasonable amount of memory available).
For example, for large file copy off of ffs where the image is
backed on host memory (i.e. no disk i/o, i.e. ideal conditions)
the figures are, per rump kernel memory limit:

3000kB: same
1000kB: 10% slower
500kB:  50% slower

(per pagedaemon code might still be able to use some tweak, though)
2010-12-01 20:29:56 +00:00
pooka 48ac8b3849 implement mutex_owner() 2010-12-01 17:22:51 +00:00
pooka cac1c6e392 Don't bother asserting: if we create the thread without KTHREAD_MPSAFE,
it's not going to be MPSAFE.
2010-12-01 15:13:24 +00:00
pooka 5f9e9d2543 rumpuser interface changed 2010-12-01 15:02:04 +00:00
pooka 5e1b7bf36d Track lwp as the rumpuser mutex owner instead of pthread_t (this
is done in rumpuser for simplicity, since on the kernel side things
we assume we have only one pointer of space).  As a side-effect,
we can no longer know if the current thread is holding on to a
mutex locked without curlwp context (basically all mutexes inited
outside of mutex_init()).  The only thing that called rumpuser_mutex_held()
for a non-kmutex was the giant lock.  So, instead implement recursive
locking for the giant lock in the rump kernel and get rid of the
now-unused recursive pthread mutex in the hypercall interface.
2010-12-01 14:59:37 +00:00
pooka f73729b6b4 Make uvm_pagealloc_tele() fail if the request can't be immediately
satisfied.  This allows the caller to unlock the object and the
pagedaemon to avoid deadlock even if ~all memory is consumed by
one vm object.  This in turn makes is possible to copy a large file
into a rump kernel with a 10MB memory limit (where large >> 10MB).
A little more tuning will be required to avoid the pagedaemon
hitting the sleep-and-retry path, though.

+ fix some outdated unrelated comments
2010-12-01 11:19:18 +00:00
he 301198ac5d Follow up the changes done to wivar.h -- the consequence here is that
instead of a _disable and _enable routine, we have a single _enable which
takes a flag, and has a slightly different function signature.
Macppc kernels should build again.
2010-12-01 09:52:28 +00:00
skrll 663ac59a5a Define PCI_MAGIC_IO_RANGE, so that Xorg drivers can mmap PCI IO space. 2010-12-01 06:47:16 +00:00
jruoho c2668640ae Fix boolean brain freeze. 2010-11-30 18:44:07 +00:00
pooka 074a7d7688 simplify 2010-11-30 18:20:41 +00:00
pooka 205a3e1371 regen: checksavecn is gone 2010-11-30 16:27:30 +00:00
hauke 97e8ba784e Fix an embarassing tyop. gcc should run aspell over the comments... 2010-11-30 16:05:55 +00:00
pooka 2c4a6d5bab remove unnecessary interface 2010-11-30 15:41:35 +00:00
pooka 88c803e16f fix broken rototill 2010-11-30 15:39:27 +00:00
bsh dcf9e50cee don't clear TS_BUSY in ucomclose().
This fixes kernel crash in ucomstart() with "echo Hello > /dev/ttyU0".
2010-11-30 15:26:22 +00:00
pooka 7332ad1515 Require server to be explicitly initialized with rump_init_server(url).
Also, add rump_daemonize_begin() / rump_daemonize_end() to help
with the "can't daemon() after pthread_create()" problem.  Applications
could accomplish the same, but since it's such a common operation,
provide a little help.
2010-11-30 14:23:24 +00:00
bsh bde01a6cd8 Support USB on NetWalker. 2010-11-30 13:07:29 +00:00
bsh c1719a03c3 Support GPIO, IOMUX, and USB on i.MX51. 2010-11-30 13:05:27 +00:00
bsh f9b075f6f4 define major device number for UARTs on i.MX SoCs 2010-11-30 12:42:48 +00:00
phx d506813131 Support for Apple notebook keyboards, which have a few quirks.
1. On ISO-keyboard the keycodes for the key left of '1' and right of Shift
   are swapped.
2. Find the Apple FN key in the report descriptor and do the translations
   needed, before passing the keycodes to wscons.
3. Those keyboards only have the left Alt key. AltGr is missing. So it is
   emulated when holding down FN together with Alt.
2010-11-30 11:35:30 +00:00
phx 34f9225067 regen 2010-11-30 11:28:44 +00:00
phx 1949db690b Added some Apple trackpad devices for use in usb_quirks.c and macppc/dev/pbms.c 2010-11-30 11:25:25 +00:00
hannken bd8f6f0b8f Always take the object lock before changing vmpage flags. Fixes a deadlock
where a thread is waiting on "genput" but the page in question is neither
BUSY nor WANTED.

No objections from tech-kern@.
2010-11-30 10:55:25 +00:00
dholland a93e88c764 Time for 5.99.41 - struct componentbuf and struct nameidata both changed. 2010-11-30 10:50:29 +00:00
dholland fbc55b334e SAVENAME and HASBUF namei flags have been removed; update rumpvfs accordingly. 2010-11-30 10:48:27 +00:00
dholland cf7974120a RUMPCN_FORCEFREE is no longer needed. 2010-11-30 10:46:59 +00:00
dholland 3538a43f3a Regen for both preceding commits of namei.src together. I suppose I should
technically have regen'd separately for each but it didn't seem worthwhile.
2010-11-30 10:44:44 +00:00
dholland 14402d0ff1 Abolish the SAVENAME and HASBUF flags. There is now always a buffer,
so the path in a struct componentname is now always valid during VOP
calls.
2010-11-30 10:43:01 +00:00
dholland d4eb05390d Abolish struct componentname's cn_pnbuf. Use the path buffer in the
pathbuf object passed to namei as work space instead. (For now a pnbuf
pointer appears in struct nameidata, to support certain unclean things
that haven't been fixed yet, but it will be going away in the future.)

This removes the need for the SAVENAME and HASBUF namei flags.
2010-11-30 10:29:57 +00:00
jruoho e1de74391b Add AMD C1E quirk. Tested by cegger@.
(a) This should be removed once C-states are supported.

  (b) As there seems to be no reliable way to detect whether C1E is present,
      the quirk blindly assumes that C1E is used on families 10h and 11h.
2010-11-30 04:31:00 +00:00
dholland 0c1edef512 Fix etfs pathname handling to not (mis)use namei's scratch space.
etfs objects must now be registered as absolute paths; however, it is now
possible to access them via relative paths and through symlinks, which
previously worked some times and not others depending on exactly what
namei was doing.

discussed on tech-kern and ok'd by pooka.
2010-11-30 01:22:50 +00:00
jym eac44f9a19 Fix typo. 2010-11-29 23:04:42 +00:00
skrll 9af400c7d3 KNF - remove names from function prototype declarations. 2010-11-29 16:16:27 +00:00
mrg 05061c6ad9 put the kernel-only externs back before <machine/pmap.h>. fixes ofppc build. 2010-11-29 09:49:33 +00:00
hannken c23fe3a530 As md(4) no longer has "needs-count" there is no "md.h" anymore.
Remove the inclusion of this file.

Acorn32 now always builds load_memory_disc_from_floppy().  This should
not be a problem as all configs have md(4).

Observed by: Masao Uebayashi <uebayasi@netbsd.org>
2010-11-28 08:23:22 +00:00
jnemeth 22405528a4 Rename the autoloaded property list from <module>.prop to <module>.plist
as discussed on tech-kern.
2010-11-28 00:26:38 +00:00
christos d410526d61 add ihphy 2010-11-27 20:18:46 +00:00
christos 1bb8c93e5d regen 2010-11-27 20:15:43 +00:00
christos e5ce60b3e7 PR/44080: Grégoire Sutre: Support for the i82577 ethernet PHY 2010-11-27 20:15:27 +00:00
jym b105d52289 regen. 2010-11-27 18:03:33 +00:00
jym 10ac0f2ef5 Correct string for BCM5709S.
(Yup, sorry, fix was supposed to be for miidevs and not miidevs.h)
2010-11-27 18:01:40 +00:00
jym e8fab53aa6 Missing break in switch case. From OpenBSD. 2010-11-27 17:48:58 +00:00
jym 2ef59c6010 Use device_private() instead of casting softc to (void *). 2010-11-27 17:42:04 +00:00
jym 4fb46d6208 Correct string for BCM5709S. 2010-11-27 17:38:49 +00:00
bsh 043376cd09 ULPI register definitions 2010-11-27 13:41:49 +00:00
bsh 8af7e1f7d5 use device_t correctly for imxuart. 2010-11-27 13:37:27 +00:00
dholland 71d00f92fa Don't test flags with &&. From Henning Petersen in PR 44151. 2010-11-26 21:59:49 +00:00
christos a9bdee4f4d don't leak kernel variables to userland! 2010-11-26 18:51:19 +00:00
pooka 571bbfbcca Duh, it's x86_64, not amd64. This should make the races which
require SMP trigger in the amd64/qemu runs again.
2010-11-26 09:25:39 +00:00
uebayasi f4ae5ecf6e Put back VM_PAGE_TO_MD(); pointed out by skrll@, thanks. 2010-11-26 00:45:27 +00:00
pooka 6b71288c49 *facepalm*, adjust remote copyinstr to work in cases where the end
of the max copyin extends to an unmapped page.

Noticed, as usual, by tests.
2010-11-25 17:59:02 +00:00
matt de286ccb2d Save t0-t2 on MIPS1 syscalls. 2010-11-25 17:53:24 +00:00
sborrill c3023797f4 regen 2010-11-25 14:16:55 +00:00
sborrill 0cfe9d42ef Add devices for upcoming run(4). 2010-11-25 14:16:24 +00:00
tsutsui 851a3a4cfe Fix botch on mips64 merge:
- use correct offsets to pass args to loaded kernel in __mips_o32 case

Now NetBSD/pmax kernel properly boots, but init(8) still doesn't start
on GXemul emulating R3000 3MAX.
2010-11-25 14:05:27 +00:00
skrll b8ccf1f053 Use partition_cyl_high and partition_cyl_low to find the "RiscBSD"
partition.

Makes nbfs somewhat work on my RiscPC.
2010-11-25 13:45:17 +00:00
hannken 83b532dd44 - Don't detach configured devices on last close.
- No kmem allocation and biodone() under lock (from rmind@netbsd.org).
2010-11-25 08:53:30 +00:00
uebayasi e3b768e416 Revert vm_physseg allocation changes. A report says that it causes
panics when used with mplayer in heavy load.
2010-11-25 04:45:30 +00:00
skrll ce0d59c64f Improve debug output. 2010-11-24 19:12:08 +00:00