Fixes in HlIoPortInShort() and HlIoPortInLong() routines
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
9828b23400
commit
602d89ef27
@ -35,11 +35,11 @@ UCHAR
|
|||||||
HlIoPortInByte(IN USHORT Port);
|
HlIoPortInByte(IN USHORT Port);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
UCHAR
|
USHORT
|
||||||
HlIoPortInShort(IN USHORT Port);
|
HlIoPortInShort(IN USHORT Port);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
UCHAR
|
ULONG
|
||||||
HlIoPortInLong(IN USHORT Port);
|
HlIoPortInLong(IN USHORT Port);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
@ -55,7 +55,7 @@ HlIoPortOutShort(IN USHORT Port,
|
|||||||
XTCDECL
|
XTCDECL
|
||||||
VOID
|
VOID
|
||||||
HlIoPortOutLong(IN USHORT Port,
|
HlIoPortOutLong(IN USHORT Port,
|
||||||
IN UINT Value);
|
IN ULONG Value);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
ULONG_PTR
|
ULONG_PTR
|
||||||
|
@ -35,11 +35,11 @@ UCHAR
|
|||||||
HlIoPortInByte(IN USHORT Port);
|
HlIoPortInByte(IN USHORT Port);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
UCHAR
|
USHORT
|
||||||
HlIoPortInShort(IN USHORT Port);
|
HlIoPortInShort(IN USHORT Port);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
UCHAR
|
ULONG
|
||||||
HlIoPortInLong(IN USHORT Port);
|
HlIoPortInLong(IN USHORT Port);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
@ -55,7 +55,7 @@ HlIoPortOutShort(IN USHORT Port,
|
|||||||
XTCDECL
|
XTCDECL
|
||||||
VOID
|
VOID
|
||||||
HlIoPortOutLong(IN USHORT Port,
|
HlIoPortOutLong(IN USHORT Port,
|
||||||
IN UINT Value);
|
IN ULONG Value);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
ULONG_PTR
|
ULONG_PTR
|
||||||
|
@ -114,10 +114,10 @@ HlIoPortInByte(IN USHORT Port)
|
|||||||
* @since XT 1.0
|
* @since XT 1.0
|
||||||
*/
|
*/
|
||||||
XTCDECL
|
XTCDECL
|
||||||
UCHAR
|
USHORT
|
||||||
HlIoPortInShort(IN USHORT Port)
|
HlIoPortInShort(IN USHORT Port)
|
||||||
{
|
{
|
||||||
UCHAR Value;
|
USHORT Value;
|
||||||
asm volatile("inw %1, %0"
|
asm volatile("inw %1, %0"
|
||||||
: "=a"(Value)
|
: "=a"(Value)
|
||||||
: "Nd"(Port));
|
: "Nd"(Port));
|
||||||
@ -135,10 +135,10 @@ HlIoPortInShort(IN USHORT Port)
|
|||||||
* @since XT 1.0
|
* @since XT 1.0
|
||||||
*/
|
*/
|
||||||
XTCDECL
|
XTCDECL
|
||||||
UCHAR
|
ULONG
|
||||||
HlIoPortInLong(IN USHORT Port)
|
HlIoPortInLong(IN USHORT Port)
|
||||||
{
|
{
|
||||||
UCHAR Value;
|
ULONG Value;
|
||||||
asm volatile("inl %1, %0"
|
asm volatile("inl %1, %0"
|
||||||
: "=a"(Value)
|
: "=a"(Value)
|
||||||
: "Nd"(Port));
|
: "Nd"(Port));
|
||||||
@ -209,7 +209,7 @@ HlIoPortOutShort(IN USHORT Port,
|
|||||||
XTCDECL
|
XTCDECL
|
||||||
VOID
|
VOID
|
||||||
HlIoPortOutLong(IN USHORT Port,
|
HlIoPortOutLong(IN USHORT Port,
|
||||||
IN UINT Value)
|
IN ULONG Value)
|
||||||
{
|
{
|
||||||
asm volatile("outl %0, %1"
|
asm volatile("outl %0, %1"
|
||||||
:
|
:
|
||||||
|
@ -114,10 +114,10 @@ HlIoPortInByte(IN USHORT Port)
|
|||||||
* @since XT 1.0
|
* @since XT 1.0
|
||||||
*/
|
*/
|
||||||
XTCDECL
|
XTCDECL
|
||||||
UCHAR
|
USHORT
|
||||||
HlIoPortInShort(IN USHORT Port)
|
HlIoPortInShort(IN USHORT Port)
|
||||||
{
|
{
|
||||||
UCHAR Value;
|
USHORT Value;
|
||||||
asm volatile("inw %1, %0"
|
asm volatile("inw %1, %0"
|
||||||
: "=a"(Value)
|
: "=a"(Value)
|
||||||
: "Nd"(Port));
|
: "Nd"(Port));
|
||||||
@ -135,10 +135,10 @@ HlIoPortInShort(IN USHORT Port)
|
|||||||
* @since XT 1.0
|
* @since XT 1.0
|
||||||
*/
|
*/
|
||||||
XTCDECL
|
XTCDECL
|
||||||
UCHAR
|
ULONG
|
||||||
HlIoPortInLong(IN USHORT Port)
|
HlIoPortInLong(IN USHORT Port)
|
||||||
{
|
{
|
||||||
UCHAR Value;
|
ULONG Value;
|
||||||
asm volatile("inl %1, %0"
|
asm volatile("inl %1, %0"
|
||||||
: "=a"(Value)
|
: "=a"(Value)
|
||||||
: "Nd"(Port));
|
: "Nd"(Port));
|
||||||
@ -209,7 +209,7 @@ HlIoPortOutShort(IN USHORT Port,
|
|||||||
XTCDECL
|
XTCDECL
|
||||||
VOID
|
VOID
|
||||||
HlIoPortOutLong(IN USHORT Port,
|
HlIoPortOutLong(IN USHORT Port,
|
||||||
IN UINT Value)
|
IN ULONG Value)
|
||||||
{
|
{
|
||||||
asm volatile("outl %0, %1"
|
asm volatile("outl %0, %1"
|
||||||
:
|
:
|
||||||
|
Loading…
Reference in New Issue
Block a user