Re: [hatari-devel] Cycle exact setting affects nf_scsidrv |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Cycle exact setting affects nf_scsidrv
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Thu, 11 Oct 2018 20:26:52 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1539282413; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=SL5rqd2Zwl6RcuzsCIN1/AnEJIwaYYjcZjBv44G2nPQ=; b=RzdmGFJALhQ5zRDypt/5zQ1GlUhT7lpyYYq/ZAaO+x1cPpo4KZdbV+aG6Hj6CtXmJj osWvqjP5deCNXCKNZlUsPgeO4YpkYvjfberSrNhsHyUANd4XSDTLIWeV5aFW2RiO029Z mszIepHhWl5CDOEtjEByLzQGzBt9ioi++38/i69BTwZWfer2zyoXJ6nssXv2RKZmSzfP +7sTF297BqYqM/+JMg0gSrrt9+l3aPf0w7qZdKblee4ANL8QmJHmUfGDOfQVajqMtfV5 F3MqSOCKtSzDeZxe7V4aF6MvT0NlA5xqWmf6lOUR7QZOsqhbfMqqe8lpeOn3l82VF2xG 7ksg==
Hi,
> And if the written content may contain 68k instructions that might
> also end up being executed by the emulated system (like GEMDOS Fread()
> content in GEMDOS HD driver), both caches should be flushed instead:
> M68000_Flush_All_Caches(addr, size);
>
> I don't see these flushes in your nf_scsidrv.c Hatari code.
>
> Tested patches welcome! :-)
I will provide them later, still busy with PMMU stuff ;-). I was not
aware of the need for flushing caches, and the SCSI Driver most likely
needs the data cache to be flushed, indeed.
Best regards
Uwe