Commit Graph

194786 Commits

Author SHA1 Message Date
pooka b82590c0a3 delint 2010-11-19 15:40:55 +00:00
pooka 52f22b2c6a Start working on making the syscall proxy code threadsafe. The
basics are there, but a few more tweaks are needed.  The reason
I'm committing it now is that the code was mindnumbingly boring to
write (no wonder it took me almost 3 years to get it done), and I
might burn it if it's not in a safe place.
2010-11-19 15:25:49 +00:00
macallan 486592ab8a add PCI_MAGIC_IO_RANGE so non-x86 machines can map the IO range belonging to
the console vga
thanks to nick for reminding me to commit this and for confirming that it works as intended
2010-11-19 13:38:17 +00:00
pooka d6885ccb11 +tp 2010-11-19 12:37:48 +00:00
pooka b98ccd4da5 test snapshots on ffsv2 too 2010-11-19 12:36:49 +00:00
pgoyette 0b49450103 Since /usr/games is rarely in one's $PATH, provide an absolute path to the
test-program.  This lets automated testing reach and execute a couple more
tests rather than skipping them.

Discussed privately with pooka@
2010-11-19 12:31:36 +00:00
dholland 0a4a6fb035 Fix previous, was all wrong. noticed by enami. 2010-11-19 09:11:45 +00:00
dholland 5fcd084d2b add missing pathbuf_destroy on error path, noticed by enami
XXX: this code is wrong; it should not be calling namei and then
XXX: vn_open on the same nameidata.
2010-11-19 09:08:26 +00:00
dholland 4756f11bab bump date for previous (thanks jnemeth) 2010-11-19 07:44:00 +00:00
dholland 1bc855564a 5.99.40: nameidata changed. 2010-11-19 06:46:33 +00:00
dholland 479d02e2f7 Regen. 2010-11-19 06:45:29 +00:00
dholland 8f6ed30d57 Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.
2010-11-19 06:44:33 +00:00
uebayasi 0ce666ede0 Whitespace. 2010-11-19 05:38:10 +00:00
uwe 5bb781f731 Correct definition of leap year. Make yeartonum and numtoyear use
full years so that year 2000 is correctly counted as a leap year.

Now NetBSD under SIMH picks up correct time-of-day clock value.  It
used to be a day behind, since 2000 - 1900 = 100 and naive leap year
test wouldn't count it as a leap year.
2010-11-19 03:31:24 +00:00
christos b0f3f04a67 PR/44113: Nicolas Joly: printf(3) should ignore zero padding for nan/inf 2010-11-19 00:44:18 +00:00
tron c3d90973c3 Add new X.org manual pages from "xorg-docs" package. 2010-11-18 18:48:05 +00:00
tron c3b15fd54b Build and install the following manual pages from the "xorg-docs" package:
- Consortium(7)
- Standards(7)
- X(7)
- XOrgFoundation(7)
- XProjectTeam(7)
- Xsecurity(7)
This fixes PR xsrc/44034 by Martin Neitzel.
2010-11-18 18:47:35 +00:00
cegger b9b1de19e8 previous fixed one HP laptop and broke an other HP laptop.
The one which got fixed RuntimeCount is 1. The one which broke RuntimeCount is 0.
So only decrement RuntimeCount when RuntimeCount is non-zero.
2010-11-18 18:16:15 +00:00
skrll 383128f176 Implement footbridge_io_bs_mmap. 2010-11-18 18:12:23 +00:00
skrll 3bb0378791 Whitespace. 2010-11-18 18:06:21 +00:00
skrll 5d30f2b71f Comment KNF. 2010-11-18 18:01:20 +00:00
skrll 2e1c941fb9 Remove commented out setting of SDRAM_MEMORY_ADDR - it's set later on. 2010-11-18 18:00:40 +00:00
cegger b768b4ed61 fix AcpiEnableGpe:
GPEs get enabled at ACPI initialization. AcpiInstallGpeHandler() disables
GPEs using AcpiEvDisableGpe() w/o decrementing RuntimeCount.
So when acpiec(4) enables the GPE after installing the GPE Handler then
AcpiEnableGpe() does not call AcpiEvEnableGpe() because RuntimeCount
says it is already enabled which is wrong.
So decrement the RuntimeCount in AcpiInstallGpeHandler() right
before calling AcpiEvDisableGpe().
2010-11-18 14:40:31 +00:00
cegger 7f56ec2e89 build fix: vm_physmem_index is only used with DEBUG.
Fix build when DIAGNOSTIC is enabled but not DEBUG
2010-11-18 11:49:41 +00:00
jnemeth bac8038f45 mention module noautoload property 2010-11-18 09:59:33 +00:00
jnemeth fd3014ea71 if autoloading check for a noautoload=true property and if found,
deny the autoload
2010-11-18 09:50:47 +00:00
mrg 40750601f0 add the ofppc bits for Xorg server. this should be complete now,
but needs to be tested still.
2010-11-18 08:42:40 +00:00
mrg 7e57e9a9ce build the dri libraries on ofppc, same as macppc. 2010-11-18 08:41:54 +00:00
uebayasi 5cdd3cec1f Optimize DIAGNOSTIC check code. 2010-11-18 08:41:11 +00:00
mrg 29083f4141 enable xfree86 server build for ofppc, and a bunch of drivers. 2010-11-18 08:20:16 +00:00
uebayasi 56df070b0c Fix DIAGNOSTIC physseg find check. 2010-11-18 08:18:31 +00:00
mrg d882d76e4a make this actually correct for an xorg world. 2010-11-18 07:52:45 +00:00
pooka e425b7c737 Remove unused rump_set_vmspace. An equivalent needs to come back
later, though, but in its current form it's just unusable garbage.
2010-11-17 21:57:33 +00:00
pooka 5eb7a3a4cc Provide a special rump_proxy_syscall for handling received proxy
syscalls and retire unused rump_syscall.
2010-11-17 21:52:29 +00:00
pooka dc4938b8f8 regen: -rump_pub_syscall 2010-11-17 21:50:34 +00:00
pooka 56c4db38a8 remove rump_pub_syscall -- unused/unusable 2010-11-17 21:49:52 +00:00
pooka 5e4322985a regen: optimize local syscall path a bit 2010-11-17 21:48:07 +00:00
pooka b991c38551 Skip one extra function in the rump syscall local path and use
sy_call() directly from rump_syscalls.c.
2010-11-17 21:47:11 +00:00
plunky 7d794dc7da do not produce an error when connections are closed normally
for L2CAP sockets, this solves an irritating error message from sdpd(8),
which can now differentiate between normal closure and error.
2010-11-17 20:19:25 +00:00
dholland 06a95d4af1 typo in comment 2010-11-17 20:07:50 +00:00
pooka 3e9c0c4fe1 cleanup some old garbage 2010-11-17 19:54:09 +00:00
dholland 4c60482042 Fix build when NATA_DMA is 0. 2010-11-17 19:36:54 +00:00
dholland 826407be7c Fix build with COMPAT_13. 2010-11-17 18:22:17 +00:00
wiz d999ecb2cd Capitalize the Internet's importance. 2010-11-17 18:03:49 +00:00
wiz 606383f1ce Convert manual list to Bl; fix typo; remove dot at end of SEE ALSO. 2010-11-17 18:02:20 +00:00
wiz deee42d237 Remove pasto. 2010-11-17 17:59:25 +00:00
pooka c3eed02978 note that shmif can be destroyed now 2010-11-17 17:55:00 +00:00
pooka d9aab6f8fc Support destroy in shmif. 2010-11-17 17:51:22 +00:00
pooka 48257b3e61 free syscall data after use 2010-11-17 17:36:14 +00:00
christos e285c9c3f2 since the fix was reverted, revert the test. 2010-11-17 13:41:52 +00:00