Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RiscOS
S
Sources
HWSupport
DMA
Commits
a6c94776
Commit
a6c94776
authored
Jan 21, 1997
by
Neil Turton
Browse files
Version RO_3_70 taken
parent
e8423b0a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
4 deletions
+23
-4
Doc/0197275.02
Doc/0197275.02
+2
-0
Version
Version
+3
-3
s/DMA
s/DMA
+15
-1
s/GetAll
s/GetAll
+3
-0
No files found.
Doc/0197275.02
View file @
a6c94776
...
...
@@ -13,6 +13,8 @@ Copyright
| Last Issue : 1 |
-----------------------------------------
* NOTE: see StrongARM file for change to DMA manager behaviour
Contents
--------
...
...
Version
View file @
a6c94776
...
...
@@ -18,8 +18,8 @@
GBLS VString
GBLS Date
Version SETA 01
1
; 000
VString SETS "0.1
1
" ; "0.00"
Date SETS "
03 Mar
199
5
" ; "13 Jul 1993"
Version SETA 01
2
; 000
VString SETS "0.1
2
" ; "0.00"
Date SETS "
24 Jul
199
6
" ; "13 Jul 1993"
END
s/DMA
View file @
a6c94776
...
...
@@ -283,6 +283,10 @@ DMACreatePageTable
;
; Fill in physical addresses in page table and mark pages as uncacheable
; if reading to memory.
; However, if StrongARM true, then mark pages as uncacheable for either
; direction of transfer (we could be running on StrongARM, which has
; write-back data cache, so DMA from memory to device can be out of date
; wrt cache).
;
DMAConvertPageTable
ENTRY
"r0-r3"
...
...
@@ -296,11 +300,21 @@ DMAConvertPageTable
EXIT
VS
LDR
r2
,
[
r10
,
#
dmar_PageCount
]
LDR
r3
,
[
r10
,
#
dmar_Flags
]
[
StrongARM
ORR
r3
,
r3
,
#
dmarf_Uncacheable
; set uncacheable flag
STR
r3
,
[
r10
,
#
dmar_Flags
]
|
TST
r3
,
#
dmarf_Direction
; If reading to memory then
ORREQ
r3
,
r3
,
#
dmarf_Uncacheable
; set uncacheable flag
STREQ
r3
,
[
r10
,
#
dmar_Flags
]
]
[
MemManager
ORREQ
r0
,
r0
,
#
Memory_SetUncacheable
; and mark pages as uncacheable.
[
StrongARM
ORR
r0
,
r0
,
#
Memory_SetUncacheable
; and mark pages as uncacheable.
|
ORREQ
r0
,
r0
,
#
Memory_SetUncacheable
; and mark pages as uncacheable if necessary.
]
Debug
dma
,
" OS_Memory flags,ptable,entries ="
,
r0
,
r1
,
r2
SWI
XOS_Memory
BICVS
r3
,
r3
,
#
dmarf_Uncacheable
; If conversion failed then pages not uncacheable
...
...
s/GetAll
View file @
a6c94776
...
...
@@ -59,6 +59,9 @@ term SETD false
purge
SETD
false
tmp
SETD
false
GBLL
StrongARM
StrongARM
SETL
true
GBLL
standalone
standalone
SETL
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment