The Elan SC520 MMCR is actually 16bit wide, so u_char is inconvenient.
This commit is contained in:
parent
b640002fa9
commit
ac1e30eaeb
@ -1343,7 +1343,7 @@ print_transmeta_info()
|
||||
#include <vm/vm.h>
|
||||
#include <vm/pmap.h>
|
||||
|
||||
u_char *elan_mmcr;
|
||||
uint16_t *elan_mmcr;
|
||||
|
||||
void
|
||||
init_AMD_Elan_sc520(void)
|
||||
|
@ -48,7 +48,7 @@ extern u_int cpu_id;
|
||||
extern u_int cpu_fxsr;
|
||||
extern char cpu_vendor[];
|
||||
extern u_int cyrix_did;
|
||||
extern u_char *elan_mmcr;
|
||||
extern uint16_t *elan_mmcr;
|
||||
extern char kstack[];
|
||||
#ifdef PC98
|
||||
extern int need_pre_dma_flush;
|
||||
|
@ -1343,7 +1343,7 @@ print_transmeta_info()
|
||||
#include <vm/vm.h>
|
||||
#include <vm/pmap.h>
|
||||
|
||||
u_char *elan_mmcr;
|
||||
uint16_t *elan_mmcr;
|
||||
|
||||
void
|
||||
init_AMD_Elan_sc520(void)
|
||||
|
@ -48,7 +48,7 @@ extern u_int cpu_id;
|
||||
extern u_int cpu_fxsr;
|
||||
extern char cpu_vendor[];
|
||||
extern u_int cyrix_did;
|
||||
extern u_char *elan_mmcr;
|
||||
extern uint16_t *elan_mmcr;
|
||||
extern char kstack[];
|
||||
#ifdef PC98
|
||||
extern int need_pre_dma_flush;
|
||||
|
Loading…
Reference in New Issue
Block a user