Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204648
b: refs/heads/master
c: a4a94db
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed Aug 4, 2010
1 parent f29b4a0 commit 715619d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca28b510163a55df6260652056bfc60c4cf8aca1
refs/heads/master: a4a94dbf20fa2e119cf89615ef21230f9b2f8913
10 changes: 6 additions & 4 deletions trunk/arch/microblaze/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,17 @@

/* turn on virtual protected mode save */
#define VM_ON \
set_ums; \
set_ums; \
rted r0, 2f; \
2: nop;
nop; \
2:

/* turn off virtual protected mode save and user mode save*/
#define VM_OFF \
clear_vms_ums; \
clear_vms_ums; \
rted r0, TOPHYS(1f); \
1: nop;
nop; \
1:

#define SAVE_REGS \
swi r2, r1, PTO+PT_R2; /* Save SDA */ \
Expand Down

0 comments on commit 715619d

Please sign in to comment.