From: Itsuro O. <od...@us...> - 2006-02-14 05:50:37
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/include/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17390/include/linux Modified Files: mkexec.h Log Message: the v3.0 initial Index: mkexec.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/3.0/2.6/include/linux/mkexec.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mkexec.h 14 Feb 2006 05:30:26 -0000 1.1 --- mkexec.h 14 Feb 2006 05:50:28 -0000 1.2 *************** *** 48,53 **** }; ! #define MINIK_V1 0 ! #define MINIK_V2 1 #define MKEXEC_CONTROL_PAGES_MAX 32 --- 48,54 ---- }; ! #define MINIK_V1 0 /* ture_phys version */ ! #define MINIK_V2 1 /* reltab version */ ! #define MINIK_V3 2 /* swap version */ #define MKEXEC_CONTROL_PAGES_MAX 32 *************** *** 56,59 **** --- 57,61 ---- unsigned long start; unsigned long reboot_code_addr; + struct page *reboot_code_pages; unsigned long nr_segments; /* ODA: remove --> enum */ struct mkexec_segment segment[MKEXEC_SEGMENT_MAX]; *************** *** 66,69 **** --- 68,73 ---- struct page *control_page[MKEXEC_CONTROL_PAGES_MAX]; struct page *dump_header_pages; + unsigned long swap_page_addr; + struct page *swap_page; }; *************** *** 88,94 **** char ddev[MKEXEC_MOD_MAXDEVLEN]; char memstr[MKEXEC_MOD_MAXDEVLEN]; int mem; atomic_t sem; ! int writ_cnt; } mkexec_mod_t; --- 92,99 ---- char ddev[MKEXEC_MOD_MAXDEVLEN]; char memstr[MKEXEC_MOD_MAXDEVLEN]; + char initrd[MKEXEC_MOD_MAXLEN]; int mem; atomic_t sem; ! int swap_image; } mkexec_mod_t; |