Commit Graph

215434 Commits

Author SHA1 Message Date
apb
25dbb40a11 fix incomplete comment 2013-01-01 12:45:06 +00:00
macallan
afedca5d8d add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.
2013-01-01 12:13:28 +00:00
apb
e8bcad5dbf units(1): add -l and -L options. [apb 20130101] 2013-01-01 11:53:28 +00:00
apb
c6933fca67 Add -l and -L options to units(1). "-l" simply lists all unit
definitions, while "-L" alsoreduces them to depend only on a few
primitive units (such as m, kg, sec).
2013-01-01 11:51:55 +00:00
apb
55f985ffa7 Correctly ignore duplicate definitions. "continue" applies only to the
innermost loop.
2013-01-01 11:44:00 +00:00
spz
bd7a4329bb Happy 2013 everybody 2013-01-01 00:01:23 +00:00
christos
191ca062bf add a sync to make it less likely to boot with /etc pointing to nothing after
a crash.
2012-12-31 23:21:27 +00:00
jmcneill
4ce8a86674 add TPS65950 RTC support 2012-12-31 21:45:36 +00:00
jmcneill
4a745538bc reset todr clock on shutdown 2012-12-31 21:34:31 +00:00
jmcneill
622947f93d add support for TPS65950 watchdog timer 2012-12-31 19:47:27 +00:00
christos
f5ae1cb28b avoid strict aliasing problems 2012-12-31 18:47:41 +00:00
dsl
ee8be9493a Move the two fields used to save some i387 state on the last fpu trap
into their own sub-structure of the pcb (from 'struct savefpu').
They only (seem) to be used in some code that generates core dumps
  for 32bit processes (code that might be broken as well!).
'struct safefpu' is now identical to 'struct fxsave64'. One (or both)
  needs extending to support AVX - might need to be dynamically sized.
Removed all the __aligned(16) except for the one in struct pcb itself.
  Only the copy used for the fsave instruction need be aligned.
2012-12-31 16:20:17 +00:00
christos
587f548f71 new awk, ping update 2012-12-31 16:05:39 +00:00
dsl
658a58d038 Add support for '%n' being a shorthand for 'fg %n'. 2012-12-31 14:10:15 +00:00
jmcneill
0319b9233f add tps65950 driver 2012-12-31 13:28:30 +00:00
jmcneill
72dd8faac9 TI TPS65950 driver, right now about all it can do is control LEDs 2012-12-31 13:26:42 +00:00
jmcneill
cd6325cba1 beagleboard supports 8-bit SD mode 2012-12-31 13:20:16 +00:00
jmcneill
b5247ae694 add I2C support 2012-12-31 12:47:25 +00:00
jmcneill
802b3063a6 Add OMAP3530 I2C support 2012-12-31 12:45:49 +00:00
macallan
e3f8408d19 fix some typos & comments 2012-12-31 11:11:17 +00:00
macallan
59a24ce3b4 R4xx support is untested at best, so don't pretend to support them. 2012-12-31 10:38:51 +00:00
macallan
48a7caff44 clean up some more confusion between (ws)displays and CRTCs.
Now palette initialization no longer stomps over the port table, which gives
us a fighting chance to intentionally enable the right outputs.
How on earth did this ever work?
2012-12-31 10:31:19 +00:00
skrll
ebfcd7f4ed At each function level print a useful offset (as also shown in rlv)
OK from gimpy
2012-12-31 08:57:27 +00:00
matt
44d1b59f26 Make this work on all ARMs but keep the armv6 optimizations. It as fast as
the existing strlen for small string and once strings are 8 bytes or more in
length it starts getting significantly faster.  For really long strings,
compared to the existing strlen, this uses about 1/2 of the cycles for the
non-armv6 version and about 1/3 of the cycles for the armv6 version.
2012-12-31 07:58:44 +00:00
matt
a3f59f9868 Always re-enable the VFP when loading for a kernel LWP. 2012-12-31 03:23:53 +00:00
matt
1e9ef444c0 Correct one of the kernel_size calculations. 2012-12-31 01:23:31 +00:00
matt
92d08eb574 Remove a debugging printf 2012-12-31 01:20:05 +00:00
matt
b17bcc6bf4 Switch to using vfp_kernel_{acquire,release} so that softints don't cause
the VFP to become disabled.
2012-12-31 01:19:36 +00:00
matt
08e4b731e6 print the PC of the VFP kernel fault in the panic message. 2012-12-31 00:01:48 +00:00
pooka
4a38ad2878 bump for arch linux/rpi support. 2012-12-30 23:52:48 +00:00
pooka
db5793172f Take into account armv6 hacks from common/lib/libc/arch/arm/atomic to
allow this to build with -march=armv6k
2012-12-30 23:52:12 +00:00
christos
17cb1d718c fix function name in error messages. 2012-12-30 22:52:35 +00:00
christos
082a5b2911 PR/46579: Takahiro HAYASHI: ifconfig clone destroy should not print useless
diagnostic and exit with an error code. Get the interface name and flags
opportunistically to allow the code to return normally if it does not need
to do anything.
2012-12-30 22:50:42 +00:00
dholland
2d1469952b typo in comment, from Abhinav Upadhyay in PR 47385 2012-12-30 21:23:20 +00:00
pooka
79f4679e52 size_t needs to printed with %zu 2012-12-30 20:52:20 +00:00
dsl
f5cd40cc56 No need to check both TARGET_64BIT and ix86_preferred_stack_boundary >= 64,
if the former is true the latter is also true.
2012-12-30 20:16:58 +00:00
dholland
cd3306d1ba Fix failure message for ecalloc. 2012-12-30 17:37:13 +00:00
dholland
1e653dd9c8 If malloc, calloc, or realloc returns NULL when a size of 0 was
requested, which is allowed by pertinent standards, honor it instead
of bombing.

Do not do this for calloc(x, y) where x != 0 && y != 0 but x*y == 0;
in that case bomb.
2012-12-30 17:36:00 +00:00
dsl
c18b7a38ac If -march=native is specified, only enable AVX if the processor supports
it and the OS has enabled XGETBV for application use.
It might need to also check XCR0[2] (having executed XGETBV) to check that
  the kernel actually supports saving the YMM registers, but I suspect the
  kernel might defer setting that until the first fault.
See vol 1 section 13.5 of the Intel SDM (intel_x86_325462.pdf).
Fixes toolchain/45673
2012-12-30 16:13:57 +00:00
skrll
725141c557 Remove a couple of items. 2012-12-30 14:56:53 +00:00
blymn
c58c21e5d2 Fix bug where menu mark was not displayed on menus with O_ONEVALUE set
Set a default menu mark
2012-12-30 12:27:09 +00:00
tron
16ff83dd36 FUSE seems to allow short writes without errors but PUFFS doesn't. Work
around this by returning ENOSPC in case of a short write to avoid protocol
errors. This change is based on problem analysis provided by Antti Kantee.

This fixes PR lib/45129 by myself.
2012-12-30 10:04:22 +00:00
macallan
8f9dc34369 Make R3xx actually work by wiring outputs, DACs and CRTCs sanely, add a bunch of R3xx-specific workarounds. Tested in xvr-100, iBook G4 and an RV350. 2012-12-30 09:45:05 +00:00
hannken
caf1788f80 Always call brelse() on error for breadn() too. 2012-12-30 09:19:24 +00:00
christos
ed79344487 deduct phdrlen after computing max size. 2012-12-30 03:19:24 +00:00
christos
0ec9e614e3 1. Allocate the max packet size before accounting for phdrlen, harmless.
2. In the clear-route-cache sendto, don't send 0 bytes (if -s was specified
   with < 8, phdrlen would be 0).
3. Always send ICMP_MINLEN packets; this is what everyone else does. Makes
   ping -s n where n < 8 work.
4. The condition for checking the data bytes was completely wrong. only check
   the data bytes if we got all of them.
5. The condition for printing a newline was wrong; before it would not print
   a newline before printing the data bytes, and it would append to the previous
   error message.
2012-12-30 02:41:11 +00:00
christos
0be3040a8f - use warn/err
- if both users are on the same machine, use the loopback address. This
  allows us to use talkd from inetd listening only to the loopback.
2012-12-29 23:44:22 +00:00
christos
7c8b13934d better messages, more quoting. 2012-12-29 22:15:07 +00:00
christos
8c34a4cc0e don't leak a vnode on error 2012-12-29 21:57:13 +00:00
christos
250d24d86f Always call brelse() on error. Otherwise a possible error from bread() will
cause the buffer to stay lock and we end up blocking forever in
VOP_CLOSE->spec_close->vinvalbuf->bbysy since the buffer is marked busy
but there is no I/O pending.
This caused my laptop to hang on boot_findwedge because:
    findroot: unable to read block 358331527 of dev dk0 (22)
2012-12-29 21:56:04 +00:00