Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218704
b: refs/heads/master
c: 9f59f7d
h: refs/heads/master
v: v3
  • Loading branch information
Akira Takeuchi authored and David Howells committed Oct 27, 2010
1 parent c20cf45 commit a73d6a0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3195d0b564c4aa3f8ff13b536e3c09a9ffed8f12
refs/heads/master: 9f59f7d23c912f10ff8767b354a4c5f672a99d76
13 changes: 13 additions & 0 deletions trunk/arch/mn10300/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,19 @@ static inline void outsl(unsigned long addr, const void *buffer, int count)
#define iowrite32_rep(p, src, count) \
outsl((unsigned long) (p), (src), (count))

#define readsb(p, dst, count) \
insb((unsigned long) (p), (dst), (count))
#define readsw(p, dst, count) \
insw((unsigned long) (p), (dst), (count))
#define readsl(p, dst, count) \
insl((unsigned long) (p), (dst), (count))

#define writesb(p, src, count) \
outsb((unsigned long) (p), (src), (count))
#define writesw(p, src, count) \
outsw((unsigned long) (p), (src), (count))
#define writesl(p, src, count) \
outsl((unsigned long) (p), (src), (count))

#define IO_SPACE_LIMIT 0xffffffff

Expand Down

0 comments on commit a73d6a0

Please sign in to comment.