mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[STORAHCI] Replace some __inline by FORCEINLINE
Functions were declared as __inline, then used, and then defined. This leads to some linking errors with some compilers.
This commit is contained in:
parent
796c1ac993
commit
f5658fd3b4
2 changed files with 10 additions and 10 deletions
|
@ -2438,7 +2438,7 @@ AhciAdapterReset (
|
||||||
* @param Buffer
|
* @param Buffer
|
||||||
* @param BufferSize
|
* @param BufferSize
|
||||||
*/
|
*/
|
||||||
__inline
|
FORCEINLINE
|
||||||
VOID
|
VOID
|
||||||
AhciZeroMemory (
|
AhciZeroMemory (
|
||||||
__out PCHAR Buffer,
|
__out PCHAR Buffer,
|
||||||
|
@ -2466,7 +2466,7 @@ AhciZeroMemory (
|
||||||
* @return
|
* @return
|
||||||
* return TRUE if provided port is valid (implemented) or not
|
* return TRUE if provided port is valid (implemented) or not
|
||||||
*/
|
*/
|
||||||
__inline
|
FORCEINLINE
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
IsPortValid (
|
IsPortValid (
|
||||||
__in PAHCI_ADAPTER_EXTENSION AdapterExtension,
|
__in PAHCI_ADAPTER_EXTENSION AdapterExtension,
|
||||||
|
@ -2496,7 +2496,7 @@ IsPortValid (
|
||||||
* return TRUE if Srb is successfully added to Queue
|
* return TRUE if Srb is successfully added to Queue
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
__inline
|
FORCEINLINE
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
AddQueue (
|
AddQueue (
|
||||||
__inout PAHCI_QUEUE Queue,
|
__inout PAHCI_QUEUE Queue,
|
||||||
|
@ -2527,7 +2527,7 @@ AddQueue (
|
||||||
* return Srb
|
* return Srb
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
__inline
|
FORCEINLINE
|
||||||
PVOID
|
PVOID
|
||||||
RemoveQueue (
|
RemoveQueue (
|
||||||
__inout PAHCI_QUEUE Queue
|
__inout PAHCI_QUEUE Queue
|
||||||
|
@ -2590,7 +2590,7 @@ GetSrbExtension (
|
||||||
* return Logical Address of the block
|
* return Logical Address of the block
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
__inline
|
FORCEINLINE
|
||||||
ULONG64
|
ULONG64
|
||||||
AhciGetLba (
|
AhciGetLba (
|
||||||
__in PCDB Cdb,
|
__in PCDB Cdb,
|
||||||
|
|
|
@ -581,14 +581,14 @@ AhciAdapterReset (
|
||||||
__in PAHCI_ADAPTER_EXTENSION AdapterExtension
|
__in PAHCI_ADAPTER_EXTENSION AdapterExtension
|
||||||
);
|
);
|
||||||
|
|
||||||
__inline
|
FORCEINLINE
|
||||||
VOID
|
VOID
|
||||||
AhciZeroMemory (
|
AhciZeroMemory (
|
||||||
__out PCHAR Buffer,
|
__out PCHAR Buffer,
|
||||||
__in ULONG BufferSize
|
__in ULONG BufferSize
|
||||||
);
|
);
|
||||||
|
|
||||||
__inline
|
FORCEINLINE
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
IsPortValid (
|
IsPortValid (
|
||||||
__in PAHCI_ADAPTER_EXTENSION AdapterExtension,
|
__in PAHCI_ADAPTER_EXTENSION AdapterExtension,
|
||||||
|
@ -632,14 +632,14 @@ UCHAR DeviceReportLuns (
|
||||||
__in PCDB Cdb
|
__in PCDB Cdb
|
||||||
);
|
);
|
||||||
|
|
||||||
__inline
|
FORCEINLINE
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
AddQueue (
|
AddQueue (
|
||||||
__inout PAHCI_QUEUE Queue,
|
__inout PAHCI_QUEUE Queue,
|
||||||
__in PVOID Srb
|
__in PVOID Srb
|
||||||
);
|
);
|
||||||
|
|
||||||
__inline
|
FORCEINLINE
|
||||||
PVOID
|
PVOID
|
||||||
RemoveQueue (
|
RemoveQueue (
|
||||||
__inout PAHCI_QUEUE Queue
|
__inout PAHCI_QUEUE Queue
|
||||||
|
@ -651,7 +651,7 @@ GetSrbExtension(
|
||||||
__in PSCSI_REQUEST_BLOCK Srb
|
__in PSCSI_REQUEST_BLOCK Srb
|
||||||
);
|
);
|
||||||
|
|
||||||
__inline
|
FORCEINLINE
|
||||||
ULONG64
|
ULONG64
|
||||||
AhciGetLba (
|
AhciGetLba (
|
||||||
__in PCDB Cdb,
|
__in PCDB Cdb,
|
||||||
|
|
Loading…
Reference in a new issue