Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
fixmap.h File Reference
#include <asm/page.h>

Go to the source code of this file.

Macros

#define PHY_RAM_BASE   0x00000000
 
#define PHY_IO_BASE   0x10000000
 
#define VIRTUAL_RAM_BASE   0xa0000000
 
#define VIRTUAL_IO_BASE   0xb0000000
 
#define RAM_SPACE_SIZE   0x10000000
 
#define IO_SPACE_SIZE   0x10000000
 
#define KSEG1   0xa0000000
 
#define FIX_N_COLOURS   8
 
#define FIXADDR_TOP   ((unsigned long)(long)(int)0xfefe0000)
 
#define FIXADDR_SIZE   (__end_of_fixed_addresses << PAGE_SHIFT)
 
#define FIXADDR_START   (FIXADDR_TOP - FIXADDR_SIZE)
 
#define __fix_to_virt(x)   (FIXADDR_TOP - ((x) << PAGE_SHIFT))
 
#define __virt_to_fix(x)   ((FIXADDR_TOP - ((x) & PAGE_MASK)) >> PAGE_SHIFT)
 

Enumerations

enum  fixed_addresses {
  FIX_KMAP_BEGIN, FIX_KMAP_END, __end_of_fixed_addresses, FIX_HOLE,
  __end_of_fixed_addresses, FIX_CMAP_BEGIN, FIX_CMAP_END = FIX_CMAP_BEGIN + (FIX_N_COLOURS * 2), __end_of_fixed_addresses,
  FIX_IOREMAP_BEGIN, FIX_IOREMAP_END = FIX_IOREMAP_BEGIN + FIX_N_IOREMAPS - 1, __end_of_fixed_addresses, FIX_HOLE,
  FIX_EARLY_DEBUG_TOP = FIX_HOLE, FIX_EARLY_DEBUG_BASE = FIX_EARLY_DEBUG_TOP+((128*1024)/PAGE_SIZE)-1, __end_of_fixed_addresses, FIX_CMAP_BEGIN,
  FIX_CMAP_END = FIX_CMAP_BEGIN + FIX_N_COLOURS, __end_of_fixed_addresses, FIX_CMAP_BEGIN, FIX_CMAP_END = FIX_CMAP_BEGIN + (FIX_N_COLOURS * NR_CPUS) - 1,
  __end_of_fixed_addresses, FIX_HOLE, __end_of_fixed_addresses, __end_of_permanent_fixed_addresses,
  __end_of_fixed_addresses = __end_of_permanent_fixed_addresses, __end_of_fixed_addresses, VSYSCALL_LAST_PAGE, VSYSCALL_FIRST_PAGE,
  VVAR_PAGE, VSYSCALL_HPET, FIX_DBGP_BASE, FIX_EARLYCON_MEM_BASE,
  FIX_TEXT_POKE1, FIX_TEXT_POKE0, __end_of_permanent_fixed_addresses, FIX_BTMAP_END,
  FIX_BTMAP_BEGIN = FIX_BTMAP_END + TOTAL_FIX_BTMAPS - 1, __end_of_fixed_addresses
}
 

Functions

void __this_fixmap_does_not_exist (void)
 

Macro Definition Documentation

#define __fix_to_virt (   x)    (FIXADDR_TOP - ((x) << PAGE_SHIFT))

Definition at line 61 of file fixmap.h.

#define __virt_to_fix (   x)    ((FIXADDR_TOP - ((x) & PAGE_MASK)) >> PAGE_SHIFT)

Definition at line 62 of file fixmap.h.

#define FIX_N_COLOURS   8

Definition at line 44 of file fixmap.h.

#define FIXADDR_SIZE   (__end_of_fixed_addresses << PAGE_SHIFT)

Definition at line 58 of file fixmap.h.

#define FIXADDR_START   (FIXADDR_TOP - FIXADDR_SIZE)

Definition at line 59 of file fixmap.h.

#define FIXADDR_TOP   ((unsigned long)(long)(int)0xfefe0000)

Definition at line 57 of file fixmap.h.

#define IO_SPACE_SIZE   0x10000000

Definition at line 13 of file fixmap.h.

#define KSEG1   0xa0000000

Definition at line 16 of file fixmap.h.

#define PHY_IO_BASE   0x10000000

Definition at line 7 of file fixmap.h.

#define PHY_RAM_BASE   0x00000000

Definition at line 6 of file fixmap.h.

#define RAM_SPACE_SIZE   0x10000000

Definition at line 12 of file fixmap.h.

#define VIRTUAL_IO_BASE   0xb0000000

Definition at line 10 of file fixmap.h.

#define VIRTUAL_RAM_BASE   0xa0000000

Definition at line 9 of file fixmap.h.

Enumeration Type Documentation

Enumerator:
FIX_KMAP_BEGIN 
FIX_KMAP_END 
__end_of_fixed_addresses 
FIX_HOLE 
__end_of_fixed_addresses 
FIX_CMAP_BEGIN 
FIX_CMAP_END 
__end_of_fixed_addresses 
FIX_IOREMAP_BEGIN 
FIX_IOREMAP_END 
__end_of_fixed_addresses 
FIX_HOLE 
FIX_EARLY_DEBUG_TOP 
FIX_EARLY_DEBUG_BASE 
__end_of_fixed_addresses 
FIX_CMAP_BEGIN 
FIX_CMAP_END 
__end_of_fixed_addresses 
FIX_CMAP_BEGIN 
FIX_CMAP_END 
__end_of_fixed_addresses 
FIX_HOLE 
__end_of_fixed_addresses 
__end_of_permanent_fixed_addresses 
__end_of_fixed_addresses 
__end_of_fixed_addresses 
VSYSCALL_LAST_PAGE 
VSYSCALL_FIRST_PAGE 
VVAR_PAGE 
VSYSCALL_HPET 
FIX_DBGP_BASE 
FIX_EARLYCON_MEM_BASE 
FIX_TEXT_POKE1 
FIX_TEXT_POKE0 
__end_of_permanent_fixed_addresses 
FIX_BTMAP_END 
FIX_BTMAP_BEGIN 
__end_of_fixed_addresses 

Definition at line 43 of file fixmap.h.

Function Documentation

void __this_fixmap_does_not_exist ( void  )

Definition at line 453 of file pgtable_32.c.