ia64/xen-unstable

view extras/mini-os/include/traps.h @ 5688:d231efdaa66d

manual merge
author iap10@freefall.cl.cam.ac.uk
date Wed Jul 06 18:55:16 2005 +0000 (2005-07-06)
parents 189c87adf876 43e8e30cbea7
children 32fb371cc283 707fcf42a5ae
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_ */