xen: fix mtrr dummy functions

This commit is contained in:
cinap_lenrek 2014-12-14 21:58:02 +01:00
parent 035aacf6f5
commit 1d674abe9c
2 changed files with 4 additions and 2 deletions

View file

@ -97,7 +97,8 @@ void i8259on(void) {}
void i8259off(void) {}
int i8259vecno(int) { return 0; }
int mtrrprint(char*, long) { return 0; }
int mtrr(uvlong, uvlong, char *) { return 0; }
char* mtrr(uvlong, uvlong, char *) { return nil; }
void mtrrsync(void) {}
/*
* XXX until fpsave is debugged

View file

@ -78,8 +78,9 @@ ulong mmukmap(ulong, ulong, int);
int mmukmapsync(ulong);
#define mmunewpage(x)
ulong* mmuwalk(ulong*, ulong, int, int);
int mtrr(uvlong, uvlong, char *);
char* mtrr(uvlong, uvlong, char *);
int mtrrprint(char *, long);
void mtrrsync(void);
void outb(int, int);
void outsb(int, void*, int);
void outs(int, ushort);