Commit Graph

216092 Commits

Author SHA1 Message Date
christos
dbf8567fb0 ut_line does not have /dev in front of it. Add it, from dholland@ 2013-01-17 18:54:28 +00:00
christos
772a10450c move dk_ioctl to a header file for the benefit of x-building. 2013-01-17 18:33:58 +00:00
christos
3dd38e1c8b Disable CTF Conversion for now until it is fixed.
- ERROR: ctrl_iface_ap.c: die 2767: failed to get unsigned: No entry found
  [dwarf _attrval_unsigned(219)]
2013-01-17 17:33:16 +00:00
jakllsch
ec5e5d471b An uninitialized next-free-cluster value in the file system information
block is valid; do not consider it for correction.
2013-01-17 16:45:48 +00:00
pooka
5c4b55ca89 If the host doesn't support RTLD_NEXT, don't play the dynamic linking game. 2013-01-17 16:29:44 +00:00
christos
e65f4bff6c add the set files themselves 2013-01-17 16:15:41 +00:00
christos
aa675a73cf Now that we have separate debug sets, add -g if ${MKDEBUG} is set for
program builds since we don't need to install that symbol files.
2013-01-17 15:42:59 +00:00
christos
af499c4810 Remove bogus conditionals that were also copied to other files presumably
because they did not work from here, and explain why.
2013-01-17 15:27:50 +00:00
matt
4ffdc4bda5 Add a separate bool to indicate a symbol table has been loaded.
ksym_initted indicates whether the kmutex has been initted or not.
Add __cacheline_aligned to the kmutex.
2013-01-17 14:36:36 +00:00
tsutsui
c9074a0efd Make loadfile() accept OMAGIC a.out binary.
LUNA's ROM monitor assumes it.
2013-01-17 14:20:06 +00:00
matt
46c82f8bb3 Make sure a USB small memory fragment is a multiple of the cache line size.
(since CACHE_LINE_SIZE defaults to 64, for most instances this won't result
in any code changing).
2013-01-17 06:24:44 +00:00
matt
1610ae547d Cortex needs ._dmamap_sync_post for BUS_DMASYNC_POSTREAD 2013-01-17 01:32:02 +00:00
macallan
e473c7377e don't draw blanks by hand, use the blitter instead 2013-01-17 01:10:52 +00:00
christos
b0de292a79 - Add support for xsets
- Factor out common evbarm code
2013-01-16 23:27:34 +00:00
jmcneill
3b76243a75 calc_timer_factors: use supplied ints_per_sec, not hz, when calculating
counter frequency.
2013-01-16 23:27:05 +00:00
matt
075e272fa0 On Cortex, speculative loads can cache lines to be populated after then they've
been invalidated for a DMA read.  So after the DMA read we have to reinvalidate
them again.  We have to both invalidates since the former prevents dirty lines
overwriting just DMAed data.
2013-01-16 22:32:45 +00:00
matt
9c4e9e6f72 Add some comments to illustrate what is actually happening. 2013-01-16 21:48:56 +00:00
christos
82e56e3752 - add xdebug set
- document debug better
- fix previous debug fallout.
2013-01-16 21:11:05 +00:00
pooka
a0e33ce1e2 Do the protocol consistency check hack only when compiling ELF. 2013-01-16 21:10:14 +00:00
macallan
1483daf6ab copy data in 32bit chunks whenever alignment permits
-> very noticeable speedup
2013-01-16 20:34:10 +00:00
macallan
72eb09896d fix some bit #define, now the name actually makes some sense 2013-01-16 20:32:24 +00:00
christos
ea85f34323 fix misplaced paren 2013-01-16 17:18:55 +00:00
christos
824c548c74 Add a new "debug" set that gets built when ${MKDEBUG} is set. On evbarm:
-rw-r--r--  1 root  src   35806068 Jan 16 10:47 base.tgz
-rw-r--r--  1 root  src   57374069 Jan 16 10:48 comp.tgz
-rw-r--r--  1 root  src  101286193 Jan 16 10:49 debug.tgz
...
This allows always building the debugging code and libraries but not
installing it (although now it is placed in the default sets if ${MKDEBUG}
is set
2013-01-16 16:01:05 +00:00
christos
ca6f14109b tidy up some more by factoring out the sizing code. 2013-01-16 15:58:19 +00:00
tsutsui
c59be8f8b3 Add UFS2 support. Also bump version. 2013-01-16 15:46:20 +00:00
christos
ed929c1db1 don't wait for completion if we were interrupted. 2013-01-16 15:36:49 +00:00
christos
39fb5ccbf5 From: Steffen "Daode" Nurpmeso:
Amend the previous commit to support zone-style RFC 822 dates.
RFC 5322 marks this zone-style as obsolete (obs-zone), but still supports it.
But then, even if you don't wanna support military style single-letter zones,
the UT zone exists and will not be supported by this commit.

The changes here are not strictly correct (since not all possible
single-letter zones are assigned, and only *UT* has two letters),
but which will match all thre possible *obs-zone* forms.
Compiled and tested on a single MBOX.
2013-01-16 15:21:42 +00:00
tsutsui
2379d33ecb Enable and add ls command for ufs. 2013-01-16 15:15:01 +00:00
kefren
5d14e92019 Make sure there is enough space for sockaddr subtypes
Use u_char for IP_MULTICAST_LOOP as specified in in.h
2013-01-16 08:28:44 +00:00
msaitoh
394ebb1bff Set resource limit. The rnd_process_events() function is called every tick
and process the sample queue. Without limitation, if a lot of rnd_add_*()
are called, all kernel memory may be eaten up.
2013-01-16 06:45:24 +00:00
wiz
2dda5775d9 Sort sections. 2013-01-16 06:44:27 +00:00
jmcneill
a04b60d0f0 MPU_* registers are not valid for OMAP3, so restrict access to them to
OMAP2 boards.
2013-01-16 03:30:48 +00:00
macallan
8760ecba75 implement right to left and bottom to top blits, now scrolling works right
in all directions.
while there, fix the xor mask for the cursor attribute - now it's actually
inverted
2013-01-16 00:09:27 +00:00
christos
2cd0e7e17d Don't do the xfer once, wait till it is done. I did not find this, someone
else did. Fixes slow devices such as scanners.
2013-01-15 23:57:13 +00:00
christos
b7825cc95f - simplify getinput.
- add adjust command.
2013-01-15 23:52:48 +00:00
christos
d035981822 add some things to add next time we modify the function 2013-01-15 22:42:14 +00:00
christos
14fb63db45 PR/47449: David Holland: Don't log to terminals with mesg n, unless it is a
wall message.
2013-01-15 22:37:04 +00:00
christos
095a11f03d Make autosizing really work:
- Use newfs to compute the actual filesystem required size.
    - Fix the computation of set sizes to account for blocks and fragments.
This results into a 95% full filesystem for my test (Total 566MB, 24MB free)
from which 8MB is my requested overhead. Not perfect, but good enough.
2013-01-15 21:04:41 +00:00
christos
7a6821a937 now that we compute sizes correctly, reduce the extra to how much free space
we want.
2013-01-15 20:55:00 +00:00
christos
e930df039f fix the fix of the fix of the format string. 2013-01-15 17:45:05 +00:00
christos
8fe0b6ad43 PR/47453: Martin Branderburg: Mail (mail, mailx) does not recognize messages
which have RFC 822 format dates.
XXX: Pullup 6
2013-01-15 17:25:42 +00:00
tsutsui
457b347382 Make the default disklabel (for disks without label) have saner value.
I.e. use d_secperunit for RAW_PART rather than 0x1fffffff for part a.
2013-01-15 17:23:39 +00:00
hannken
33458e7a0a netbsd32_posix_spawn_fa_alloc: use the right length for path allocation.
This error lead to memory pool corruption when freeing kmem with wrong size.
2013-01-15 17:14:11 +00:00
matt
97ca0f0675 Fix case when searching for NUL. 2013-01-15 16:52:35 +00:00
jmcneill
2326b56f19 add kernfs and procfs, support BEAGLEBOARD.local 2013-01-15 13:52:26 +00:00
kiyohara
5b3bbee673 cpu_switchto() returns argument oldlwp. Not &ci->ci_curlwp. 2013-01-15 13:43:27 +00:00
kiyohara
890122a30c Add macro _C_LABEL() for .S file. 2013-01-15 13:30:12 +00:00
mbalmer
07ef3c56e4 Fix a debug printf format. 2013-01-15 10:41:57 +00:00
martin
5cd4dadf69 Make this compile with TRAPDEBUG enabled.
Pointed out by Holm Tiffe.
2013-01-15 10:18:38 +00:00
matt
7b77c34d39 Add ARM optimized version of strrchr. 2013-01-15 08:52:27 +00:00