The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/xen/interface/arch-ia64/hvm/memmap.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /******************************************************************************
    2  * memmap.h
    3  *
    4  * Copyright (c) 2008 Tristan Gingold <tgingold AT free fr>
    5  *
    6  * Permission is hereby granted, free of charge, to any person obtaining a copy
    7  * of this software and associated documentation files (the "Software"), to
    8  * deal in the Software without restriction, including without limitation the
    9  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
   10  * sell copies of the Software, and to permit persons to whom the Software is
   11  * furnished to do so, subject to the following conditions:
   12  *
   13  * The above copyright notice and this permission notice shall be included in
   14  * all copies or substantial portions of the Software.
   15  *
   16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
   21  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
   22  * DEALINGS IN THE SOFTWARE.
   23  */
   24 
   25 #ifndef __XEN_PUBLIC_HVM_MEMMAP_IA64_H__
   26 #define __XEN_PUBLIC_HVM_MEMMAP_IA64_H__
   27 
   28 #define MEM_G  (1UL << 30)
   29 #define MEM_M  (1UL << 20)
   30 #define MEM_K  (1UL << 10)
   31 
   32 /* Guest physical address of IO ports space.  */
   33 #define MMIO_START  (3 * MEM_G)
   34 #define MMIO_SIZE   (512 * MEM_M)
   35 
   36 #define VGA_IO_START  0xA0000UL
   37 #define VGA_IO_SIZE   0x20000
   38 
   39 #define LEGACY_IO_START  (MMIO_START + MMIO_SIZE)
   40 #define LEGACY_IO_SIZE   (64 * MEM_M)
   41 
   42 #define IO_PAGE_START  (LEGACY_IO_START + LEGACY_IO_SIZE)
   43 #define IO_PAGE_SIZE   XEN_PAGE_SIZE
   44 
   45 #define STORE_PAGE_START  (IO_PAGE_START + IO_PAGE_SIZE)
   46 #define STORE_PAGE_SIZE   XEN_PAGE_SIZE
   47 
   48 #define BUFFER_IO_PAGE_START  (STORE_PAGE_START + STORE_PAGE_SIZE)
   49 #define BUFFER_IO_PAGE_SIZE   XEN_PAGE_SIZE
   50 
   51 #define BUFFER_PIO_PAGE_START  (BUFFER_IO_PAGE_START + BUFFER_IO_PAGE_SIZE)
   52 #define BUFFER_PIO_PAGE_SIZE   XEN_PAGE_SIZE
   53 
   54 #define IO_SAPIC_START  0xfec00000UL
   55 #define IO_SAPIC_SIZE   0x100000
   56 
   57 #define PIB_START  0xfee00000UL
   58 #define PIB_SIZE   0x200000
   59 
   60 #define GFW_START  (4 * MEM_G - 16 * MEM_M)
   61 #define GFW_SIZE   (16 * MEM_M)
   62 
   63 /* domVTI */
   64 #define GPFN_FRAME_BUFFER  0x1 /* VGA framebuffer */
   65 #define GPFN_LOW_MMIO      0x2 /* Low MMIO range */
   66 #define GPFN_PIB           0x3 /* PIB base */
   67 #define GPFN_IOSAPIC       0x4 /* IOSAPIC base */
   68 #define GPFN_LEGACY_IO     0x5 /* Legacy I/O base */
   69 #define GPFN_HIGH_MMIO     0x6 /* High MMIO range */
   70 
   71 /* Nvram belongs to GFW memory space  */
   72 #define NVRAM_SIZE   (MEM_K * 64)
   73 #define NVRAM_START  (GFW_START + 10 * MEM_M)
   74 
   75 #define NVRAM_VALID_SIG  0x4650494e45584948 /* "HIXENIPF" */
   76 struct nvram_save_addr {
   77     unsigned long addr;
   78     unsigned long signature;
   79 };
   80 
   81 #endif /* __XEN_PUBLIC_HVM_MEMMAP_IA64_H__ */
   82 
   83 /*
   84  * Local variables:
   85  * mode: C
   86  * c-set-style: "BSD"
   87  * c-basic-offset: 4
   88  * tab-width: 4
   89  * indent-tabs-mode: nil
   90  * End:
   91  */

Cache object: bd1cf3e8259a40fbc3438b31643177a9


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.