tsutsui
3012955196
Move bootinfo address initialization to locore.s and machdep.c
...
to reduce MD quirks in pmap_bootstrap.c.
Also print bootinfo_pa in consinit() so that we can see
at least MMU is properly enabled after boot.
Tested on HP382.
2011-01-06 13:03:47 +00:00
pooka
cd73d116db
Support LOCKDEBUG. To use it, compile sys/rump with RUMP_LOCKDEBUG=yes.
...
requested by martin (sparc64 gdb cannot reliably produce a stack trace)
2011-01-06 11:22:54 +00:00
cegger
f150925704
recognize Radeon HD 4200. This lets radeondrm(4) attach.
...
"go ahead" macallan@
2011-01-06 11:07:48 +00:00
pooka
51426b1ada
cwdi0 lock is now initialized in proc0_init()
2011-01-06 10:20:57 +00:00
macallan
5e7d981582
clear the screen before redrawing on reentering text mode
2011-01-06 07:43:05 +00:00
jruoho
0af1ebd4ab
Split the code that makes a string from ACPI_DEVICE_INFO::Name to a function.
2011-01-06 07:05:00 +00:00
jruoho
1bb3132df6
Move the ACPI_ACTIVATE_DEV block around for clarity.
2011-01-06 06:49:12 +00:00
enami
eaefa873fe
Fix bugs introduced by previous commit; allocated page needs to be bound
...
with the anon, and uvmfault_anonget may be called with ufi NULL.
2011-01-06 05:51:57 +00:00
jym
6da35ef6e8
bnx(4) SERDES NICs will definitely work better with the PHY initialization
...
code... rather than without.
(forgot to commit it two weeks ago -- should be part of the BCM 5709S
patch)
2011-01-06 03:37:55 +00:00
jakllsch
dc93c72587
Pacify Clang -Wformat-security.
2011-01-06 02:45:13 +00:00
jym
53a9d61cb0
Reflect 5709S support in bnx(4) (comment fix)
2011-01-06 02:02:43 +00:00
jakllsch
a5fb435357
Support booting from GPT-partioned disks on PC-BIOS-compatible systems.
...
Much of the work in this commit was done by Mike Volokhov during GSoC 2009.
2011-01-06 01:08:48 +00:00
jakllsch
6808b172e4
Pass a 64-bit boot partition base LBA into x86 /boot,
...
while maintaining compatibility with existing bootxx code.
2011-01-05 23:13:01 +00:00
jmcneill
1dc6287662
reserve a major number for kmixer
2011-01-05 22:35:08 +00:00
jakllsch
1d66d108be
NetBSD/x86 BIOS Boot 5.6: now with GUID Partition Table support.
2011-01-05 22:28:05 +00:00
jakllsch
749ebb6927
Note stack/heap changes made in revision 1.47 of Makefile.boot with version 5.5.
2011-01-05 22:24:02 +00:00
jakllsch
ae42e83402
Teach BIOS disk driver about GPT partition tables.
...
Inspired by Mike Volokhov's GPT booting GSoC project.
2011-01-05 22:06:59 +00:00
jakllsch
4b66284eab
Let the compiler determine the correct type for sizeof().
...
From Mike Volokhov's GPT booting GSoC.
2011-01-05 21:44:23 +00:00
enami
7b2a66bec9
Fix format string; use PRIu64 for uint64_t.
2011-01-05 21:20:44 +00:00
jruoho
b1ee05a7c3
Add build files for acpipmtr(4) module.
2011-01-05 20:15:52 +00:00
jruoho
e067d18bf0
Add a driver for ACPI power meters.
2011-01-05 20:08:12 +00:00
martin
5a52026e31
Avoid NULL deref inside a KASSERT, as discussed on tech-kern.
2011-01-05 19:34:27 +00:00
matt
d9539bd215
Use regnames (%rX %crX), use m[ft]sprg[0-9]. No binary difference.
2011-01-05 18:47:28 +00:00
jmcneill
baabc4744e
d_type is now d_flag, update comment to match
2011-01-05 17:00:25 +00:00
jnemeth
a98aacd7f2
- the atari et device has been renamed et4k
...
- a new MI et device was added
2011-01-05 15:39:19 +00:00
sketch
4f0bf5bf27
Use aprint_verbose_dev.
2011-01-05 14:55:10 +00:00
martin
81136a86ea
Duh, actually make it modular
2011-01-05 13:29:27 +00:00
martin
8d1ce9f395
Untill modules are first class citizens, we need to run MODULAR kernels
...
insecure.
2011-01-05 12:59:33 +00:00
jnemeth
278bc6467a
Sample MODULAR kernel configuration.
...
approved by: martin@
2011-01-05 10:34:49 +00:00
jruoho
d982261b67
Adjust previous slightly.
2011-01-05 08:08:47 +00:00
jruoho
740a9e0c0e
Make a two-pass scan for acpinodebus. This should ensure that devices such
...
as acpiec(4) are attached before anything else. Numerous bugs are expected
to be fixed with this change.
2011-01-05 07:58:04 +00:00
skrll
4ad49271c4
Unwrap short line.
2011-01-05 07:40:16 +00:00
pgoyette
a8cb084374
Define KERN_SA when building the module
2011-01-04 20:52:53 +00:00
pgoyette
f54a432784
Fix the build breakage, at least on amd64
2011-01-04 20:23:40 +00:00
pooka
4b258054be
Add NetBSD 5 compat wrapping for *utimes()
2011-01-04 17:00:19 +00:00
jakllsch
6bbd1c4558
Relocate buffers to not coincide with new location of executable text.
2011-01-04 16:53:05 +00:00
pooka
a9dcf542ce
Add SMP support for all architectures.
...
tested on sparc64 by martin
2011-01-04 16:23:35 +00:00
kiyohara
926c5ddd8d
Fix to build failure. Include uvm/uvm_extern.h for pmap_extract().
2011-01-04 11:41:24 +00:00
matt
c247b65c80
Turn off VERBOSE_ARM_INIT
2011-01-04 11:38:58 +00:00
matt
b99d2248b0
Need to deal with msg_iov in netbsd32_to_msghdr.
2011-01-04 11:00:31 +00:00
matt
701acb9073
Make the SA support as optional as is possible.
2011-01-04 10:59:28 +00:00
skrll
2e4617519c
Centralise the PDC procedure calls into one file and use a minimal set of
...
kernel data for PDC results.
Remove the filler components from the PDC structures as a result.
Other tidyups while here.
2011-01-04 10:42:33 +00:00
jruoho
9844967b1c
Stop using aprint_debug(9) in an interrupt handler.
2011-01-04 10:40:17 +00:00
pooka
da5a203b0b
Need to check for VNOVAL when setting attrs.
2011-01-04 09:49:16 +00:00
matt
09ed1cd16b
Add audio for uaudio
2011-01-04 09:13:56 +00:00
matt
f895d49c52
Add ukphy (makes MIIVERBOSE happier)
2011-01-04 09:13:19 +00:00
matt
3af5634626
Supply a hook at allow an RAMDISK image to automagically inserted into a
...
newly built kernel.
2011-01-04 08:58:59 +00:00
matt
4d8e8a7e36
Add better color matching selecting free pages. KM pages will now allocated
...
so that VA and PA have the same color. On a page fault, choose a physical
page that has the same color as the virtual address.
When allocating kernel memory pages, allow the MD to specify a preferred
VM_FREELIST from which to choose pages. For machines with large amounts
of memory (> 4GB), all kernel memory to come from <4GB to reduce the amount
of bounce buffering needed with 32bit DMA devices.
2011-01-04 08:26:33 +00:00
matt
5d3db402fb
Add a MD hook to indicate a change of vmspace due to exec. (This is useful
...
to update any cpu flag due to a change to/from a 64bit and a 32bit address
space). This can set the state needed for copyout/copyin before setregs
is invoked.
2011-01-04 08:21:18 +00:00
matt
b3322481fa
Print the number of page colors in use with db> show uvm
2011-01-04 08:17:01 +00:00