1 /* $NetBSD: x86_64_mtrr.c,v 1.1 2001/09/10 10:20:32 fvdl Exp $ */
6 #include <machine/sysarch.h>
9 x86_64_get_mtrr(struct mtrr
*mtrrp
, int *n
)
11 struct x86_64_get_mtrr_args a
;
15 return sysarch(X86_64_GET_MTRR
, (void *)&a
);
19 x86_64_set_mtrr(struct mtrr
*mtrrp
, int *n
)
21 struct x86_64_set_mtrr_args a
;
25 return sysarch(X86_64_SET_MTRR
, (void *)&a
);