Commit Graph

194477 Commits

Author SHA1 Message Date
uebayasi 34f3e21523 Use VM_PAGE_TO_MD() to locate struct vm_page_md. No functional
changes.
2010-10-30 17:44:04 +00:00
uebayasi 44b88a99ab Use VM_PAGE_TO_MD() to locate struct vm_page_md. No functional
changes.
2010-10-30 17:20:43 +00:00
uebayasi 33a7d82e04 Use VM_PAGE_TO_MD() to locate struct vm_page_md. No functional
changes.
2010-10-30 17:00:54 +00:00
uebayasi 15d96040d7 Pass struct vm_page_md * where possible.
This causes 1% code increase, mainly because additional argument
(paddr_t) affects register usage.  This will be fixed when per-page
data structure (struct vm_page) is redone, and physical address
can be retrieved from struct vm_page_md *.

Tested on (uncommitted) i.MX35 (ARM1136).
2010-10-30 16:14:08 +00:00
jnemeth f6e521dbb3 Reduce licence with copyright Perry E. Metzger and Matthias Drochner
to two clauses.

On Thu, 21 Oct 2010 22:42:00 -0700 jnemeth@XXX
(John Nemeth) wrote:
>     The file src/sys/arch/i386/stand/lib/exec.c has a licence
> section that starts off saying copyright by each of you.  That is
> then followed by a standard four claus UCB licence.  Would it be
> okay to reduce that to the two claus licence that is now standard
> for NetBSD?

I have no particular objections.

--
Perry E. Metzger                perry@XXX

jnemeth@XXX said:
> Would it be okay to reduce that to the two claus licence

Yes of course, this is OK.

best regards
Matthias
2010-10-30 08:12:43 +00:00
kiyohara acaa4edc7c Fix mvPclk. Need 'break' each 'case'. 2010-10-30 06:37:49 +00:00
kiyohara 391aa4f282 Remove unnecessary comment-outed line. 2010-10-30 06:11:18 +00:00
kiyohara 219e815a80 Enable INCLUDE_CONFIG_FILE.
Remove NTFS maybe unnecessary.
2010-10-30 05:57:41 +00:00
kiyohara 7e0b12518d Enable product MV78100/MV78200. 2010-10-30 05:46:12 +00:00
uebayasi 560c3a1911 Handle kernel file names other than "netbsd". 2010-10-30 03:46:03 +00:00
stacktic 129baba091 Make sh build in debug mode 2010-10-29 17:06:53 +00:00
stacktic 6a6f2f47f8 Initialized flag field in struct alias (Fixed PR/43281) 2010-10-29 17:04:48 +00:00
uebayasi b69c5f7d05 Update. 2010-10-29 16:15:40 +00:00
pooka 080506bc5d Make error message more userfriendly in cases where server does
not support sftp.
2010-10-29 16:13:51 +00:00
pooka 4b75e68c49 update with reality 2010-10-29 15:38:15 +00:00
pooka a745e32571 implicit pid is 1 instead of 0 now 2010-10-29 15:32:51 +00:00
pooka 41a10084d4 Attach implicit threads to initproc instead of proc0. This way
applications which alter, by purpose or by accident, the uid in an
implicit thread are don't affect kernel threads.

from discussion with njoly
2010-10-29 15:32:23 +00:00
pooka 082af2faa5 minor knf 2010-10-29 15:27:50 +00:00
christos acfd35dad9 PR/44010: YAMAMOTO Takashi: sbrk: grow 0xb3ba2000 failed, error = 12"
(due to setenv changes?)
Provide a mini unsetenv that does not allocate/free memory and does not
bother about locking.
2010-10-29 15:08:17 +00:00
njoly a62c9cdf52 Add '-n' option to h_df helper tool to avoid picking wrong values if
the tested system has a similar mounted file system. Solve PR/43871.
2010-10-29 14:43:10 +00:00
wiz 775a0dd1d6 Sort SEE ALSO. 2010-10-29 09:34:03 +00:00
gsutre 027c57ec40 Lock the _DGS values (desired output state) during the display
output switch.

ok jruoho@
2010-10-29 09:04:38 +00:00
gsutre a9f3b6413d Simplify the sysctl variable for BIOS switch policy, and document it
in acpivga(4).  The previous hw.acpi.acpivga0.policy variable is
renamed into bios_policy for consistency, and is for ACPI_DEBUG only.

ok jruoho@
2010-10-28 21:45:02 +00:00
pooka ff08ca3b05 Zero entire stat structure before filling in contents to avoid
leaking kernel memory -- the elements are no longer packed now that
dev_t is 64bit.

from pgoyette
2010-10-28 20:32:45 +00:00
christos cefc0995de PR/44006: Ralph G: vi: CTRL-A does not handle end-of-word correctly
End-of-word was not included in search regexp leading to false positives.
http://patches.ubuntu.com/by-release/extracted/debian/n/nvi/1.81.6-7/15search_word.dpatch
2010-10-28 18:12:47 +00:00
jruoho b6050c6897 Be silent if we get a notification to tell us that we woke up the system. 2010-10-28 18:03:11 +00:00
jruoho 639d1b9782 Install EC space handler and pass everything to acpiec(4).
Should fix PR # 43659.
2010-10-28 15:55:04 +00:00
pooka f128c061ef Run different clients (different sockets) in different processes
inside the rump kernel.  Now different host processes can no longer
step on each other inside the rump kernel.
2010-10-28 14:37:29 +00:00
jruoho b39dfb61fd As the ACPI specification is already mentioned in acpi(4), remove the note
about STANDARDS. Instead mention a Microsoft document that is specifically
about acpivga(4). Also xref vga(4).
2010-10-28 14:36:04 +00:00
jruoho 7aeb582fb7 Correct section in xref. 2010-10-28 14:29:18 +00:00
seanb 49025bce19 Always use m_split() in m_copyback() instead of its
local, abridged, version.  This closes a window where
a new mbuf (n) can be inserted where n->m_next == n.
2010-10-28 14:21:50 +00:00
macallan 407cdd8a24 Use nap mode on 750-ish CPUs 2010-10-28 13:58:03 +00:00
pooka 2ca5613a5c Count proc0 as uid 0's process. Besides being the right thing to
do, this effectively allows changing the uid of proc0 without
running into KASSERT problems in uidinfo code (although I'm not
quite so sure changing proc0's uid is the right thing to do ...).

problem reported by njoly
2010-10-28 11:30:07 +00:00
jruoho 5bf78beea7 Bump to the right date. 2010-10-28 09:49:01 +00:00
jruoho dc49246760 Xref CTASSERT(9). 2010-10-28 09:48:11 +00:00
jruoho f97f79d20f Xref boothowto(8). 2010-10-28 09:44:58 +00:00
kiyohara a15ff5666c Build ramdisk and floppies dir. 2010-10-28 08:32:30 +00:00
kiyohara bcc52a5d12 Add kernel dir to SUBDIR. 2010-10-28 08:29:27 +00:00
jruoho fcd284181f Fix a comment typo. 2010-10-28 04:28:29 +00:00
jruoho a4915ab4db Only override data from XPSS if the conventional _PSS did not contain the
required information. Problem found and diagnosed by jakllsch@; on some AMD
systems vendors fill _PSS correctly, but do not duplicate the data in XPSS.
2010-10-28 04:27:40 +00:00
briggs 4be4af661b Bump SYMTAB_SPACE. 2010-10-28 03:30:22 +00:00
briggs eb2df61ec3 Bump SYMTAB_SPACE for a few configurations. 2010-10-28 02:10:27 +00:00
macallan 3f7245fde9 adapt to how backlight control is supposed to work - just flip the switch and
we don't need to save the brightness level
2010-10-28 02:06:02 +00:00
pooka 993e75b0b4 remove obsolete tests 2010-10-27 20:46:54 +00:00
pooka b1842c2201 Start rework of system call proxying over socket ("sysproxy").
This incarnation is written in the user namespace as opposed to
the previous one which was done in kernel namespace.  Also, rump
does all the handshaking now instead of excepting an application
to come up with the user namespace socket.

There's still a lot to do, including making code "a bit" more
robust, actually running different clients in a different process
inside the kernel and splitting the client side library from librump.
I'm committing this now so that I don't lose it, plus it generally
works as long as you don't use it in unexcepted ways: i've tested
ifconfig(8), route(8), envstat(8) and sysctl(8).
2010-10-27 20:44:49 +00:00
pooka 0f423ad930 "i build dead files". ok, so let's not. 2010-10-27 20:37:11 +00:00
pooka 297882358c regen:
- rump_sysproxy
+ rump_syscall
2010-10-27 20:35:47 +00:00
pooka b2380889f3 Retire the old sysproxy nonsense (as part of doing it slightly better).
Introduce rump_pub_syscall() as the generic interface for making
system calls with already marshalled arguments.  So it's kinda like
syscall(2), except it also remembered to breathe instead of having
to figure out how to deal with 64bit values.
2010-10-27 20:34:50 +00:00
wiz 51a05c8628 Fix a typo and remove trailing whitespace. 2010-10-27 19:18:00 +00:00
christos de19ef9132 markup improvements, document ctype_r, time_t is not a "long integer" 2010-10-27 19:16:04 +00:00