Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libarch / x86_64 / x86_64_mtrr.c
blob01260bb0912c05b0c1083dd1d8aeec8e9ebd6560
1 /* $NetBSD: x86_64_mtrr.c,v 1.1 2001/09/10 10:20:32 fvdl Exp $ */
3 #include <sys/cdefs.h>
4 #include <sys/types.h>
6 #include <machine/sysarch.h>
8 int
9 x86_64_get_mtrr(struct mtrr *mtrrp, int *n)
11 struct x86_64_get_mtrr_args a;
13 a.mtrrp = mtrrp;
14 a.n = n;
15 return sysarch(X86_64_GET_MTRR, (void *)&a);
18 int
19 x86_64_set_mtrr(struct mtrr *mtrrp, int *n)
21 struct x86_64_set_mtrr_args a;
23 a.mtrrp = mtrrp;
24 a.n = n;
25 return sysarch(X86_64_SET_MTRR, (void *)&a);