From: falcovorbis <fal...@us...> - 2024-07-16 00:18:05
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 1baf3245a6e8d30613ebcf943142fc884e3d8b6a (commit) from a03ea3dc765c332ae2b1263ad2c87143a4c69ac3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1baf3245a6e8d30613ebcf943142fc884e3d8b6a Author: Andy Barajas <and...@gm...> Date: Mon Jul 15 17:17:49 2024 -0700 Using dcache_inval_range instead should work now since zcrc fixed it (#668) ----------------------------------------------------------------------- Summary of changes: kernel/arch/dreamcast/hardware/network/broadband_adapter.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kernel/arch/dreamcast/hardware/network/broadband_adapter.c b/kernel/arch/dreamcast/hardware/network/broadband_adapter.c index 76852d8f..36df6dad 100644 --- a/kernel/arch/dreamcast/hardware/network/broadband_adapter.c +++ b/kernel/arch/dreamcast/hardware/network/broadband_adapter.c @@ -543,11 +543,8 @@ static int bba_copy_dma(uint8 * dst, uint32 s, int len) { dst -= add; #ifndef USE_P2_AREA - /* - used to be a call to dcache_inval_range, but for some strange reasons, I need to - make a full flush now ... - */ - dcache_flush_range((uint32) dst, len); + /* Invalidate the dcache over the range of the data. */ + dcache_inval_range((uint32) dst, len); #endif if(!dma_used) { hooks/post-receive -- A pseudo Operating System for the Dreamcast. |