Commit Graph

212909 Commits

Author SHA1 Message Date
dsl
d390b20f1e Use an inline function to check for initialisation, and an non-inlined
one to do the actual initialise.
Fixes lib/46751 by removing all the replicated tests in each function.
2012-08-18 14:42:46 +00:00
chs
215c8cfa7e avoid leaking a uvm_object reference when merging a new map entry
with the entries on both sides.  fixes PR 46807.
2012-08-18 14:28:04 +00:00
wiz
c0de8acd59 gdb-7.5 out. 2012-08-18 10:27:58 +00:00
mrg
ff92b94bd8 add ipty to the list of MAKEDEVTARGETS. should fix PR#46812.
certainly makes the qemu/sparc install work for me with netbsd-6.

XXX: pullup.
2012-08-18 09:33:25 +00:00
christos
8547430828 PR/46811: Tetsua Isaki: Don't handle cpu limits when runtime is negative. 2012-08-18 08:54:06 +00:00
abs
6b4ba5789b Seems like all the trendy ramdisks are using "makedev ipty" rather than
"makedev pty0" now. Update vax to match so install media doesn't fail
with
.../MAKEDEV: pty0: creating BSD style tty nodes with ptyfs is a security issue
2012-08-18 00:50:37 +00:00
kardel
6d4483818f re-enable broadcast client config after interface re-scanning
make broadcast transmission work again
2012-08-17 22:37:26 +00:00
abs
3267a6b9fe Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
  and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

Some of the INSTALL configs for larger memory machines are probably suitable
for adding WSDISPLAY_COMPAT_USL.

Now wsconscfg(8) should be able to switch VTs when expected.

Implemented after no objection from tech-kern to the following:

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
2012-08-17 20:11:37 +00:00
riz
07035b8620 Add a description of the 'modules' set for all arches which have
MODULAR somewhere in the configs.
2012-08-17 20:10:53 +00:00
riz
412ac9c56b More MI release notes updates, particularly around installing.
This could use more love!
2012-08-17 19:55:14 +00:00
abs
715998cc28 Ensure all WSDISPLAY_COMPAT_USL entries have same comment 2012-08-17 19:43:24 +00:00
riz
ece38d66a1 Bring MI release notes somewhat more up-to-date. 2012-08-17 18:20:19 +00:00
riz
a727e4697d Install live images and install images into ${RELEASEDIR}/images by
default, to keep all the large files (such as ISOs) together.
2012-08-17 16:59:26 +00:00
riz
81f27d3683 Install fully-populated .iso images in ${RELEASEDIR}/images instead
of ${RELEASEDIR}/iso, since we'll be putting non-iso images in there too.
2012-08-17 16:57:59 +00:00
riz
b053ad40a5 Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.

XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.

As discussed on current-users@ back in March, with some adjustments.
2012-08-17 16:56:34 +00:00
joerg
933525b99b Implement build_install in src/lib/Makefile, which traverses the
subdirectories and invokes dependall/install. Do this in groups
delimited by .WAIT to ensure that depending libraries can use the
installed versions and don't need to know the locations in the source
tree.

Use this new target in src/Makefile to replace most of the adhoc library
logic with two special cases, src/lib and src/compat. Adjust
sys/Makefile to include the module directory when building them. Add
some necessary .WAITs in src/lib/Makefile to reflect the dependencies
from src/Makefile and also add the rump libraries here.
2012-08-17 16:22:27 +00:00
christos
0cd88accfc Better (not racy fix) from Paul Goyette. 2012-08-17 16:21:19 +00:00
christos
33b27c368d Use the queue of the tty not garbage from the stack (Paul Goyette) 2012-08-17 16:14:31 +00:00
skrll
22e68bd7da Fix thinko in previous. 2012-08-17 09:44:30 +00:00
skrll
2c14b44803 Backout previous - it breaks rpi console for me and jak. 2012-08-17 09:38:51 +00:00
jakllsch
0492a14bc7 What was MEMSIZE is now determined automatically. Remove MEMSIZE. 2012-08-16 23:45:58 +00:00
jakllsch
92b457d020 Get accessible memory quantity and kernel command line via Linux ARM 'A'-tag
interface used by Raspberry Pi's start.elf.
2012-08-16 23:40:19 +00:00
jakllsch
71caec6412 Replace use of MEMSIZE with functionally equivilant,
yet perhaps no-more-proper, physmem*PAGE_SIZE.
2012-08-16 23:22:44 +00:00
jakllsch
7e274feec7 Do not depend on MEMSIZE being defined, instead always place temporary
MMU tables just below 128MiB.
2012-08-16 21:46:18 +00:00
alnsn
d52ebd2ff5 Close pipes on exit. 2012-08-16 20:16:06 +00:00
jnemeth
c6e45a5dd0 Bump up to WARNS=5. No new warnings/errors were found. 2012-08-16 19:47:48 +00:00
alnsn
16465504ed Wait for a child to initialise its network stack before sending a ping.
Decrease BIOCSRTIMEOUT to 500ms.
2012-08-16 19:42:23 +00:00
pgoyette
752bbb2f77 Use correct routine name - kcpuset_sysinit() vs kcpuset_init() 2012-08-16 19:40:48 +00:00
pgoyette
535975bb02 We also need kcpuset_init() now. 2012-08-16 19:09:01 +00:00
macallan
5bd724ecd0 fix a bunch of typos, thinkos and cargocultos 2012-08-16 18:37:14 +00:00
matt
da6eff86a5 Remove *_STACK_SIZE and cpu_reset_address definitons. 2012-08-16 18:26:22 +00:00
matt
83d36728df Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.
2012-08-16 18:22:37 +00:00
matt
440251beeb Add include of <arm/pcb.h> 2012-08-16 18:16:25 +00:00
matt
9fab1b3d7c Add include of <machine/pcb.h> 2012-08-16 18:15:10 +00:00
pgoyette
7ca1e3c015 It helps to include the declaration of the routine being called. 2012-08-16 17:47:47 +00:00
matt
445ebaad48 small rototill.
pcb_flags is dead.  PCB_NOALIGNFLT is now in stored l_md.md_flags as
MDLWP_NOALIGNFLT.  This avoids a few loads of the PCB in exception handling.
pcb_tf has been moved to l_md.md_tf.  Again this avoids a lot of pcb
references just to access or set this.  It also means that pcb doesn't
need to accessed by MI code.
Move pcb_onfault to after the pcb union.
Add pcb_sp macro to make code prettier.
Add lwp_settrapframe(l, tf) to set the l_md.md_tf field.
Use lwp_trapframe to access it (was process_frame but that name was changed
in a previous commit).
Kill off curpcb in acorn26.
Kill the checks for curlwp being NULL.
Move TRAP_USERMODE from arm32/fault.c to frame.h and a __PROG26 version.
Replace tests for usermode with that macro.
2012-08-16 17:35:01 +00:00
pgoyette
006de804d5 Call pserialize_init() during rump start-up, since librump/net/npf
uses it.
2012-08-16 17:25:36 +00:00
matt
326a908f58 Add dkwedge support 2012-08-16 17:25:28 +00:00
matt
af978c355a Use tf instead of frame as trapframe pointer. 2012-08-16 17:04:21 +00:00
matt
85e052c5bf Actually use the assembly version of the atomic function if compiling
for armv6 or armv7 cpus.  Use atomic_cas_ptr instead of _lock_cas so
we pick up the assembly version when it's used.
2012-08-16 16:49:10 +00:00
matt
f622e63a0c Rename process_frame to lwp_trapframe 2012-08-16 16:41:53 +00:00
matt
2329aa3e3e CURPCB is dead 2012-08-16 16:23:48 +00:00
matt
19733c48aa Add ${_MKTARGET_LINK} 2012-08-16 16:23:32 +00:00
wiz
fcb39fb954 Various improvements:
- remove redundant mentioning of option names within their description;
- improve (and make consistent) punctuation;
- add missing empty line;
- remove superfluous white space;
- extend `-iname' primary description (copying text from `-name');
- general wording improvements;
- improve macro usage;
- remove double spaces from examples (it's readable well without);
- reference re_format(7) in `SEE ALSO' (as it's mentioned in the
  text several times);
- bump date.

From Bug Hunting.
2012-08-16 13:34:10 +00:00
abs
7e916bb8a9 Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
  which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
2012-08-16 13:31:24 +00:00
pgoyette
1cf0fdecbd Fix more fallout from the changes to nfsd's command-line options 2012-08-16 12:57:24 +00:00
wiz
9cdff3cdd6 Bump date for previous. 2012-08-16 11:28:48 +00:00
wiz
0e61416223 Whitespace fixes. Bump date for previous. 2012-08-16 11:28:38 +00:00
martin
6d924f6074 Slightly reaarange, so that the 32bit version actually gets compiled
and linked with -m32.
2012-08-16 10:14:03 +00:00
manu
d256e38414 Fix regression that has been introduced when the lookup/reclaim race
condition was addressed in libpuffs by counting lookups.

The fix assumes that cookies map to struct puffs_cookie, which has not
been documented as a requirement for filesystems using libpuffs. As an
example, we got burnt by this assumption in libp2k (kern/46734), and
we fixed bit by actually mapping libp2k cookies to struct puffs_node.

It is unlikely, but there may be third party filesystems that use cookies
unmapped to struct puffs_node, and they were left broken for now.

- we introduce a puffs_init() flag PUFFS_FLAG_PNCOOKIE that let filesystems
inform libpuffs that they map cookies to struct puffs_node. Is that flag
is used, the lookup/reclaim race condition fix is enabled. We enable the
flag for libp2k.

- filesystems that use puffs_pn_new() obviouslty use struct puffs_node
and gain PUFFS_FLAG_PNCOOKIE automatically even if they did not specify
it in puffs_init(). This include all our PUFFS filesystem in-tree except
libp2k.

- for filesystems not willing to use struct puffs_node, we introduce a
reclaim2 vnop, which is reclaim with an additionnal lookup count argument.
This vnop let the filesystem implement the lookup/reclaim race fix on
its own.
2012-08-16 09:25:43 +00:00