Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
openocd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
openocd
Commits
d785f552
Commit
d785f552
authored
15 years ago
by
Øyvind Harboe
Browse files
Options
Downloads
Patches
Plain Diff
check if mmu is enabled before using mmu code path
parent
19b84daf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/target/arm926ejs.c
+1
-1
1 addition, 1 deletion
src/target/arm926ejs.c
with
1 addition
and
1 deletion
src/target/arm926ejs.c
+
1
−
1
View file @
d785f552
...
@@ -713,7 +713,7 @@ int arm926ejs_write_memory(struct target_s *target, uint32_t address, uint32_t s
...
@@ -713,7 +713,7 @@ int arm926ejs_write_memory(struct target_s *target, uint32_t address, uint32_t s
/* FIX!!!! this should be cleaned up and made much more general. The
/* FIX!!!! this should be cleaned up and made much more general. The
* plan is to write up and test on arm926ejs specifically and
* plan is to write up and test on arm926ejs specifically and
* then generalize and clean up afterwards. */
* then generalize and clean up afterwards. */
if
((
count
==
1
)
&&
((
size
==
2
)
||
(
size
==
4
)))
if
(
arm926ejs
->
armv4_5_mmu
.
mmu_enabled
&&
(
count
==
1
)
&&
((
size
==
2
)
||
(
size
==
4
)))
{
{
/* special case the handling of single word writes to bypass MMU
/* special case the handling of single word writes to bypass MMU
* to allow implementation of breakpoints in memory marked read only
* to allow implementation of breakpoints in memory marked read only
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment