Commit Graph

194370 Commits

Author SHA1 Message Date
uebayasi
0db7ff2992 Don't build flash because it's not implemented. 2010-11-02 06:31:48 +00:00
uebayasi
0cc704327a Fix build of evbarm. 2010-11-02 06:07:05 +00:00
enami
b447d18264 - Simplify the code
- Reword the comment.
2010-11-02 03:44:05 +00:00
phx
4e6c889e19 Fixed overflow in cpu clock calculation and printing of the cpu revision. 2010-11-01 19:00:08 +00:00
pooka
dd96c7dab8 Make the shovel threads resilient to file server exit. 2010-11-01 16:27:07 +00:00
pooka
f8f090bd5e regen: whitespace blues 2010-11-01 16:22:37 +00:00
pooka
8553c5887b Align comment column in output, no functional change. 2010-11-01 16:21:29 +00:00
christos
29f0bfc6b2 From Anon Ymous:
Send the SIGALRM to the correct process when we timeout. See the note
in src/etc/rc regarding RC_PID.

The former code would leave you with a root shell when the prompt
timed out (if the tty is marked secure) while continuing the boot
process in another shell.  This was easily hidden if you started
xdm(1) at boot, while the root shell remains on another tty
(accessible with CTL-ALT-F1).
2010-11-01 14:42:08 +00:00
christos
a8684509ca add a cgd_stop function 2010-11-01 14:41:11 +00:00
pooka
110455ef9e Create the process we use later in the test. Otherwise cwd doesn't
go right and the test fails because of attempting to create files
in the wrong directory.
2010-11-01 14:04:02 +00:00
pooka
5629968a95 Missed a few symbols in previous ...
Also, reorganize rumpuser header inclusion to make sure problem is
caught already by the compiler.
2010-11-01 13:55:19 +00:00
pooka
8fc7f9077e Make librumpuser linkage once again free of librump.
problem pointed out by <he>
2010-11-01 13:49:10 +00:00
skrll
702f3de6e7 u_intNN_t -> uintNN_t
Same code before and after.
2010-11-01 06:41:50 +00:00
enami
ee9d44a7c1 Double the array only when really necessary. Otherwise memory will be
exhausted if user modifies the variable envrion itself repeatedly..
2010-11-01 02:41:27 +00:00
mrg
4de66268a7 add support for >2TB raid devices.
- add two new members to the component label:
     u_int numBlocksHi
     u_int partitionSizeHi
  and store the top 32 bits of the real number of blocks and
  partition size.  modify rf_print_component_label(),
  rf_does_it_fit(), rf_AutoConfigureDisks() and
  rf_ReconstructFailedDiskBasic().

- call disk_blocksize() after disk_attach() [ from mlelstv ]

- shift the block number relative to DEV_BSHIFT in raidstart()
  and InitBP() so that accesses work for non 512-byte devices.
  [ from mlelstv ]

- update rf_getdisksize() to use the new getdisksize() [ from
  mlelstv.  this part needs a separate change for netbsd-5. ]


reviewed by: oster, christos and darrenr
2010-11-01 02:35:24 +00:00
njoly
9a47829364 Add lua debug files. 2010-10-31 23:29:16 +00:00
pgoyette
4b71a48296 Fix format strings so it builds on amd64 2010-10-31 22:33:16 +00:00
pooka
bc79809067 Since rump implicit threads now bind to proc1 instead of proc0, we
need our shovel threads bound to proc1 instead of proc0 in order
to have access to the same set of descriptors as the implicit thread
which opens the fd in the rump kernel.

Also, sprinkle some printfs and make failure more dramatic.

fixes the puffs tests.  pointed out by pgoyette.
2010-10-31 22:05:35 +00:00
stacktic
fdd702c327 Typo in usage --export-keys -> --export-key 2010-10-31 20:05:04 +00:00
stacktic
df2d91557b PR/42435 : Check pointers against NULL to avoid dereferencing them 2010-10-31 19:45:53 +00:00
agc
22b68feadb Make bz2 {de,}compression dependent on the header file being available.
Fixes an error reported by Anthony Bentley when compiling on OpenBSD,
which apparently lacks bzlib.h (and bz2).

Tests run to completion successfully both with and without bz2 being
available.
2010-10-31 18:31:03 +00:00
snj
217b77c094 fix typo 2010-10-31 17:17:45 +00:00
njoly
cbfcc07308 +resize_ffs.debug 2010-10-31 16:31:31 +00:00
mbalmer
2d5f2730a5 Fix file lists for amd64 and sparc64 since on these arches 32bit versions of
the libraries are built as well.
2010-10-31 16:31:12 +00:00
skrll
0e5fcee3e5 RCSId police. 2010-10-31 15:47:53 +00:00
he
4613532253 There's apparently a circular dependency between -lrump and -lrumpuser.
This poses problems when linking statically, as for sun2.  Add -lrump
also after -lrumpuser, so that this links statically as well.
2010-10-31 13:54:31 +00:00
mbalmer
6e18c7b4a5 Note the Lua import. Thanks jmmv for the reminder 2010-10-31 12:09:10 +00:00
mbalmer
aa94cc597c Link Lua to the build and add the resulting files to the distribution sets.
Document the addition of Lua and the change we made to the default settings.
2010-10-31 11:52:50 +00:00
wiz
4958aa2ca5 Various improvements. 2010-10-31 11:39:46 +00:00
mbalmer
2c6be0820c descend into the lua subdirectory 2010-10-31 11:29:06 +00:00
mbalmer
97213731c9 Lua build infrastructure 2010-10-31 11:26:01 +00:00
mbalmer
ee59b191f4 adjust the Lua configuration to our needs 2010-10-31 11:19:42 +00:00
mbalmer
33fc08400c add teh script used to prepare the source code 2010-10-31 11:18:20 +00:00
mbalmer
dbec530483 Import the (unaltered) Lua 5.1.4 source distribution. 2010-10-31 11:16:48 +00:00
mbalmer
debeea5823 Accidentally these files were imported one level to high, sorry about that. 2010-10-31 11:14:02 +00:00
mbalmer
56288e6a3c Import the (unaltered) Lua 5.1.4 distribution. 2010-10-31 11:08:37 +00:00
nisimura
1206eed28e Update copyright notice. This code was completely replaced with
Frank Wille's effort and has no substance made by me anymore.
2010-10-31 11:08:06 +00:00
yamt
d76c56428e fall back to malloc+pread when stat+malloc doesn't seem to work.
it allows libelf work on /dev/ksyms.

XXX the name of the flag is a bit confusing and i think it's better to rename
MALLOCED to DATA_MALLOCED or such.  but i don't think it's worth increasing
the diff against the upstream for it.
2010-10-31 05:03:12 +00:00
yamt
8b0659e731 keep interrupts disabled in NMI handler.
the patch provided by IRINO yoshiaki in PR/43007.
2010-10-31 04:51:19 +00:00
haad
1e89108160 Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.
2010-10-30 21:16:07 +00:00
christos
7261fd134f make usage dead. 2010-10-30 20:12:32 +00:00
uebayasi
72dde1abe5 Use VM_PAGE_TO_MD() to locate struct vm_page_md. No functional
changes.
2010-10-30 18:30:55 +00:00
uebayasi
359f436b59 Use VM_PAGE_TO_MD() to locate struct vm_page_md. No functional
changes.
2010-10-30 18:08:48 +00:00
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