Commit Graph

213492 Commits

Author SHA1 Message Date
rjs
5abdc4ce9a Allow build with MKRUMP=no. 2012-09-12 19:20:37 +00:00
matt
56a54cbe85 Fix bas code, use ldr 2012-09-12 18:23:33 +00:00
martin
9cf2fc91c7 Fix printf format 2012-09-12 16:26:02 +00:00
matt
11561450f1 N32 uses dadd instructions to manipulate stack (actually, all ABIs except
O32 use dadd).
2012-09-12 15:09:49 +00:00
matt
426a76190c Only copy the ucontext_t in pthread_setcontext if _UC_TLSBASE is set.
Conditionalize the test on _UC_TLSBASE being defined.
2012-09-12 14:55:48 +00:00
manu
eed5245297 Fix the build, _UC_UNIQUE has been renamed _UC_TLSBASE 2012-09-12 14:13:43 +00:00
martin
18e375f3bb Set list changes for npftest binary and npf tests 2012-09-12 14:07:51 +00:00
martin
e8e9f65b79 New test directory for npf 2012-09-12 14:07:10 +00:00
martin
001611b06f ATF wrapping of the npf tests 2012-09-12 14:06:31 +00:00
martin
18d0240310 Install the npftest binary 2012-09-12 14:06:02 +00:00
pooka
1220d53611 attempt to inform user of what the error means 2012-09-12 12:38:16 +00:00
macallan
12a603e5e8 support anti-aliased fonts in 8 bit
while there, fix pm2fb_bitblt() packed mode, for real this time
TODO:
- use packed mode when uploading glyphs
- let the hardware do the alpha blending if possible
- mode setting
2012-09-12 12:07:04 +00:00
martin
550571fe00 When emulating poll/select better tell the events of the host kernel
apart from those received from the rump kernel. Also handle timeout.
Patch from pooka.
2012-09-12 10:35:10 +00:00
martin
a76a87c096 Add two new command line options to help integration into ATF:
-L lists the available test cases, -T executes a single named test.
2012-09-12 08:47:14 +00:00
manu
bba80928a8 setcontext() used to be incompatible with -lpthread since it affected
the TLS pointer, therefore wrecking the pthread environement.

Some ports had _UC_TLSBASE flag or equivalent (_UC_UNIQUE on alpha)
that controlled whether setcontext() would change the TLS pointer.
This change let libpthread override setcontext() with its own version
that unsets _UC_TLSBASE, enabling safe usage of setcontext() with
-lpthread.

We also have the following required changes here:
- rename alpha's _UC_UNIQUE into _UC_TLSBASE
- add _UC_TLSBASE definition in header file for all ports
  (powerpc, sh3, sparc and sparc64 lack the implementation for now)
- introduce a libc stub that can be overriden for setcontext()
- modify MD libcs swapcontext() implementations so that they use the
  setcontext() libc stub instead of doing a plain system call.

While we are there:
- document various MD _UC_* flags in header file
- add libc and libpthread tests for swapcontext() behavior
  (hopefully helpful to spot MD problems introduced with this change)

Future work:
- Deciding whether kernel support or _UC_TLSBASE should be added for
  powerpc, sh3, sparc and sparc64 is left to portmasters
  sparc64

Approved by core@
2012-09-12 02:00:51 +00:00
msaitoh
9a4c8f31d9 -O1, enable PUFFS, KTRACE, fss and putter. 2012-09-12 00:50:30 +00:00
pgoyette
34e5f77540 Initialize the sysctl(9) stuff before configuring the spd(4) devices.
Otherwise, the devices do not create their own sysctl nodes!
2012-09-12 00:36:41 +00:00
matt
b9b9bd8933 Add 64bit atomic ops for ARMv6+ (using ldrexd/strexd). 2012-09-11 20:51:25 +00:00
christos
d3a9c484a4 PR/46945: Steffen Nurpmeso; el_getc() doesn't document it's setting errno 2012-09-11 20:29:58 +00:00
msaitoh
f727394bbf Add PUFFS, putter and fss. 2012-09-11 19:43:09 +00:00
matt
19d88b184d Rework dmasync routines so that secondary caches can be flushed as well
as the primary caches.
2012-09-11 17:54:12 +00:00
matt
653e56c733 Add secondary cache range ops 2012-09-11 17:51:38 +00:00
matt
ea45c8ec93 Compute cache line size before doing the loop.
Map translation table for MP with outer-cache=NONE
2012-09-11 15:59:19 +00:00
matt
03bbd14bc7 Add more c7 register inlines. Add some more CT4 defintions 2012-09-11 15:31:54 +00:00
matt
0fbf7b8e1d Fix the CACHE_MASKs for armv6 to include TEX and S bits.
Fix a comment in pte.h
2012-09-11 15:28:14 +00:00
christos
27afcf74cb return !OKCMD on error. 2012-09-11 12:31:08 +00:00
christos
82f197ec94 PR/46942: Steffen Nurpmeso: editline(3): el_get(): fix UNBUFFERED return 2012-09-11 11:58:53 +00:00
christos
2e9d696349 PR/46941: Steffen Nurpmeso: document EL_BUFFERED 2012-09-11 11:57:18 +00:00
matt
17674df3f2 Add support for _UC_TLSBASE. Make sure to preserve backwards compat for
programs built before TLS support was added.
2012-09-11 00:15:19 +00:00
rmind
bea61aedea npf_icmp_uniqid: inspect the correct npc_info for IPv4/v6. 2012-09-10 21:42:53 +00:00
christos
85bde018fb PR/46935: Steffen Nurpmeso: editline(3) (libedit): faulty errno handling,
faulty reuse of val in wrong context
2012-09-10 20:53:18 +00:00
manu
dbb40afdd6 Fix unmount returnign EBUSY if an attribute was autocreated: we hold
a useless reference that we never gave back
2012-09-10 14:00:15 +00:00
manu
3cd0e66ce4 Turn a fatal error into a warning. 2012-09-10 13:56:18 +00:00
msaitoh
d74909fbf4 Add "static". 2012-09-10 13:36:40 +00:00
adam
af67173111 Fix building with MKCOMPAT=no 2012-09-10 11:29:06 +00:00
msaitoh
584ab5f5fd Fix a bug that the irq_masks of GPIO are incorrectly set on Marvell SoCs. 2012-09-10 08:50:37 +00:00
manu
73a4ed62d1 Stop extended attributes at the appropriate place so that unmount
does not fail with EBUSY on filesystem with extended attributes ensabled.
2012-09-10 07:57:50 +00:00
martin
02cf1397ba Make this file idempotent 2012-09-10 07:47:07 +00:00
msaitoh
5699fb2d89 Accept "-s 0" 2012-09-10 04:32:24 +00:00
gsutre
b942a7ea7e In uhub_childdet, do not free the array of sub-devices if there is none.
This prevents a kernel panic at shutdown on my laptop.
2012-09-09 20:23:38 +00:00
christos
b8d8a7470d default to not checking host and mail names per rfc-2181 2012-09-09 18:09:24 +00:00
christos
2a7b0a49fb add a check-names option, now that the default is no-check-names 2012-09-09 18:04:26 +00:00
christos
9d1644e9da make the default to not check names. 2012-09-09 18:03:17 +00:00
wiz
23f6e3c1fb Bump date for previous. 2012-09-09 17:11:49 +00:00
wiz
ec3037b42e Whitespace and formatting cleanups. 2012-09-09 17:11:23 +00:00
dholland
31ea0cb5b3 ptyfs hasn't been experimental in a long time. (noticed by blymn) 2012-09-09 17:09:51 +00:00
christos
98fae1dfe3 implement no-check-names 2012-09-09 16:42:23 +00:00
christos
1212faa109 document missing resolv.conf options 2012-09-09 16:38:52 +00:00
christos
5bbd2a1250 from ftp.isc.org 2012-09-09 16:07:20 +00:00
mhitch
247f088744 Remove an erroneous change that crept in. It was part of an earlier,
incorrect fix I had done for writing > 64K bytes.  It was still in the
set of changes mlelstv had committed.  I noticed it at the time, but did
not think it was problematic - until now.  This fixes the ccb corruption
I was seeing and fixes PR kern/46896.
2012-09-09 06:06:29 +00:00