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

Go to the source code of this file.

Macros

#define SRMMU_MAXMEM   0x0c000000
 
#define SRMMU_NOCACHE_VADDR   (KERNBASE + SRMMU_MAXMEM)
 
#define SRMMU_MIN_NOCACHE_PAGES   (550)
 
#define SRMMU_MAX_NOCACHE_PAGES   (1280)
 
#define SRMMU_NOCACHE_ALCRATIO   64 /* 256 pages per 64MB of system RAM */
 
#define FIXADDR_TOP   (0xfcfff000UL)
 
#define FIXADDR_SIZE   ((FIX_KMAP_END + 1) << PAGE_SHIFT)
 
#define FIXADDR_START   (FIXADDR_TOP - FIXADDR_SIZE)
 
#define __fix_to_virt(x)   (FIXADDR_TOP - ((x) << PAGE_SHIFT))
 
#define SUN4M_IOBASE_VADDR   0xfd000000 /* Base for mapping pages */
 
#define IOBASE_VADDR   0xfe000000
 
#define IOBASE_END   0xfe600000
 
#define KADB_DEBUGGER_BEGVM   0xffc00000 /* Where kern debugger is in virt-mem */
 
#define KADB_DEBUGGER_ENDVM   0xffd00000
 
#define DEBUG_FIRSTVADDR   KADB_DEBUGGER_BEGVM
 
#define DEBUG_LASTVADDR   KADB_DEBUGGER_ENDVM
 
#define LINUX_OPPROM_BEGVM   0xffd00000
 
#define LINUX_OPPROM_ENDVM   0xfff00000
 
#define DVMA_VADDR   0xfff00000 /* Base area of the DVMA on suns */
 
#define DVMA_END   0xfffc0000
 

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
}
 

Macro Definition Documentation

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

Definition at line 53 of file vaddrs.h.

#define DEBUG_FIRSTVADDR   KADB_DEBUGGER_BEGVM

Definition at line 61 of file vaddrs.h.

#define DEBUG_LASTVADDR   KADB_DEBUGGER_ENDVM

Definition at line 62 of file vaddrs.h.

#define DVMA_END   0xfffc0000

Definition at line 68 of file vaddrs.h.

#define DVMA_VADDR   0xfff00000 /* Base area of the DVMA on suns */

Definition at line 67 of file vaddrs.h.

#define FIXADDR_SIZE   ((FIX_KMAP_END + 1) << PAGE_SHIFT)

Definition at line 50 of file vaddrs.h.

#define FIXADDR_START   (FIXADDR_TOP - FIXADDR_SIZE)

Definition at line 51 of file vaddrs.h.

#define FIXADDR_TOP   (0xfcfff000UL)

Definition at line 49 of file vaddrs.h.

#define IOBASE_END   0xfe600000

Definition at line 57 of file vaddrs.h.

#define IOBASE_VADDR   0xfe000000

Definition at line 56 of file vaddrs.h.

#define KADB_DEBUGGER_BEGVM   0xffc00000 /* Where kern debugger is in virt-mem */

Definition at line 59 of file vaddrs.h.

#define KADB_DEBUGGER_ENDVM   0xffd00000

Definition at line 60 of file vaddrs.h.

#define LINUX_OPPROM_BEGVM   0xffd00000

Definition at line 64 of file vaddrs.h.

#define LINUX_OPPROM_ENDVM   0xfff00000

Definition at line 65 of file vaddrs.h.

#define SRMMU_MAX_NOCACHE_PAGES   (1280)

Definition at line 20 of file vaddrs.h.

#define SRMMU_MAXMEM   0x0c000000

Definition at line 14 of file vaddrs.h.

#define SRMMU_MIN_NOCACHE_PAGES   (550)

Definition at line 19 of file vaddrs.h.

#define SRMMU_NOCACHE_ALCRATIO   64 /* 256 pages per 64MB of system RAM */

Definition at line 31 of file vaddrs.h.

#define SRMMU_NOCACHE_VADDR   (KERNBASE + SRMMU_MAXMEM)

Definition at line 16 of file vaddrs.h.

#define SUN4M_IOBASE_VADDR   0xfd000000 /* Base for mapping pages */

Definition at line 55 of file vaddrs.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 36 of file vaddrs.h.