diff options
author | Erwan Velu <erwanaliasr1@gmail.com> | 2011-03-15 21:51:46 +0100 |
---|---|---|
committer | Erwan Velu <erwanaliasr1@gmail.com> | 2011-03-15 21:58:47 +0100 |
commit | 997985d79e5813e8a33e82fb0cc0c0f08cf2c55d (patch) | |
tree | 075ba6a5c1abceb938626430743e6de6e2cbc4fe /com32/sysdump/memmap.c | |
parent | 3905382158cc8c5c40f71e1b33f1802341838bca (diff) | |
download | syslinux-997985d79e5813e8a33e82fb0cc0c0f08cf2c55d.tar.gz syslinux-997985d79e5813e8a33e82fb0cc0c0f08cf2c55d.tar.xz syslinux-997985d79e5813e8a33e82fb0cc0c0f08cf2c55d.zip |
libupload: New library to manage uploads
This commit creates a library to upload content via 3 backends
(srec/ymodem/tftp).
Code came from sysdump and got librarized for being used more easily
by more other com32 modules.
Diffstat (limited to 'com32/sysdump/memmap.c')
-rw-r--r-- | com32/sysdump/memmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/sysdump/memmap.c b/com32/sysdump/memmap.c index 251107d5..7a21a312 100644 --- a/com32/sysdump/memmap.c +++ b/com32/sysdump/memmap.c @@ -7,7 +7,7 @@ #include <stdlib.h> #include <com32.h> #include "sysdump.h" -#include "backend.h" +#include "../libupload/upload_backend.h" #define E820_CHUNK 128 struct e820_info { @@ -16,7 +16,7 @@ struct e820_info { uint8_t data[24]; }; -static void dump_e820(struct backend *be) +static void dump_e820(struct upload_backend *be) { com32sys_t ireg, oreg; struct e820_info *curr; @@ -63,7 +63,7 @@ static void dump_e820(struct backend *be) lfree(curr); } -void dump_memory_map(struct backend *be) +void dump_memory_map(struct upload_backend *be) { com32sys_t ireg, oreg; |