kexec-tools: Generic range code (first shot) The following patches contain some generic range code that I've been working on lately. The goal is to add this generic range handling code and convert each architecture to use the new code one by one. This change should make it possible for the programmer to zoom out a bit and focus on the functionality instead of fighting with the annoying details of C data structures.
This version simply adds the generic range code and hooks it in to the i386 crash code. It does not actually do anything useful, but I thought it was a good idea to get the code "out" so you can have a look at it and comment. I'll be away for christmas and over new year so don't expect any quick response. But I'd be happy to hear any kind of feedback. =) Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- kexec/Makefile | 1 kexec/arch/i386/crashdump-x86.c | 20 +++ kexec/kexec-iomem.c | 57 ++++++++ kexec/kexec.h | 8 + kexec/range.c | 248 +++++++++++++++++++++++++++++++++++++++ kexec/range.h | 32 +++++ 6 files changed, 364 insertions(+), 2 deletions(-) _______________________________________________ fastboot mailing list fastboot@lists.osdl.org https://lists.osdl.org/mailman/listinfo/fastboot