Commit Graph

197425 Commits

Author SHA1 Message Date
skrll 79aeb20cc3 Commit a hack workaround for PR 41448.
Not sure if this has any negative effects, but I'd rather have a system
that reboots than has working audio.
2011-02-04 07:44:53 +00:00
yamt 224617538d add:
./usr/lib/librumpfs_zfs_g.a
	./usr/lib/librumpkern_solaris_g.a
2011-02-04 07:32:37 +00:00
wiz 3e5e970356 Fix typo, from Henning Petersen in PR 44510. 2011-02-04 07:26:17 +00:00
uwe eacbbab1d6 Use __INTR_MASK_EXCEPTION_UNBLOCK combo. 2011-02-04 04:14:25 +00:00
uwe 03df7cc50d Since __INTR_MASK + __EXCEPTION_UNBLOCK is common sequence, provide
__INTR_MASK_EXCEPTION_UNBLOCK combo version that does stc/ldc just once.
2011-02-04 04:13:52 +00:00
uwe 9ed9e8742f __EXCEPTION_ENTRY - "tst" already does logical AND, so shave off extra
"mov" and "and" and just test PSL_MD bit directly.

While here - shuffle around instructions to construct PSL_MD to break
dependencies.

While still here - only interrupt vector uses SSR and SPC as function
args, so don't bother saving them here in r4 and r5.  Other vectors
don't need them and interrupt vector can just as well "stc" them
directly before exceptions are enabled.
2011-02-04 03:23:33 +00:00
matt 90a7a07b86 Use RT_ROUNDUP instead of a private copy since that's what the kernel uses.
(t_getaddrinfo passes for both i386 (compat_netbsd32) and amd64 with this
change).
2011-02-04 02:01:12 +00:00
rmind 3bb326c464 Fix sun2 builds. Noted by joerg@. 2011-02-04 00:19:51 +00:00
uwe 9d18d32a41 Branch with delay slot executes delay slot even if branch is not
taken, so adjust next_pc logic accordingly.  Fixes SIGILL
(breakpoint's "trapa" causes an illegal slot instruction exception)
when stepping through such branches.
2011-02-04 00:05:29 +00:00
pooka ff4f0c61df fix KASSERT snafu. spotted by tests, as usual. 2011-02-03 22:16:11 +00:00
njoly 7f5841a8aa Regen for Nvidia devices addition. 2011-02-03 22:04:09 +00:00
njoly d5d37e5239 Add a few Nvidia devices. 2011-02-03 22:03:09 +00:00
joerg 13011308e4 Explicitly initialize ucontext before calling getmcontext. 2011-02-03 21:45:31 +00:00
phx a9bb5cb76e Reworked preparation instructions and installation via altboot. 2011-02-03 21:04:52 +00:00
skrll d0958cfd17 Replace -1 with HP700CF_IRQ_UNDEF 2011-02-03 20:37:09 +00:00
drochner 0bac615281 fix some merge botch and enable cryptodev support on NetBSD again 2011-02-03 19:44:05 +00:00
pooka 34e15b860b commit works better when you cvs add first 2011-02-03 17:21:17 +00:00
pooka 6e2c74cec3 + tests/usr.bin
+ tests/usr.bin/rump_server
2011-02-03 15:39:50 +00:00
pooka f43ab2f10c add tests for the -d functionality of rump_server(1) 2011-02-03 15:38:18 +00:00
pooka 1e892b4a1f * open backend device once when the rumpblk is registered instead of
every time the virtual device is opened.  this takes care of e.g.
  a midlife chmod crisis
* when mapping initial windows, consistently look at host size and
  host offset.  otherwise we might end up in a situation with 0
  initial windows mapped, and that will cause a crash later.
2011-02-03 15:36:30 +00:00
pooka a9061c30c5 Create backing image with mode 0644 instead of 0755 & document this. 2011-02-03 11:25:27 +00:00
pooka 53c3cffec5 whoopsie, bump date 2011-02-03 11:21:43 +00:00
pooka ed37916e33 * make it possible to specify an offset in -d
* truncate -d hostpath only if it's a regular file and smaller
  than offset+size
2011-02-03 11:21:16 +00:00
pooka 4dfafdead2 weakalias the "withsize" variant of rump_pub_etfs_register too 2011-02-03 11:01:51 +00:00
pooka c6e13b7874 fix prototype, document RUMP_ETFS_SIZE_ENDOFF 2011-02-03 10:21:58 +00:00
pooka 2f1c12f11d * fix blkno->offset calculation for simulated non-512 devices
* allows transfers only in multiples of block size
* g/c unused struct member
2011-02-03 10:06:06 +00:00
enami 342e3df70b Note that our installed sshd_config overwrite the LoginGraceTime to 600s. 2011-02-03 04:24:23 +00:00
christos d7b3467511 PR/44505: Mark Davies: pam_exec fails to realloc enough space, while
there add a volatile variable (From FreeBSD)
2011-02-03 02:05:59 +00:00
njoly b122b06e1a +libnpf.so.0.0.debug 2011-02-02 23:27:11 +00:00
rmind fba2c6b806 Bump NPF_VERSION. 2011-02-02 23:01:34 +00:00
chuck afca0358a6 udpate license clauses on my code to match the new-style BSD licenses.
verified with Mike Hibler it is ok to remove clause 3 on utah copyright,
as per UCB.
based on diff that rmind@ sent me.

no functional change with this commit.
2011-02-02 20:07:25 +00:00
chuck beb929a933 udpate license clauses on my code to match the new-style BSD licenses.
based on diff that rmind@ sent me.

no functional change with this commit.
2011-02-02 17:53:41 +00:00
plunky 340f952206 prop_dictionary_internalize_from_file_returns_a_dictionary_not_an_array 2011-02-02 16:37:27 +00:00
pooka 1b5df295f3 Allow etfs for CREATE lookups too. This takes care of O_CREAT calls
to open(), which act just like lookups if the node exists (found
from etfs).  If the node doesn't exist in etfs, nothing changes
from the previous situation.
2011-02-02 15:58:09 +00:00
pooka 9cf08a1e73 never open rumpblk backend with O_TRUNC
XXX: the rumpuser_open interface needs a beating
2011-02-02 15:55:22 +00:00
chuck f9d8cc1a37 udpate license clauses on chuck^2 code to match the new-style BSD licenses.
based on diff that rmind@ sent me (and confirmed with chs@ via email).

no functional change with this commit.
2011-02-02 15:28:38 +00:00
chuck 40ec801a13 udpate license clauses on my code to match the new-style BSD licenses.
based on second diff that rmind@ sent me.

no functional change with this commit.
2011-02-02 15:25:27 +00:00
vanhu bfe163c1a3 store ph1id in an u_int32_t instead of a (signed)int. Patch from Christophe Carre 2011-02-02 15:21:34 +00:00
rmind 4a8954eca9 npf_nat_create: fix attributes. 2011-02-02 15:17:37 +00:00
chuck 3ba477b154 udpate license clauses on my code to match the new-style BSD licenses.
based on diff that rmind@ sent me.

no functional change with this commit.
2011-02-02 15:13:33 +00:00
pooka 6ebb7d5324 add a few overwrite-related tests 2011-02-02 14:42:15 +00:00
pooka d368e9df29 adjust inode size too if VOP_SETATTR changes size 2011-02-02 14:41:55 +00:00
bouyer b7050e7fd4 Some CPU have cpu counter (CPUID_TSC is there) but don't handle the
rdmsr instruction (CPUID_MSR is not there).
Introduce a cpu_counter_serializing() function to remplace rdmsr(MSR_TSC)
calls, which does a rdmsr(MSR_TSC) if available and cpu_counter() otherwise.
This makes the cpu counter useable on vortex86 CPUs.
OK ad@
2011-02-02 12:26:42 +00:00
wiz 655eafa2a2 Remove trailing whitespace. 2011-02-02 09:07:32 +00:00
wiz d97c90f051 New sentence, new line. Mark up NULL. 2011-02-02 09:05:01 +00:00
matt 88c2bd9d57 Always call cpu_lwp_bootstrap even in cpu_setfunc. Let cpu_lwp_fork use
cpu_setfunc instead of duplicating code.  Simplify stack setup.
PR 44500
2011-02-02 09:02:39 +00:00
kiyohara dc241d4309 Remove unused macros. 2011-02-02 05:10:55 +00:00
kiyohara aefda03698 Add socket_settype of struct pcmcia_chip_functions. Always need it. 2011-02-02 05:06:31 +00:00
kiyohara 4e803aeb33 Change to static functions. 2011-02-02 05:00:56 +00:00
kiyohara c9cc93b51e Use cf_name to match instead of cd_name.
Call com_is_console().
Using bus_space_tag_t and bus_space_handle_t is manners for more machines.
2011-02-02 04:46:25 +00:00