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:
parent
8a8c6c41c0
commit
94770833a4
@ -3591,7 +3591,7 @@ void QxlDevice::DestroyPrimarySurface(void)
|
|||||||
DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
|
DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
|
||||||
}
|
}
|
||||||
|
|
||||||
_inline QXLPHYSICAL QxlDevice::PA(PVOID virt)
|
inline QXLPHYSICAL QxlDevice::PA(PVOID virt)
|
||||||
{
|
{
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
DbgPrint(TRACE_LEVEL_VERBOSE, ("<--> %s\n", __FUNCTION__));
|
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);
|
return pSlot->high_bits | ((UINT8*)virt - pSlot->start_virt_addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
_inline UINT8 *QxlDevice::VA(QXLPHYSICAL paddr)
|
inline UINT8 *QxlDevice::VA(QXLPHYSICAL paddr)
|
||||||
{
|
{
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));
|
DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));
|
||||||
|
@ -584,8 +584,8 @@ private:
|
|||||||
void SetupMemSlot(UINT8 Idx, UINT64 pastart, UINT64 paend, UINT8 *vastart, UINT8 *valast);
|
void SetupMemSlot(UINT8 Idx, UINT64 pastart, UINT64 paend, UINT8 *vastart, UINT8 *valast);
|
||||||
BOOL CreateEvents(void);
|
BOOL CreateEvents(void);
|
||||||
BOOL CreateRings(void);
|
BOOL CreateRings(void);
|
||||||
UINT8 *VA(QXLPHYSICAL paddr);
|
inline UINT8 *VA(QXLPHYSICAL paddr);
|
||||||
QXLPHYSICAL PA(PVOID virt);
|
inline QXLPHYSICAL PA(PVOID virt);
|
||||||
void InitDeviceMemoryResources(void);
|
void InitDeviceMemoryResources(void);
|
||||||
NTSTATUS InitMonitorConfig();
|
NTSTATUS InitMonitorConfig();
|
||||||
void InitMspace(UINT32 mspace_type, UINT8 *start, size_t capacity);
|
void InitMspace(UINT32 mspace_type, UINT8 *start, size_t capacity);
|
||||||
|
Loading…
Reference in New Issue
Block a user