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
förälder 3ab1695968
incheckning 93ad0b4ea0
4 ändrade filer med 36 tillägg och 36 borttagningar

Visa fil

@@ -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)

Visa fil

@@ -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;
@@ -183,10 +183,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)