Use inline attribute for VA and PA

Don't use the old style _inline specifier.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Yuri Benditovich <yuri.benditovich@daynix.com>
This commit is contained in:
Frediano Ziglio 2017-04-10 16:04:18 +01:00
parent 8a8c6c41c0
commit 94770833a4
2 changed files with 4 additions and 4 deletions

View File

@ -3591,7 +3591,7 @@ void QxlDevice::DestroyPrimarySurface(void)
DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
}
_inline QXLPHYSICAL QxlDevice::PA(PVOID virt)
inline QXLPHYSICAL QxlDevice::PA(PVOID virt)
{
PAGED_CODE();
DbgPrint(TRACE_LEVEL_VERBOSE, ("<--> %s\n", __FUNCTION__));
@ -3602,7 +3602,7 @@ _inline QXLPHYSICAL QxlDevice::PA(PVOID virt)
return pSlot->high_bits | ((UINT8*)virt - pSlot->start_virt_addr);
}
_inline UINT8 *QxlDevice::VA(QXLPHYSICAL paddr)
inline UINT8 *QxlDevice::VA(QXLPHYSICAL paddr)
{
PAGED_CODE();
DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));

View File

@ -584,8 +584,8 @@ private:
void SetupMemSlot(UINT8 Idx, UINT64 pastart, UINT64 paend, UINT8 *vastart, UINT8 *valast);
BOOL CreateEvents(void);
BOOL CreateRings(void);
UINT8 *VA(QXLPHYSICAL paddr);
QXLPHYSICAL PA(PVOID virt);
inline UINT8 *VA(QXLPHYSICAL paddr);
inline QXLPHYSICAL PA(PVOID virt);
void InitDeviceMemoryResources(void);
NTSTATUS InitMonitorConfig();
void InitMspace(UINT32 mspace_type, UINT8 *start, size_t capacity);