VirtualBox

Changeset 40972 in vbox


Ignore:
Timestamp:
Apr 18, 2012 1:30:14 PM (13 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/solaris: use page.h's PG_KFLT define.

Location:
trunk/src/VBox/Runtime/r0drv/solaris
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/initterm-r0drv-solaris.c

    r40966 r40972  
    11/* $Id$ */
    22/** @file
    3  * IPRT - Initialization & Termination, R0 Driver, Solaris.
     3 * IPRT - Initialization & Termination, Ring-0 Driver, Solaris.
    44 */
    55
  • trunk/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.c

    r40968 r40972  
    133133    {
    134134        pPage = page_get_freelist(&s_PageVnode, 0 /* offset */, &KernelSeg, virtAddr,
    135                                   cbPage, 0x200 /* PG_KFLT */, NULL /* NUMA group */);
     135                                  cbPage, PG_KFLT, NULL /* NUMA group */);
    136136    }
    137137    return pPage;
     
    158158    {
    159159        pPage = page_get_cachelist(&s_PageVnode, 0 /* offset */, &KernelSeg, virtAddr,
    160                                    0x200 /* PG_KFLT */, NULL /* NUMA group */);
     160                                   PG_KFLT, NULL /* NUMA group */);
    161161    }
    162162
  • trunk/src/VBox/Runtime/r0drv/solaris/the-solaris-kernel.h

    r40966 r40972  
    4949#include <vm/seg_vn.h>
    5050#include <vm/seg_kmem.h>
     51#include <vm/page.h>
    5152#include <sys/ddi.h>
    5253#include <sys/sunddi.h>
     
    5960
    6061#undef u /* /usr/include/sys/user.h:249:1 is where this is defined to (curproc->p_user). very cool. */
     62#ifndef PG_KFLT     /* introduced in snv_153, previous builds don't define this. */
     63# define PG_KFLT        (0x0200)
     64#endif
    6165
    6266#include <iprt/cdefs.h>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette