projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a68c73
)
Fix argument to PUSH_D_CACHE_REGION.
author
Taylor R Campbell
<campbell@mumble.net>
Mon, 21 Jan 2019 20:53:14 +0000
(20:53 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Wed, 21 Aug 2019 21:34:04 +0000
(21:34 +0000)
Takes startptr/count, not startptr/endptr.
This was not an issue before because until aarch64, the only extant
port that even used this, i386, ignored the argument as a macro and
flushed the entire cache.
src/microcode/cmpint.c
patch
|
blob
|
history
diff --git
a/src/microcode/cmpint.c
b/src/microcode/cmpint.c
index b8181497e607643ded41ed8e515b58a158c3aeaa..fad1583d505bdce531d0df0fad4179f87d45b72d 100644
(file)
--- a/
src/microcode/cmpint.c
+++ b/
src/microcode/cmpint.c
@@
-1972,7
+1972,7
@@
void
declare_compiled_code_block (SCHEME_OBJECT block)
{
#ifdef PUSH_D_CACHE_REGION
- PUSH_D_CACHE_REGION ((OBJECT_ADDRESS (block)), (CC_BLOCK_
END
(block)));
+ PUSH_D_CACHE_REGION ((OBJECT_ADDRESS (block)), (CC_BLOCK_
LENGTH
(block)));
#endif
}