aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/symbols.h
diff options
context:
space:
mode:
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>2007-01-03 23:53:27 +0000
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>2007-01-03 23:53:27 +0000
commit72c07f413879d47a5bd472ff8971a0c5bb4b205d (patch)
treefba8b087a5acbe6b68cc29c0163c291a437943c4 /xen/include/xen/symbols.h
parent0550678b74b1afac96ff8e823bf50b436f66dc57 (diff)
downloadxen-72c07f413879d47a5bd472ff8971a0c5bb4b205d.tar.gz
xen-72c07f413879d47a5bd472ff8971a0c5bb4b205d.tar.bz2
xen-72c07f413879d47a5bd472ff8971a0c5bb4b205d.zip
[XEN] Make labels _start,_end,_stext,_etext,_sinittext,_einittext generic.
Also sync the tools/symbol.c symbol table generator with Linux. Make section names generic (e.e.g, .init.text, .init.data, ...). Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/symbols.h')
-rw-r--r--xen/include/xen/symbols.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/xen/include/xen/symbols.h b/xen/include/xen/symbols.h
index a30b82c002..082d707469 100644
--- a/xen/include/xen/symbols.h
+++ b/xen/include/xen/symbols.h
@@ -6,9 +6,6 @@
#define KSYM_NAME_LEN 127
-extern int is_kernel_text(unsigned long addr);
-extern unsigned long kernel_text_end(void);
-
/* Lookup an address. */
const char *symbols_lookup(unsigned long addr,
unsigned long *symbolsize,
@@ -16,7 +13,7 @@ const char *symbols_lookup(unsigned long addr,
char *namebuf);
/* Replace "%s" in format with address, if found */
-extern void __print_symbol(const char *fmt, unsigned long address);
+void __print_symbol(const char *fmt, unsigned long address);
/* This macro allows us to keep printk typechecking */
static void __check_printsym_format(const char *fmt, ...)