idt, get_vm_area, ...: export these symbols?

Pete Wyckoff (pw@dancer.ca.sandia.gov)
Tue, 28 Jul 1998 14:57:02 -0700


I'm trying to muck around with the page tables to map user memory into
kernel vm area, and to install a couple new traps for use in an OS bypass
ethernet device driver interface. This requires access to some symbols
which don't seem to be exported to modules, namely:

idt (arch/i386/kernel/head.S)
get_vm_area (mm/vmalloc.c)
get_pte_kernel_slow (arch/i386/mm/init.c)
vm_area_cachep (mm/mmap.c)
init_task_union, init_mm (arch/i386/kernel/init_task.c)

My questions are: Should I just be adding symbols as I find I need them to
kernel/ksyms.c or arch/i386/kernel/i386_ksyms.c (as appropriate)? Or
should I not even be trying to do this stuff in module-land? Why aren't
these things exported already?

v2.1.111, i386, no major patches. Thanks,

-- Pete

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html