VirtualBox

Changeset 37475 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jun 15, 2011 4:42:55 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72291
Message:

DevAPIC: Locking reworking in progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmdev.h

    r37466 r37475  
    10741074
    10751075    /**
    1076      * Write MSR in APIC range.
     1076     * Write to a MSR in APIC range.
    10771077     *
    10781078     * @returns VBox status code.
    10791079     * @param   pDevIns         Device instance of the APIC.
    10801080     * @param   idCpu           Target CPU.
    1081      * @param   u32Reg          MSR to write.
    1082      * @param   u64Value        Value to write.
     1081     * @param   u32Reg          The MSR begin written to.
     1082     * @param   u64Value        The value to write.
     1083     *
     1084     * @remarks Unlike the other callbacks, the PDM lock is not taken before
     1085     *          calling this method.
    10831086     */
    10841087    DECLR3CALLBACKMEMBER(int, pfnWriteMSRR3, (PPDMDEVINS pDevIns, VMCPUID idCpu, uint32_t u32Reg, uint64_t u64Value));
    10851088
    10861089    /**
    1087      * Read MSR in APIC range.
     1090     * Read from a MSR in APIC range.
    10881091     *
    10891092     * @returns VBox status code.
     
    10911094     * @param   idCpu           Target CPU.
    10921095     * @param   u32Reg          MSR to read.
    1093      * @param   pu64Value       Value read.
     1096     * @param   pu64Value       Where to return the read value.
    10941097     */
    10951098    DECLR3CALLBACKMEMBER(int, pfnReadMSRR3, (PPDMDEVINS pDevIns, VMCPUID idCpu, uint32_t u32Reg, uint64_t *pu64Value));
     
    10981101     * Private interface between the IOAPIC and APIC.
    10991102     *
    1100      * This is a low-level, APIC/IOAPIC implementation specific interface
    1101      * which is registered with PDM only because it makes life so much
    1102      * simpler right now (GC bits). This is a bad bad hack! The correct
    1103      * way of doing this would involve some way of querying GC interfaces
    1104      * and relocating them. Perhaps doing some kind of device init in GC...
     1103     * This is a low-level, APIC/IOAPIC implementation specific interface which
     1104     * is registered with PDM only because it makes life so much simpler right
     1105     * now (GC bits).  This is a bad bad hack!  The correct way of doing this
     1106     * would involve some way of querying GC interfaces and relocating them.
     1107     * Perhaps doing some kind of device init in GC...
    11051108     *
    11061109     * @returns status code.
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