VirtualBox

Changeset 38959 in vbox for trunk/include


Ignore:
Timestamp:
Oct 6, 2011 12:54:51 PM (13 years ago)
Author:
vboxsync
Message:

style

File:
1 edited

Legend:

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

    r36536 r38959  
    66
    77/*
    8  * Copyright (C) 2010 Oracle Corporation
     8 * Copyright (C) 2010-2011 Oracle Corporation
    99 *
    1010 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    5050#define   APIC_REG_LVT_MASKED                   RT_BIT(16)
    5151
    52 DECLINLINE(uint32_t) ApicRegRead(void *pBase, uint32_t reg)
     52DECLINLINE(uint32_t) ApicRegRead(void *pvBase, uint32_t offReg)
    5353{
    54     return *(const volatile uint32_t*)((uintptr_t)pBase + reg);
     54    return *(const volatile uint32_t *)((uintptr_t)pvBase + offReg);
    5555}
    5656
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