Set valid calling convention for HAL routines
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-12-23 14:41:11 +01:00
parent 3ab1695968
commit 93ad0b4ea0
4 changed files with 36 additions and 36 deletions

View File

@@ -19,7 +19,7 @@
*
* @since XT 1.0
*/
XTAPI
XTCDECL
BOOLEAN
HlCpuId(IN OUT PCPUID_REGISTERS Registers)
{
@@ -58,7 +58,7 @@ HlCpuId(IN OUT PCPUID_REGISTERS Registers)
*
* @since XT 1.0
*/
XTAPI
XTCDECL
VOID
HlHalt()
{
@@ -78,7 +78,7 @@ HlHalt()
*
* @since XT 1.0
*/
XTAPI
XTCDECL
UCHAR
HlIoPortInByte(IN USHORT Port)
{
@@ -102,7 +102,7 @@ HlIoPortInByte(IN USHORT Port)
*
* @since XT 1.0
*/
XTAPI
XTCDECL
VOID
HlIoPortOutByte(IN USHORT Port,
IN UCHAR Value)
@@ -123,9 +123,9 @@ HlIoPortOutByte(IN USHORT Port,
*
* @since XT 1.0
*/
XTAPI
XTCDECL
ULONG_PTR
HlReadControlRegister(USHORT ControlRegister)
HlReadControlRegister(IN USHORT ControlRegister)
{
ULONG_PTR Value;
@@ -189,10 +189,10 @@ HlReadControlRegister(USHORT ControlRegister)
*
* @since XT 1.0
*/
XTAPI
XTCDECL
VOID
HlWriteControlRegister(USHORT ControlRegister,
UINT_PTR Value)
HlWriteControlRegister(IN USHORT ControlRegister,
IN UINT_PTR Value)
{
/* Write a value into specified control register */
switch(ControlRegister)