Skip to content

Commit f500950

Browse files
committed
cache: Don't disable interrupts
This should be safe now that we use Hit invalidate cache ops. sceSifWriteBackDCache left them and has been fine.
1 parent 35bf313 commit f500950

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

ee/kernel/src/cache.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,7 @@ void sceSifWriteBackDCache(void *ptr, int size)
5252
#ifdef F_SyncDCache
5353
void SyncDCache(void *start, void *end)
5454
{
55-
int oldintr;
56-
57-
oldintr = DIntr();
58-
5955
_SyncDCache((u32)start & LINE_MASK, (u32)end & LINE_MASK);
60-
61-
if (oldintr) {
62-
EIntr();
63-
}
6456
}
6557
#endif
6658

@@ -74,15 +66,7 @@ void iSyncDCache(void *start, void *end)
7466
#ifdef F_InvalidDCache
7567
void InvalidDCache(void *start, void *end)
7668
{
77-
int oldintr;
78-
79-
oldintr = DIntr();
80-
8169
_InvalidDCache((u32)start & LINE_MASK, (u32)end & LINE_MASK);
82-
83-
if (oldintr) {
84-
EIntr();
85-
}
8670
}
8771
#endif
8872

0 commit comments

Comments
 (0)