diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-02-27 05:27:06 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-02-27 05:36:01 +0100 |
commit | a9ad81b8d42190ff10aa0ce72bdf31bb313408b1 (patch) | |
tree | 8d37af1017a899c0f5a896b6061633bf72772bf9 /i386/xen/xen_boothdr.S | |
parent | f24bb83fc70d1d7f370f956b4209463d817b8f75 (diff) |
Add x86 debug register Xen support
* i386/xen/xen_boothdr.S: Add global visibility to __hyp_* symbols.
* i386/i386/locore.S [MACH_XEN] (dr6,dr0,dr1,dr2,dr3): Make get_debugreg and
set_debugreg hypercalls to manipulate debug registers.
(dr0,dr1,dr2,dr3): Fix dr7 field shift.
* i386/i386/xen.h (hyp_set_debugreg, hyp_get_debugreg): New prototypes.
Diffstat (limited to 'i386/xen/xen_boothdr.S')
-rw-r--r-- | i386/xen/xen_boothdr.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i386/xen/xen_boothdr.S b/i386/xen/xen_boothdr.S index 6d595ab..1b32efb 100644 --- a/i386/xen/xen_boothdr.S +++ b/i386/xen/xen_boothdr.S @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Samuel Thibault <samuel.thibault@ens-lyon.org> + * Copyright (C) 2006, 2009, 2010, 2011 Samuel Thibault <samuel.thibault@ens-lyon.org> * * This program is free software ; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -124,6 +124,7 @@ hyp_shared_info: /* Labels just for debuggers */ #define hypcall(name, n) \ .org hypcalls + n*32 ; \ +.globl __hyp_##name ; \ __hyp_##name: hypcalls: |