The Ftape Installation and Usage Guide - v1.2.13
You have already changed to the directory `/usr/src/linux/
' which
contains the kernel sources. You only need to do the following:
./include/asm-i386/io.h
' with the one that comes
with ftape-4.04:
mv ./include/asm-i386/io.h ./include/asm-i386/io.h.old cp /usr/src/ftape-4.04/patches/v1.2/io.h ./include/asm-i386/
./include/linux/wrapper.h
':
cp /usr/src/ftape-4.04/patches/v1.2/wrapper.h ./include/linux/
./kernel/ksyms.c
' using you favourite text editor.
You need to add some function and variable declarations and add some
kernel symbols to the export list. You need to add the following
declarations:
extern unsigned long __get_dma_pages(int priority, unsigned long order); extern mem_map_t *mem_map; extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot);
Please place those lines somewhere at the beginning of the file, where
you find other lines starting with the keyword extern
.
The symbols to add to the export list are:
X(__get_dma_pages), X(intr_count),
Please insert the above lines right after the line containing
the text X(register_symtab),
.
You may also want to examine the patch files
/usr/src/ftape-4.04/patches/v1.2/linux-1.2.13.dif /usr/src/ftape-4.04/patches/v1.2/linux-1.2.13.dif.2
to get an idea how the changed `./kernel/ksyms.c
' should look like.
Please don't forget the `,
' and `;
' characters at the end of
the lines as indicated in the instructions above.
![]() |
Use these buttons to jump to the top menu |