VirtualBox

Changeset 42565 in vbox


Ignore:
Timestamp:
Aug 3, 2012 7:52:29 AM (12 years ago)
Author:
vboxsync
Message:

Comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevHPET.cpp

    r42561 r42565  
    11/* $Id$ */
    22/** @file
    3  * HPET virtual device - high precision event timer emulation
     3 * HPET virtual device - High Precision Event Timer emulation
    44 */
    55
     
    6060
    6161/*
    62  * Femptosecods in nanosecond
     62 * Femtosecods in a nanosecond
    6363 */
    6464#define FS_PER_NS                   1000000
     
    245245    PDMCRITSECT          csLock;
    246246
    247     /** If we emulate ICH9 HPET (different frequency & timer count). */
     247    /** Whether we emulate ICH9 HPET (different frequency & timer count). */
    248248    bool                 fIch9;
    249249    uint8_t              padding0[7];
     
    419419 * @param   pu32Value           Where to return the register value.
    420420 *
    421  * @remarks ASSUMES the caller does holds the HPET lock.
     421 * @remarks ASSUMES the caller holds the HPET lock.
    422422 */
    423423static int hpetTimerRegRead32(HpetState const *pThis, uint32_t iTimerNo, uint32_t iTimerReg, uint32_t *pu32Value)
     
    10121012{
    10131013    /*
    1014      * Per spec, in legacy mode HPET timers wired as:
     1014     * Per spec, in legacy mode the HPET timers are wired as follows:
    10151015     *   timer 0: IRQ0 for PIC and IRQ2 for APIC
    10161016     *   timer 1: IRQ8 for both PIC and APIC
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