Print this page
Revert "OS-8005 bhyve memory pressure needs to target ARC better (#354)"
This reverts commit a6033573eedd94118d2b9e65f45deca0bf4b42f7.

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/sys/vmm_dev.h
          +++ new/usr/src/uts/i86pc/sys/vmm_dev.h
↓ open down ↓ 30 lines elided ↑ open up ↑
  31   31   * This file and its contents are supplied under the terms of the
  32   32   * Common Development and Distribution License ("CDDL"), version 1.0.
  33   33   * You may only use this file in accordance with the terms of version
  34   34   * 1.0 of the CDDL.
  35   35   *
  36   36   * A full copy of the text of the CDDL should have accompanied this
  37   37   * source.  A copy of the CDDL is also available via the Internet at
  38   38   * http://www.illumos.org/license/CDDL.
  39   39   *
  40   40   * Copyright 2015 Pluribus Networks Inc.
  41      - * Copyright 2020 Joyent, Inc.
       41 + * Copyright 2019 Joyent, Inc.
  42   42   */
  43   43  
  44   44  #ifndef _VMM_DEV_H_
  45   45  #define _VMM_DEV_H_
  46   46  
  47   47  #include <machine/vmm.h>
  48   48  
  49   49  struct vm_memmap {
  50   50          vm_paddr_t      gpa;
  51   51          int             segid;          /* memory segment */
↓ open down ↓ 313 lines elided ↑ open up ↑
 365  365  
 366  366  #define VM_INJECT_NMI                   (VMM_IOC_BASE | 0x18)
 367  367  #define VM_GET_X2APIC_STATE             (VMM_IOC_BASE | 0x19)
 368  368  #define VM_SET_TOPOLOGY                 (VMM_IOC_BASE | 0x1a)
 369  369  #define VM_GET_TOPOLOGY                 (VMM_IOC_BASE | 0x1b)
 370  370  #define VM_GET_CPUS                     (VMM_IOC_BASE | 0x1c)
 371  371  #define VM_SUSPEND_CPU                  (VMM_IOC_BASE | 0x1d)
 372  372  #define VM_RESUME_CPU                   (VMM_IOC_BASE | 0x1e)
 373  373  
 374  374  #define VM_PPTDEV_DISABLE_MSIX          (VMM_IOC_BASE | 0x1f)
 375      -#define VM_ARC_RESV                     (VMM_IOC_BASE | 0xfe)
 376  375  
 377  376  #define VM_DEVMEM_GETOFFSET             (VMM_IOC_BASE | 0xff)
 378  377  
 379  378  #define VMM_CTL_DEV             "/dev/vmmctl"
 380  379  
 381  380  #endif
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX