- 01 Dec, 2013 4 commits
-
-
Peter Hutterer authored
This code provides some macros to check arguments for valid value ranges. Consider this a mild version of assert(3), because all it does is to log a message and continue. These macros don't replace error handling, but they are useful in situations where an error is unexpected but not common, i.e. this shouldn't happen but if it does let me know". Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Rusty Russell authored
And add test for that which also tests duplex case. 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 reverts commit 490b6385. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Conflicts: ccan/io/io.c
-
- 28 Nov, 2013 2 commits
-
-
Ahmed Samy authored
This function writes CPU information to a file. Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 14 Nov, 2013 3 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
Turns out to be useful for complex cases. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Especially where we have just done a read and spin off a duplex to do a read as well. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
- 13 Nov, 2013 1 commit
-
-
Ahmed Samy authored
eax/ebx/ecx/edx are 32-bit registers, and we need 8 bits from most significand bits so there is no need to mask out 0xFF. Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 12 Nov, 2013 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
Otherwise, it's a PITA to close a duplexed connection. If necessary we can introduce a half-close to de-deplex later. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
- 11 Nov, 2013 2 commits
-
-
Ahmed Samy authored
Also take out additional feature information from processor information and feature bits since they can be tested using cpuid_test_feature() and cpuid_has_feature() Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 09 Nov, 2013 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
- 08 Nov, 2013 1 commit
-
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 07 Nov, 2013 4 commits
-
-
Ahmed Samy authored
For now, we will just test for normal features, later on it'll be added back. Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 29 Oct, 2013 2 commits
-
-
Rusty Russell authored
Both run-set_alloc and run-15-timeout used the same port, so they sometimes got stuck when running in parallel. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Apparently init --user adopts orphans. To quote the author Stewart Smith: As much as one can be happy in Ubuntu breaking something that has been true for what must be approaching 40 years, yep, I'm happy for you to make the changes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
- 28 Oct, 2013 2 commits
-
-
Rusty Russell authored
Trivial, but they make coding easier and more predictable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
-
- 25 Oct, 2013 1 commit
-
-
Ahmed Samy authored
MSVC only supports inline assembly and does not support the keyword volatile for assembly. Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 23 Oct, 2013 1 commit
-
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
- 21 Oct, 2013 4 commits
-
-
Ahmed Samy authored
This is a much more cleaner way to do it and _should_ be easier for people to use. Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Ahmed Samy authored
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
-
Rusty Russell authored
Useful for getsockname(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
- 16 Oct, 2013 1 commit
-
-
Rusty Russell authored
I really wanted an array of bytes in there, so make it more flexible. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
- 14 Oct, 2013 8 commits
-
-
Ahmed Samy authored
-
Rusty Russell authored
-
Rusty Russell authored
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Not a perfect solution (we'd ideally want to go to another plan immediately, but that would involve a malloc). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Don't call through io_loop, but have it pass the connection back and call manually. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Rusty Russell authored
Don't call from the plan-construction function, call after it returns. 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>
-