Samsung SPC7700P-LW: reset SMBASE on soft reset via the keyboard controller, fixes segmentation fault on soft reset after FDISK.
This commit is contained in:
@@ -821,7 +821,7 @@ write_p2(atkbc_t *dev, uint8_t val)
|
|||||||
softresetx86(); /* Pulse reset! */
|
softresetx86(); /* Pulse reset! */
|
||||||
cpu_set_edx();
|
cpu_set_edx();
|
||||||
flushmmucache();
|
flushmmucache();
|
||||||
if (kbc_ven == KBC_VEN_ALI)
|
if ((kbc_ven == KBC_VEN_ALI) || !strcmp(machine_get_internal_name(), "spc7700plw"))
|
||||||
smbase = 0x00030000;
|
smbase = 0x00030000;
|
||||||
|
|
||||||
/* Yes, this is a hack, but until someone gets ahold of the real PCD-2L
|
/* Yes, this is a hack, but until someone gets ahold of the real PCD-2L
|
||||||
|
|||||||
Reference in New Issue
Block a user