VirtualBox

Changeset 13796 in vbox for trunk/include


Ignore:
Timestamp:
Nov 4, 2008 6:37:33 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38784
Message:

VMM: some adjustments.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/uvm.h

    r13782 r13796  
    3333#define ___VBox_uvm_h
    3434
    35 
    3635#include <VBox/types.h>
    3736
    38 /* Forward decl. */
    39 struct UVM;
    4037
    4138/**
     
    4441typedef struct UVMCPU
    4542{
    46     struct UVM                     *pUVM;
     43    /** Pointer to the UVM structure.  */
     44    PUVM                            pUVM;
     45    /** The virtual CPU ID.  */
    4746    RTCPUID                         idCPU;
    4847
     
    5554        uint8_t                     padding[768];
    5655    } vm;
    57 } UVMCPU, *PUVMCPU;
     56} UVMCPU;
     57/** Pointer to the per virtual CPU ring-3 (user mode) data. */
     58typedef UVMCPU *PUVMCPU;
     59
    5860
    5961/**
     
    115117    } stam;
    116118
    117     /* Per virtual CPU data. */
    118     UVMCPU                      aCpu[1];
     119    /** Per virtual CPU data. */
     120    UVMCPU                      aCpus[1];
    119121} UVM;
    120122
  • trunk/include/VBox/vm.h

    r13791 r13796  
    779779    uint32_t    u32Reserved2[8];
    780780
    781     /** VMCPU array for the configured number of virtual CPUs. */
    782     VMCPU       aCpu[1];
     781    /** VMCPU array for the configured number of virtual CPUs.
     782     * Must be aligned on a 64-byte boundrary.  */
     783    VMCPU       aCpus[1];
    783784} VM;
    784785
Note: See TracChangeset for help on using the changeset viewer.

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