Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99983
b: refs/heads/master
c: 3ae960a
h: refs/heads/master
i:
  99981: 00e94e2
  99979: 07023df
  99975: a622fb9
  99967: 760aeb1
v: v3
  • Loading branch information
Ingo Molnar committed Jul 8, 2008
1 parent 3f7377c commit a95a47a
Show file tree
Hide file tree
Showing 2 changed files with 15 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: 1a98fd14f44cfade4af3e6ed96ba55065fa17ee4
refs/heads/master: 3ae960a598b9dfe87b29eb70738d91a13e692498
14 changes: 14 additions & 0 deletions trunk/include/asm-x86/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@

#include <linux/compiler.h>

/*
* early_ioremap() and early_iounmap() are for temporary early boot-time
* mappings, before the real ioremap() is functional.
* A boot-time mapping is currently limited to at most 16 pages.
*/
#ifndef __ASSEMBLY__
extern void early_ioremap_init(void);
extern void early_ioremap_clear(void);
extern void early_ioremap_reset(void);
extern void *early_ioremap(unsigned long offset, unsigned long size);
extern void early_iounmap(void *addr, unsigned long size);
extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys);
#endif

#define build_mmio_read(name, size, type, reg, barrier) \
static inline type name(const volatile void __iomem *addr) \
{ type ret; asm volatile("mov" size " %1,%0":"=" reg (ret) \
Expand Down

0 comments on commit a95a47a

Please sign in to comment.