Commit Graph

195168 Commits

Author SHA1 Message Date
jruoho c2668640ae Fix boolean brain freeze. 2010-11-30 18:44:07 +00:00
joerg 236a44094d Test alignment of constructor / destructor calls as well as the stack
of new threads. Currently implement for i386 and AMD64.
2010-11-30 18:38:53 +00:00
joerg cb0b8d7cc6 Fix stack alignment for non-constructor/destructor calls.
AMD64 stack is 16 Byte aligned at the start of the function,
so always push rbx.
2010-11-30 18:37:59 +00:00
pooka 074a7d7688 simplify 2010-11-30 18:20:41 +00:00
pooka cc18af6c52 one more test 2010-11-30 18:19:47 +00:00
pooka fb6b034dfb check etfs key rules 2010-11-30 18:14:38 +00:00
pooka 0161ae951b ahem, use public interface names in the doc 2010-11-30 18:08:46 +00:00
pooka fe96301432 document rump_etfs 2010-11-30 17:32:28 +00:00
pooka 205a3e1371 regen: checksavecn is gone 2010-11-30 16:27:30 +00:00
pooka 74861a965c test makecn/freecn 2010-11-30 16:16:33 +00:00
hauke 97e8ba784e Fix an embarassing tyop. gcc should run aspell over the comments... 2010-11-30 16:05:55 +00:00
pooka 9670fcaf80 Remove dead code from previous revision. 2010-11-30 15:42:11 +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
tnozaki 96bcb898d4 variable must to be nul terminated before "CODESET=foo".
ISO2022 module doesn't understand this and may fail setlocale(3).
2010-11-30 15:25:05 +00:00
christos 632ebb6b6e fix typo caused mdnstries not to work. 2010-11-30 15:00:10 +00:00
njoly aab4946261 Adjust obsolete_libs to handle both the libraries (unchanged) and the
corresponding .debug files if exists.
2010-11-30 14:35:38 +00:00
pooka fe0f81073d comment tyops 2010-11-30 14:31:14 +00:00
pooka 401a8e7a51 Get rid of the "sleep 1" by using rump_daemonize_begin/end().
Notably, md is a little tricky for this, since the ioctl that
configures the service also blocks in the kernel.  Therefore, use
an additional pthread to probe when the service is fully configured
and the server can detach.

Also, rawpart love.
2010-11-30 14:29:05 +00:00
pooka fbdc3da9ae Change RUMP_SP_CLIENT to RUMP_SERVER. The former was, in addition
to being annoying to write, slightly misguiding, since it contains
the server url.
2010-11-30 14:24:40 +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
pooka 1e3b8bd985 add commented-out -D_DIAGNOSTIC 2010-11-30 14:08:39 +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 c122e153ac Allow standalone commands to be recognized, as in the in-kernel keymaps.
Also allow the Cmd token. Examples:
keycode 210 = Cmd Cmd_BrightnessUp
keycode 211 = Cmd_VolumeToggle
2010-11-30 12:22:06 +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 297e393f26 SAVENAME and HASBUF namei flags have been removed; update accordingly.
(pooka@ says not to worry about compat.)
2010-11-30 10:49:22 +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 a2f7dda335 SAVENAME and HASBUF namei flags have been abolished; update zfs to match. 2010-11-30 10:45:27 +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 fab6ef2374 Document pathbuf_assimilate, used by nfsd to move pathnames from mbufs to
pathbufs. It is like pathbuf_create but takes responsibility for the path
buffer passed in. (Because this is asymmetric, it carries an extra risk
of error and therefore shouldn't be used except where it's really needed.)
2010-11-30 10:32:46 +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
haad bcfeb94d61 Update TODO for zfs add new tasks, list some know issues and mark some done stuff.
iRequested by: agc@
2010-11-30 00:14:42 +00:00
jym eac44f9a19 Fix typo. 2010-11-29 23:04:42 +00:00
riz 6f8b62aac7 Restore a couple of checks for updating the cg_old_ncyl value which
were commented out with XXX and a notation to "fix once fsck is fixed."
fsck seems to have been fixed for this particular issue sometime in the
7 years since the code was brought into the tree.

Update cg_old_niblk instead of cg_ni_blk, since this tool
currently supports ffsv1 only.

With these two changes, I can grow a file system and have the result
be clean according to fsck_ffs.  Shrinking still results in an unclean
file system.

OK mhitch@

While I'm here, fix a typo in an error message.
2010-11-29 19:54:10 +00:00
njoly a237b884af Add missing atf keyword for Atffile. 2010-11-29 19:29:47 +00:00
pgoyette 67b7416103 Revert previous. The atf default timeout has been reverted, and the 90sec
timer I imposed here is still sometimes "not quite long enough" for the
tests to complete in an amd64 qemu/anita environment.
2010-11-29 18:21:15 +00:00
skrll 9af400c7d3 KNF - remove names from function prototype declarations. 2010-11-29 16:16:27 +00:00
pooka d402686fe2 Remove remaining panic()s from server-side code. Also, allow to
send an out-of-band error.  Make the client retry syscall requests
if this error is EAGAIN, fail them otherwise.
2010-11-29 16:08:03 +00:00
drochner 240e9917d0 fix accuracy problems in argument ranges where j0(x) is small, closes
PR lib/44170 by Henning Petersen
(originally from Steven G. Kargl per FreeBSD PR bin/144306)
2010-11-29 15:10:06 +00:00