oki
32a22fa000
make compile without VMSWAP. no functional change.
2011-08-23 03:00:35 +00:00
jmcneill
dc155b3bd5
pmap_enter: fix pmap_do_enter parameters
2011-08-23 00:52:33 +00:00
enami
75f2eef8f6
Fix the name of syscall which takes timespec as argument.
2011-08-22 22:14:46 +00:00
enami
39dd5517da
Remove return statement which can't be reached.
2011-08-22 22:12:34 +00:00
enami
9d6dd8515a
When both nanoseconds fields of futimens/utimensat call are set
...
to UTIMES_NOW, act as if NULL is passed to second argument, i.e.,
do same permission check and set exactly same value to both access
and modification time.
2011-08-22 22:09:07 +00:00
reinoud
9e34284f74
Dirty patch fixing the assert triggered on i386. On this arch the sbrk(0) HAS
...
been moved upward and will trigger the assert. When this situation is
encountered the kmem_data_end will be moved upward equaly.
2011-08-22 21:59:09 +00:00
jmcneill
19f8eb48c8
build fixes for netbsd-5 and i386
2011-08-22 21:45:38 +00:00
jym
cec3d05bda
Arch-specific rc.conf files are not really autonomous rc.conf
...
files, they are appended to the end of etc/defaults/rc.conf.
So rename them to rc.conf.append for clarity, as suggested by mrg@. Adapt
Makefile accordingly.
2011-08-22 20:48:38 +00:00
jym
f56903492e
Modify etc/defaults/Makefile so that architectures can specify an additional
...
rc.conf file. This one should reside under etc/etc.${MACHINE}/, and will
get automatically appended to etc/defaults/rc.conf at build time if present.
This is used by i386 and amd64 to append a small MD rc.conf(5) configuration
at the end of the defaults/rc.conf file, so that powerd(8) can be started
by default when we are running in a Xen environment. This is needed to support
save/restore functions for domains.
From all the alternatives proposed to fix that issue (from /etc/rc.conf
parsing in postinstall to etc/defaults/rc.conf arch-hooks) I believe
this one will appease everyone because it:
- does not touch etc/defaults/rc.conf template file,
- patches it at build time for MD hooks only when required,
- does not need to parse/modify a user-specified file like /etc/rc.conf (which
is a complex, error-prone operation),
- only enables powerd(8) by default when conditions are met (Xen environment)
while still allowing root to shoot himself in the foot if he wants to
override this manually in /etc/rc.conf.
See also http://mail-index.netbsd.org/tech-userlevel/2011/07/25/msg005246.html
2011-08-22 18:54:05 +00:00
reinoud
778142a2ba
Implement pmap_extract() and print pmap_zero_page() pa address.
2011-08-22 16:22:16 +00:00
reinoud
3b8975f0ed
Start NetBSD/usermode's pmap. Its using a temp file as a physical memory
...
backup and that should be documented in the code. A physical address is thus a
file offset(!) and a virtual address is a `normal' accesible address.
Still to do: various misc functions and pmap_extract() in special.
Credits also go to Ben Harris for his work on the Acorn26 pmap that followed
the Daemon Book recommendation for systems without real page tables on wich
this implementation is modelled after.
2011-08-22 15:36:23 +00:00
reinoud
a436c9264e
Add thunk_munmap() to NetBSD/usermode's thunk
2011-08-22 15:30:16 +00:00
reinoud
fca46a08f4
Change standard settings in sys/arch/usermode/conf/GENERIC so to get a better
...
debugging environment.
2011-08-22 15:28:34 +00:00
reinoud
e778fd293b
Don't override -O options... we might want to build with another -O setting in
...
the config file.
2011-08-22 15:27:32 +00:00
reinoud
0fe675bc9f
Bump NKMEMPAGES from 512 to 2048 for NetBSD/usermode. This will be sufficient
...
for a 128 MB amd64 machine. Might better be parameterized one day.
2011-08-22 15:26:55 +00:00
mrg
f63becec07
disable mmx/sse here too. hopefully fixes amd64 /boot issues.
...
certainly changes the output in ways that gcc 4.1 doesn't.
2011-08-22 09:43:08 +00:00
he
d6e8830ca4
Hm, upstream maintainer says loop needs to start from 0, make it so.
2011-08-22 09:19:51 +00:00
wiz
a223481bf4
file-5.08 out.
2011-08-22 08:33:24 +00:00
he
8d79df0020
Replace needless use of double math just to compare colour distances
...
with integer arithmetic. Reported to and discussed with upstream maintainer.
2011-08-22 06:52:35 +00:00
dholland
ce24bfd93f
Until someone figures out a fix for PR 40599, document that MKKERBEROS=no
...
will break the system without either MKPAM=no or a customized PAM config.
As suggested by Ian D. Leroux on current-users and in PR 45263, but with
different text.
2011-08-22 02:37:15 +00:00
dholland
75fea7f548
Add patch from Klaus Klein in PR 45258 to note that popcount32/64
...
require <stdint.h>.
2011-08-22 01:36:04 +00:00
dholland
112cae6f8e
Don't pollute the namespace with stdint.h. (This file is included from
...
string.h so it can't blithely do whatever it feels like.) PR 45258.
2011-08-22 01:24:15 +00:00
dholland
ef311a878c
Requires stdint.h.
2011-08-22 00:33:16 +00:00
dholland
84c562e368
Previous here required stdint.h.
2011-08-22 00:24:42 +00:00
dholland
879c64122d
Requires stdint.h.
2011-08-21 23:38:43 +00:00
dholland
0a54ac30f5
Requires stdint.h.
2011-08-21 21:24:34 +00:00
reinoud
b557c38359
Fix thunk_mkstemp() prototype and add thunk_mprotect()
2011-08-21 17:11:59 +00:00
phx
1cc96bc3f9
The ofppc generic kernel has tmpfs, so use it.
2011-08-21 15:21:46 +00:00
reinoud
35cec24640
Add mmap() reachover call in thunk for NetBSD/usermode
2011-08-21 15:10:57 +00:00
reinoud
65cb12b136
Move NKMEMPAGES from GENERIC to std.usermode and clarify the meaning of
...
MEMSIZE in the GENERIC kernel.
2011-08-21 15:08:43 +00:00
phx
4875a7e930
Use PRIi64 for printing tmp_ramdisk_size, which is a daddr_t (64 bits).
...
This fixes the size of the ramdisk file system being 0 on big endian
systems.
2011-08-21 15:06:41 +00:00
reinoud
3ae0c11417
Link the usermode kernel staticly to avoid libc littering the virtual space.
2011-08-21 15:06:27 +00:00
plunky
adb6560b11
fix comment typo
2011-08-21 14:20:34 +00:00
phx
fd263523fc
Unmounting /targetroot in md_post_newfs() is not needed.
...
Use target_prefix() instead of /mnt2 in md_post_extract().
2011-08-21 13:40:08 +00:00
wiz
7b18fe3c86
New sentence, new line.
2011-08-21 13:27:45 +00:00
phx
bdcee66bdc
Fixed booting from disks without a valid disklabel (e.g. CDROM). This
...
became broken with my last changes in rev.1.18..
2011-08-21 13:12:48 +00:00
phx
6c0f30bcde
When there is no NetBSD MBR partition with a valid disklabel, look for
...
the first FAT partition and construct a disklabel with an MSDOS filesystem
in partition 'a'.
2011-08-21 13:08:57 +00:00
plunky
70f971ae4d
SEE ALSO resolvconf(8)
2011-08-21 11:04:21 +00:00
hannken
0456a9b514
Fix typo.
2011-08-21 10:45:33 +00:00
phx
7084cee0f3
Turn off ttyE1-ttyE3 to avoid "Device not configured" messages after a
...
fresh installation with wscons disabled.
2011-08-21 10:41:51 +00:00
jym
e298d4d6a8
Merge err printf with the panic(9) message.
...
Also fix the if () {...} statement with braces, to avoid calling panic()
every time. Hi cherry!
2011-08-21 10:00:13 +00:00
christos
2ead252a82
use const char [] for format.
2011-08-21 09:03:20 +00:00
christos
93bbed154f
use const char [] for format
2011-08-21 08:59:50 +00:00
christos
a040843f47
use const char [] for format.
2011-08-21 08:50:08 +00:00
christos
065954bf9d
use static const char[] for format.
2011-08-21 08:45:20 +00:00
christos
8151f99568
use const char [] for format.
2011-08-21 08:40:31 +00:00
christos
7b373c7105
handle the first loop where time == 0.
2011-08-21 06:39:09 +00:00
plunky
342305c4af
sort, and move some things up the list after heimdal was moved
...
to its own directory. removes one dependency barrier.
2011-08-20 22:23:47 +00:00
plunky
89e4ea6a69
only build libgmp, libmpfr and libmpc when (MKGCC != no) and
...
they can be together since only the .a is built, with no
other dependencies
2011-08-20 22:16:56 +00:00
wiz
5cbea9c38a
Fix variable name in SYNOPSIS to match DESCRIPTION.
...
From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
2011-08-20 21:35:32 +00:00