|
From: ljsebald <ljs...@us...> - 2023-08-31 20:47:57
|
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 a98b02e22ee448b3d3f82193dbf3ed11f5616244 (commit)
via 4b9c3824461bb5a91a2fc7ab1411d3156ad16208 (commit)
from df51ca01ed93f7c291538e1c7097e1eb24c41770 (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 a98b02e22ee448b3d3f82193dbf3ed11f5616244
Merge: df51ca0 4b9c382
Author: Lawrence Sebald <ljs...@us...>
Date: Thu Aug 31 16:47:16 2023 -0400
Merge pull request #285 from KallistiOS/sq-formatting
Formatting cleanup of store queue code
commit 4b9c3824461bb5a91a2fc7ab1411d3156ad16208
Author: Lawrence Sebald <ljs...@us...>
Date: Thu Aug 31 16:46:00 2023 -0400
Formatting cleanup of store queue code.
-----------------------------------------------------------------------
Summary of changes:
kernel/arch/dreamcast/hardware/sq.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kernel/arch/dreamcast/hardware/sq.c b/kernel/arch/dreamcast/hardware/sq.c
index 4ec7be3..263074a 100644
--- a/kernel/arch/dreamcast/hardware/sq.c
+++ b/kernel/arch/dreamcast/hardware/sq.c
@@ -24,7 +24,7 @@ void sq_clr(void *dest, int n) {
/* Fill both store queues with zeroes */
d[0] = d[1] = d[2] = d[3] = d[4] = d[5] = d[6] = d[7] =
- d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = 0;
+ d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = 0;
/* Write them as many times necessary */
n >>= 5;
@@ -53,7 +53,7 @@ void * sq_cpy(void *dest, const void *src, int n) {
n >>= 5;
while(n--) {
- __asm__("pref @%0" : : "r"(s + 8)); /* prefetch 32 bytes for next loop */
+ __asm__("pref @%0" : : "r"(s + 8)); /* prefetch 32 bytes */
d[0] = *(s++);
d[1] = *(s++);
d[2] = *(s++);
@@ -88,7 +88,7 @@ void * sq_set(void *s, uint32 c, int n) {
/* Fill both store queues with c */
d[0] = d[1] = d[2] = d[3] = d[4] = d[5] = d[6] = d[7] =
- d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = c;
+ d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = c;
/* Write them as many times necessary */
n >>= 5;
@@ -120,7 +120,7 @@ void * sq_set16(void *s, uint32 c, int n) {
/* Fill both store queues with c */
d[0] = d[1] = d[2] = d[3] = d[4] = d[5] = d[6] = d[7] =
- d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = c;
+ d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = c;
/* Write them as many times necessary */
n >>= 5;
@@ -148,7 +148,7 @@ void * sq_set32(void *s, uint32 c, int n) {
/* Fill both store queues with c */
d[0] = d[1] = d[2] = d[3] = d[4] = d[5] = d[6] = d[7] =
- d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = c;
+ d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = c;
/* Write them as many times necessary */
n >>= 5;
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|