Commit Graph

194477 Commits

Author SHA1 Message Date
pooka 7d421d6903 Don't sleep forever if hz < 25.
from Alessandro Forin
2010-11-02 15:09:52 +00:00
njoly 46b3723883 Do substitute __TESTSDIR__ when generating atf(7) man page. 2010-11-02 14:41:32 +00:00
macallan e8b84b908e when drawing characters by software make sure the engine is idle before
accessing video memory
2010-11-02 14:32:58 +00:00
uebayasi c44ce909bc Oops, fix build !DIAGNOSTICS again. 2010-11-02 13:09:29 +00:00
uebayasi a712f1e99e Fix DIAGNOSTIC build. Pointed out by Juergen Hannken-Illjes. 2010-11-02 12:21:07 +00:00
njoly e65e925989 Fix typo in date. 2010-11-02 12:10:13 +00:00
uebayasi 5b6f4fcf70 Fix build of XScale. 2010-11-02 06:33:22 +00:00
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