pooka
53b1ac321f
take care of the usual pastos invisible to the human eye
2010-06-09 13:44:22 +00:00
pgoyette
37a665ebbb
Revert previous - it was committed unintentionally along with other changes.
2010-06-09 13:33:13 +00:00
pooka
c4cb78293c
+test
2010-06-09 12:40:49 +00:00
pooka
7560245bb8
arbor days are here again
2010-06-09 12:38:15 +00:00
pooka
5c21ec6fa6
Add a test which checks autoloading modules from the host's
...
/stand/arch/vers/kmods works in rump (and that the result is usable ;).
On i386 this "just works". For amd64, due to -mcmodel=kernel,
things are a little more complicated. We must have the entire rump
kernel loaded in the lower 2GB. Currently, this can be done either
by using the non-PIC version for the rump kernel compiled with
-mcmodel=small, or, as njoly pointed out, using netbsd32, which
causes vm_default_addr() to give something in the lower 2GB and
therefore shared libs "magically" getting loaded there. I guess
it would be possible to put a suggested vaddr into the rump kernel
libs and make ld.elf_so map memory from the suggested address if
present ... but that's another show.
Also thanks to tron for access to an amd64 so that I could verify
the test works.
2010-06-09 12:35:45 +00:00
pooka
aad71fb6e2
On amd64, allocate module_map memory from the lowest 2GB.
2010-06-09 12:02:37 +00:00
pooka
3f4944e6bb
Add the ability to specify a preferred address the "map anon memory"
...
hypercall.
2010-06-09 11:35:36 +00:00
pooka
ee5ea4a164
``twistymount'' regression test for scenario described in PR kern/43439
2010-06-09 08:37:16 +00:00
pooka
4b8e90305c
Similarly to cv_wait, fail if trying to cv_wait_sig() without threads.
2010-06-09 07:54:13 +00:00
kiyohara
854e722143
ofppc: Support Gigabit Ethernet Controller for MV64361 on PegasosII by mvgbe@gt.
2010-06-09 05:00:25 +00:00
riz
b82a6579fe
Remove _PATH_NOLOGIN before reboot, as well as before exit(), to prevent
...
a root file system which has been marked read-only in fstab from continuing
to prevent logins after reboot. From Ian D. Leroux in PR#43390.
2010-06-09 04:51:53 +00:00
kiyohara
58ab5c2ec0
Add mvgbe and gtpci.
...
Change gt devices to MI from evbppc.
2010-06-09 04:48:02 +00:00
kiyohara
5358a961b8
Indent.
2010-06-09 04:44:01 +00:00
kiyohara
2581e047dd
Support MV64361 on PegasosII by gt(4).
...
+ Support gtpci@gt instead of pegasospci more smartly.
+ Support Gigabit Ethernet by mvgbe@gt.
2010-06-09 04:41:42 +00:00
mrg
0196355634
pci_chipset_tag_t is opaque - don't compare it to NULL, just use it.
...
shouldn't be a problem because "acpi_softc" variable isn't setup until
the "sc_pc" member is set.
fixes ia64 build. tested on amd64. ok jruoho.
2010-06-09 04:20:10 +00:00
mrg
43b100a118
document the acorn26, i386, ia64 and vax ddb commands in both the builtin
...
help and in ddb.4. fixes PR#38304, PR#38305, PR#38309 and PR#38313.
2010-06-09 02:48:52 +00:00
mrg
682fe43442
declare 'struct pci_attach_args' before it is used. fixes ia64 build.
2010-06-09 02:39:32 +00:00
kiyohara
8a73a79a6f
Fix debug messages.
...
- s/DEBUG/GT_DEBUG/.
- Indent.
- The old one is 20 bits in the mask of the address register, and the
new one is 16 bits.
2010-06-09 02:19:51 +00:00
riz
a4259da5ea
Note that MKZFS is actually "yes" on i386/amd64.
2010-06-08 22:22:25 +00:00
pooka
0c93fc168a
The previous revision worked brilliantly if all you wanted to test
...
was autoload *not* working with an alternate path. This revision
make the code double as good in the sense that it now works also
in case you *do* want it to work.
2010-06-08 21:57:49 +00:00
jruoho
15a42e9f63
Only check the parent's power state if the parent has power management
...
capabilities. Based on a short DSDT survey, not all systems adhere to the
model noted in the comment.
2010-06-08 21:47:26 +00:00
jakllsch
2f58024d26
Add quirks for Creative Nomad MuVo, it chokes when told to prevent
...
media removal or synchronize cache. Should fix PR#30389.
2010-06-08 20:40:07 +00:00
jruoho
2ef5124af4
Add FUNCTIONS. List only complete prototypes in SYNOPSIS. Sort SYNOPSIS
...
according to the appearance in FUNCTIONS. Fix typo; cnm_trap() -> cn_trap().
Remove the .Va typedef struct cnm_state cnm_state_t; in SYNOPSIS. And some
miscellaneous markup improvements.
2010-06-08 19:44:28 +00:00
jruoho
74f7e1dfe4
Offset indent the example.
2010-06-08 19:28:56 +00:00
jruoho
709c34f11d
Fix a comment and some debug printing.
2010-06-08 18:38:18 +00:00
jruoho
fc9a58b32f
Error out if we try to set power to a higher-power state than the parent's
...
state. This follows the "bus power state" -logic noted in the spec:
bus: D1
device A : D1 -> D0 -> error
device B : D1 -> D2 -> success
-> bus must remain in D1 due device A
Following this scheme, it is easy to derive the "bus power state" now that
we have the device nodes in a tree-like structure. If required, separate
acpi_power_get_bus() and acpi_power_set_bus() can be added in the future.
2010-06-08 18:18:24 +00:00
christos
2ae8ee3aef
use modulo instead of logical and. from pooka
2010-06-08 18:04:17 +00:00
pooka
1ef2da668c
Allow to set a non-standard module_base for host kernel module loading.
2010-06-08 17:17:33 +00:00
tnozaki
068f43028d
fix build breakage by multiple definition of __mb_cur_max.
2010-06-08 17:12:32 +00:00
jruoho
64f353c42a
Add PNP0C33, "a hardware error device". Part of APEI.
2010-06-08 17:04:49 +00:00
jruoho
c51a135130
Add and organize some comments. Add also ACPI_DEVICE_EJECT constant to
...
indicate "ejectable" devices such as docking stations.
2010-06-08 16:55:02 +00:00
jruoho
5f7d603c37
Use the same notation with the PNP identifiers. Specifically note that
...
PNP0C80 is the device that is required for memory hot-plug on x86.
2010-06-08 16:49:53 +00:00
pooka
46ea1019d6
Allow loading the symbols from objects which are not directly mapped
...
into memory, namely the main object (i.e. map->l_addr is NULL).
2010-06-08 15:32:55 +00:00
christos
a3299c9005
explain why this code is there.
2010-06-08 13:48:58 +00:00
pgoyette
24b20b1478
Regen
2010-06-08 13:36:34 +00:00
pgoyette
292bfb44cd
Add a couple entries for ATI Radeon 4250 HD
2010-06-08 13:22:04 +00:00
jruoho
a517ae186e
GDT, IDT, ISR, IST, IVT, LDT, LTR, MSI, SCI, SMI, TR, TSS.
2010-06-08 12:52:51 +00:00
pooka
9eda5fdbbb
Use rump component libs on all platforms. I'll add kernel module
...
autoloading as a separate test later.
2010-06-08 10:43:40 +00:00
jruoho
c99ce241db
Remove the unnecessary example.
2010-06-08 09:02:55 +00:00
jruoho
f484940420
Put also powerof2(9) to SEE ALSO.
2010-06-08 09:00:51 +00:00
jruoho
b052be6bc7
Xref ilog2(3) and imax(9).
2010-06-08 09:00:22 +00:00
jruoho
0e7140d8d0
Xref ilog2(3).
2010-06-08 08:55:46 +00:00
jruoho
a88b2930dc
Document ilog2() from <sys/bitops.h>.
2010-06-08 08:51:08 +00:00
hannken
f9768510ca
Procfs_lookup() does not lookup directory descriptors in the fd/
...
subdirectory. There is no need for recursive vnode locking here.
Ok: Christos Zoulas <christos@netbsd.org>
2010-06-08 08:24:16 +00:00
jruoho
015c6ebc3b
Three small markup improvements.
2010-06-08 08:20:37 +00:00
wiz
ae0570abb9
Fix xref.
2010-06-08 07:20:20 +00:00
macallan
c7622a73d1
get rid of the cg3/cg8 'emulation' kludge since we have the xf86-video-suncg14
...
driver now
this will probably need some work in cgfourteenmmap() to match what the
driver expects from a cg14
2010-06-08 06:30:41 +00:00
mrg
d823f37213
properly document alpha ddb "mach" commands. PR#38303.
2010-06-08 06:14:57 +00:00
jruoho
338ce8774a
Xref mq(3).
2010-06-08 06:11:05 +00:00
jruoho
0b44becf58
Ups. Fix wrong filename suffix.
2010-06-08 05:56:58 +00:00