diff options
Diffstat (limited to 'sys/arch/i386/include/cpufunc.h')
-rw-r--r-- | sys/arch/i386/include/cpufunc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/include/cpufunc.h b/sys/arch/i386/include/cpufunc.h index 7813ce64ad6..cd66ef4dde4 100644 --- a/sys/arch/i386/include/cpufunc.h +++ b/sys/arch/i386/include/cpufunc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpufunc.h,v 1.14 2007/11/28 17:05:09 tedu Exp $ */ +/* $OpenBSD: cpufunc.h,v 1.15 2009/08/13 13:24:48 kettenis Exp $ */ /* $NetBSD: cpufunc.h,v 1.8 1994/10/27 04:15:59 cgd Exp $ */ /* @@ -269,6 +269,9 @@ breakpoint(void) __asm __volatile("int $3"); } +#define read_psl() read_eflags() +#define write_psl(x) write_eflags(x) + void amd64_errata(struct cpu_info *); #endif /* _KERNEL */ |