ia64/xen-unstable

view extras/mini-os/include/traps.h @ 6106:a64ac7fafbf0

PAE page directories must be below 4GB. Based on a patch
from Gerd Knorr.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Aug 11 10:34:32 2005 +0000 (2005-08-11)
parents a83ac0806d6b
children df1348e72390 cdfa7dd00c44 b2f4823b6ff0
line source
1 /*
2 ****************************************************************************
3 * (C) 2005 - Grzegorz Milos - Intel Reseach Cambridge
4 ****************************************************************************
5 *
6 * File: traps.h
7 * Author: Grzegorz Milos (gm281@cam.ac.uk)
8 *
9 * Date: Jun 2005
10 *
11 * Environment: Xen Minimal OS
12 * Description: Deals with traps
13 *
14 ****************************************************************************
15 */
17 #ifndef _TRAPS_H_
18 #define _TRAPS_H_
20 struct pt_regs {
21 long ebx;
22 long ecx;
23 long edx;
24 long esi;
25 long edi;
26 long ebp;
27 long eax;
28 int xds;
29 int xes;
30 long orig_eax;
31 long eip;
32 int xcs;
33 long eflags;
34 long esp;
35 int xss;
36 };
39 void dump_regs(struct pt_regs *regs);
41 #endif /* _TRAPS_H_ */