git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Usermode/ld-acess - Fixed bug in syscall5/syscall6 macros (ARMv7)
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin2_src
/
WM
/
helpers.c
diff --git
a/Usermode/Applications/axwin2_src/WM/helpers.c
b/Usermode/Applications/axwin2_src/WM/helpers.c
index
d923817
..
194c024
100644
(file)
--- a/
Usermode/Applications/axwin2_src/WM/helpers.c
+++ b/
Usermode/Applications/axwin2_src/WM/helpers.c
@@
-7,5
+7,6
@@
// === CODE ===
void memset32(void *ptr, uint32_t val, size_t count)
{
- __asm__ __volatile__ ("rep stosl" : : "D"(ptr),"a"(val),"c"(count));
+ uint32_t *dst = ptr;
+ while(count --) *dst++ = val;
}
UCC
git Repository :: git.ucc.asn.au