- 14 Oct, 2013 16 commits
-
-
Rusty Russell authored
Rather than going via a callback, which tends to just set up I/O, do any setup before the call to io_new_conn(), then pass it the io_plan directly. The patch shows how much this simplifies our test code. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Instead of assuming they want a connection made from the new fd, hand the fd to a callback. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
No longer needed. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
This simplifies some things: in particular, we can construct an io_plan without needing the current io_conn. On the other hand, we need to expose the structure now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
We only use it in one place: for wakeup. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Ready for exposure. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Explicit callbacks are slower, but more flexible. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Sure, both listener and conn need them, but for different things (listener uses them simply to set up conn). Putting them in the common union was a mistake. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Weaning off enum io_state, to allow custom ones. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
This is a better description, since it's I/O we plan to do next. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Upgrade license, since timer is LGPL. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
It's probably a bug if we're waiting for nothing. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Cleaner model for I/O, with cost of complexity if you really want bidir. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
More stress test than benchmarks, but provides a beginning. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Designed for async I/O. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
- 27 Sep, 2013 2 commits
-
-
Rusty Russell authored
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
-
- 26 Sep, 2013 2 commits
-
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 25 Sep, 2013 2 commits
-
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
Remove the assembly file that checks if the CPUID instruction is supported and have it in inline assembly as suggested by Rusty. Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 24 Sep, 2013 1 commit
-
-
David Gibson authored
If the list of addrinfos give to net_bind() contains only IPv4 or only IPv6 addresses, then the ipv4 and ipv6 variables may be used uninitialized. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-
- 23 Sep, 2013 2 commits
-
-
Ahmed Samy authored
Suggested-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
Also merge extended features and non-extended in 1 function. Suggested-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 22 Sep, 2013 1 commit
-
-
Ahmed Samy authored
The new functions are: - get_cpu_type - get_cpu_type_string Also add more tests on how one would parse the low-level stuff. Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 21 Sep, 2013 2 commits
-
-
Ahmed Samy authored
Forgot to add this to the main commit, sorry. Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
This module parses data provided by the cpuid instruction. It still needs more work, however, it works for most important stuff. Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 13 Sep, 2013 3 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
-
- 12 Sep, 2013 1 commit
-
-
Emilio G. Cota authored
Suggested-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Emilio G. Cota <cota@braap.org>
-
- 10 Sep, 2013 1 commit
-
-
Emilio G. Cota authored
Signed-off-by: Emilio G. Cota <cota@braap.org>
-
- 09 Sep, 2013 2 commits
-
-
Rusty Russell authored
The extra spaces make my web formatter think they're literal text, which looks weird. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
I noted to Timothy in 2011: I finally got around to implementing license checking in ccanlint, and it shows that your public domain ccan/isaac module uses your LGPL ccan/ilog module, which partially defeats the point. You and I are the only ones who did anything significant to ilog; I'm happy to relicense to PD or whatever else you want. Or leave it, in which case I'll need to document it clearly. He finally got back to me, and I sent him this patch, to which he replied: Ack. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
- 08 Sep, 2013 4 commits
-
-
Rusty Russell authored
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
If you're doing endian work, sparse's bitwise annotation is extremely useful. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
- 05 Sep, 2013 1 commit
-
-
David Gibson authored
For use as direct locals, or when the size is a constant, inside structure definitions. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-