Commit Graph

238714 Commits

Author SHA1 Message Date
christos
5851f02af6 Delete extra declaration of svc_fdset... And some commented out code.
This badly needs some modernization.
2015-11-08 01:59:31 +00:00
christos
3e50f3c769 LIBEXECINFO 2015-11-07 23:53:28 +00:00
joerg
0bc53a588b LIBEXECINFO 2015-11-07 23:41:58 +00:00
christos
245e5bc63c initialize revents too. 2015-11-07 23:17:09 +00:00
christos
70a08afc24 Mention TI-RPC changes. 2015-11-07 23:16:00 +00:00
christos
58d11ee7bb provide a poll(2) based interface. 2015-11-07 23:10:37 +00:00
christos
df8f5914dc PR/50408: Pedro Giffuni: Provide a way for rpc to use poll(2) instead of
select(2), and the linux svc_pollfd and svc_maxpollfd members. Our select(2)
implementation does not suffer from the FD_SETSIZE limitation so this is
not turned on by default.
2015-11-07 23:09:20 +00:00
martin
607d1d4aed Convert siginfo to 32bit version before copying it out to 32bit userland. 2015-11-07 21:07:18 +00:00
szptvlfn
93ba639ed2 change MKDEPFLAGS from
-msse2 -mssse3 -mssse3 -fvisibility=hidden
to
  -msse2 -msse3 -mssse3 -fvisibility=hidden

OK dholland@ at tech-x11@
2015-11-07 20:45:03 +00:00
christos
7c3ee3b303 spell reserved. 2015-11-07 20:24:00 +00:00
wiz
fdf5365713 less-481 is out. 2015-11-07 20:17:49 +00:00
wiz
dec41c2e36 Use Dv for NULL. 2015-11-07 18:47:26 +00:00
wiz
c9e587d5a6 Sort SEE ALSO. 2015-11-07 18:46:37 +00:00
joerg
a08385b414 Explain what "-V none" does. 2015-11-07 18:26:55 +00:00
nros
f30e83597e Fix typo in erfl synopsis. 2015-11-07 18:17:51 +00:00
joerg
3f2a71f305 paths.h is not used. 2015-11-07 18:11:21 +00:00
nros
2e84975f5e Fix code style errors pointed out by christos during the review of the
aligned_alloc test that also applies to the posix_memalign test.
Fix code style errors that I forgot to fix in the aligned_alloc test.
2015-11-07 17:35:31 +00:00
christos
f0421a30ec check for errors and recover instead of core-dumping. 2015-11-07 17:34:33 +00:00
christos
670a38d899 Put back NULL tests for allocation failures. 2015-11-07 16:58:24 +00:00
christos
05e58339da Apply the GNU-stack fixes to the old branch. 2015-11-07 16:53:59 +00:00
christos
bb5915f98c Fix inconsistencies with GNU-stack note:
- always use __ELF__ && __linux, not just __ELF__ or just __linux__
- remember to pop back to the previous section where it is missing
XXX: need to file this bug with the GNU folks.
2015-11-07 16:53:07 +00:00
nros
b16a5c9dec Add the C11 function aligned_alloc to libc. 2015-11-07 16:21:42 +00:00
phx
e99c9b55dd Improved wscons support. Virtual screens are now working. 2015-11-07 14:29:10 +00:00
christos
addac9ec10 don't compile with SVC_LEGACY 2015-11-07 14:21:32 +00:00
joerg
df21656eae Remove duplicate entry. 2015-11-07 13:28:05 +00:00
martin
d8e5477643 Fix kmem_free() size mismatch 2015-11-07 11:47:09 +00:00
christos
68e3906c09 simplify more. 2015-11-07 03:06:32 +00:00
christos
841c77b99c Introduce a binary compatible __fd_set_256 that is what the original fdset
size was for libc. Now we can bump it.
2015-11-07 00:42:04 +00:00
joerg
f80193c0ce Install stdalign.h and stdnoreturn.h for clang as well. 2015-11-07 00:12:57 +00:00
christos
01b6ad43e7 Cleanup and simplify.
undef svc_fdset and svc_maxfd to get to the real data for the compat code.
2015-11-06 23:11:09 +00:00
joerg
76218c7768 Don't use macros as types or variable names. 2015-11-06 23:05:09 +00:00
christos
05ff38fa20 initialize npcb; founds by brainy 2015-11-06 21:33:07 +00:00
szptvlfn
ba86449ebf remove redundant \ 2015-11-06 21:32:22 +00:00
christos
099f03595b PR/50411: Rin Okuyama: fix two bugs:
- clear blocks in the 0 row, otherwise the pile up forever.
- black (white) blocks are not shown as "next shape":
2015-11-06 19:53:37 +00:00
christos
cdf9ad9883 Switch to the size-unlimited fd_set. Some code will need to change to be
able to use this if the code allocates its own fd_set's.
2015-11-06 19:42:57 +00:00
christos
fa13c0f43d - provide accessor functions for the fdset's used internally.
- add getreqset2 method that takes a setsize.
2015-11-06 19:35:40 +00:00
christos
2f904d5a7a - Provide multi-threaded fdset's for everyone not just rump if requested.
- Abstract fd_set access, and don't limit the fd_set size.
- Maintain binary compatibility by keeping the old global variables around.
2015-11-06 19:34:13 +00:00
christos
46615f7efe - Use -1 for the fake raw fd since we will be able to go beyond FD_SETSIZE.
- Poster boy for why it is bad to initialize in declarations :-)
2015-11-06 19:32:08 +00:00
christos
608ac2df87 Generalize the length macro, and also provide a macro that returns the size
in bytes needed for a given fd.
2015-11-06 15:41:25 +00:00
martin
28e1335091 Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
Remove special case handling for userland lwps from cpu_lwp_fork,
	instead do it in lwp_trampoline when we first return to userland.

which was a stupid idea - since we did now set all fork child's %tstate
(and thus %pstate when back in userland) to the current kernel's userland
default. This meant we lost the address mask bit for 32bit processes and
all memory model details for 64bit ones.

Move it back to cpu_lwp_fork and fix the condition to only do it once when
forking init.
2015-11-06 15:30:59 +00:00
christos
b2d56358fc make this compile for tests. 2015-11-06 15:30:47 +00:00
martin
79ee181a4a Add a few assertions to verify non-privileged processor state for userland
and 32bit address mapping for 32bit processes.
2015-11-06 15:25:42 +00:00
christos
6e1ae27534 Add a test for the raw transports which are currently busted. 2015-11-06 15:23:23 +00:00
nonaka
1d319b6d93 Always use pci_intr_alloc(9)/pci_intr_release(9). 2015-11-06 14:22:17 +00:00
kiyohara
a1a73c5e5c Add mvsocts. 2015-11-06 14:16:11 +00:00
kiyohara
7be4e0d889 Add mvsocts to mvsoc_periph for Armada XP. 2015-11-06 12:54:52 +00:00
kiyohara
539f878cb2 Support Armada XP. 2015-11-06 12:50:30 +00:00
jnemeth
3980f190ce typo 2015-11-06 12:49:06 +00:00
nonaka
11ffb1c15b regen 2015-11-06 12:05:49 +00:00
nonaka
c80f6a3eb9 Add some ATI/AMD devices. 2015-11-06 12:05:18 +00:00