diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-02-14 16:23:43 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-02-14 16:23:43 +0100 |
commit | 193af2f5c726788dd836c42561550029eadd7ce6 (patch) | |
tree | 5af8d09c5aff63c7e0205755acab8ee26c616274 /xen/include/xen/lib.h | |
parent | 45fb1a8c3fcff16ba782347c450b748e35b4829b (diff) | |
download | xen-193af2f5c726788dd836c42561550029eadd7ce6.tar.gz xen-193af2f5c726788dd836c42561550029eadd7ce6.tar.bz2 xen-193af2f5c726788dd836c42561550029eadd7ce6.zip |
Upgrade arch/x86/cpu/* files to their equivalents in
linux-2.6.16-rc2/arch/i386/kernel/cpu/*.
Also include kernel taint tracking and include that
information, and Xen release info, in our crash dumps.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/lib.h')
-rw-r--r-- | xen/include/xen/lib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xen/include/xen/lib.h b/xen/include/xen/lib.h index 01440e1533..facfa2b093 100644 --- a/xen/include/xen/lib.h +++ b/xen/include/xen/lib.h @@ -75,4 +75,12 @@ unsigned long long simple_strtoull( unsigned long long parse_size_and_unit(char *s); +#define TAINT_UNSAFE_SMP (1<<0) +#define TAINT_MACHINE_CHECK (1<<1) +#define TAINT_BAD_PAGE (1<<2) +extern int tainted; +#define TAINT_STRING_MAX_LEN 20 +extern char *print_tainted(char *str); +extern void add_taint(unsigned); + #endif /* __LIB_H__ */ |