6 #include <machine/sysarch.h>
9 i386_get_mtrr(struct mtrr
*mtrrp
, int *n
)
11 struct i386_get_mtrr_args a
;
15 return sysarch(I386_GET_MTRR
, (void *)&a
);
19 i386_set_mtrr(struct mtrr
*mtrrp
, int *n
)
21 struct i386_set_mtrr_args a
;
25 return sysarch(I386_SET_MTRR
, (void *)&a
);