Adjustment for VSU hardware behavior on erroneous address writes
This commit is contained in:
@@ -549,14 +549,6 @@ static void vsuReset(VB *sim) {
|
|||||||
/* Write a typed value to the VSU bus */
|
/* Write a typed value to the VSU bus */
|
||||||
static void vsuWrite(VB*sim,uint32_t address,int type,int32_t value,int debug){
|
static void vsuWrite(VB*sim,uint32_t address,int type,int32_t value,int debug){
|
||||||
|
|
||||||
/* Only byte writes are allowed */
|
|
||||||
switch (type) {
|
|
||||||
case VB_S16:
|
|
||||||
case VB_U16:
|
|
||||||
case VB_S32:
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Unmapped */
|
/* Unmapped */
|
||||||
if (address & 1)
|
if (address & 1)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user