Commit Graph

212898 Commits

Author SHA1 Message Date
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
martin
324d0ec850 Do not disturb the atf output with debugging echos 2012-08-16 08:39:43 +00:00
matt
1db7cc0142 Add L2_S_SEGSIZE which is the number of bytes that a L2 page table will map. 2012-08-16 07:26:23 +00:00
matt
ce2664ec55 Tweak max addresses a bit so that [r1, #off] can't overflow them. 2012-08-16 07:25:37 +00:00
matt
58fdbdbd66 Already uses _C someplace, use _CSUM instead 2012-08-16 07:24:25 +00:00
matt
30a859f903 Add ARM cpus to those MACHINE_ARCH which USE_COMPILERCRTSTUFF=no 2012-08-16 05:30:55 +00:00
matt
98f742e168 Add debug version of librumpnet_npf.so.0 2012-08-16 04:52:55 +00:00
matt
2f1e74f8c5 Add a pthread__smt_wake and add support for it on arm along with
pthread__smt_pause.  These are implemented using the ARM instructions
SEV (wake) and WFE (pause).  These are treated as NOPs on ARM CPUs that
don't support them.
2012-08-16 04:49:47 +00:00
zafer
d4798304b1 Pretty print multipath routes. From FreeBSD.
ok christos@
2012-08-16 00:40:28 +00:00
pgoyette
36a61444ae Part 2 of librumpnet_npf 2012-08-15 22:14:47 +00:00
alnsn
196af63e15 Test contiguous buffer as well. 2012-08-15 21:36:00 +00:00
alnsn
1969739699 MINDEX() macro has 'return 0;' statement. It doesn't set *err to
1 before return when invoked from m_xword() and m_xhalf() functions.
The caller doesn't set it to 1 either. So, set *err to 1 before
invoking MINDEX().
2012-08-15 21:31:39 +00:00