minoca / os

Minoca operating system
Other
2.71k stars 231 forks source link

uefi: Fix EfiIoPortIn32 Get the I/O port #150

Closed Alexcolom closed 5 years ago

Alexcolom commented 5 years ago

In the x64 system, the first 6 (AMD64 ABI) function parameters are passed through registers. The bug is most likely associated with copying a function from the x86/ioport.S .

evangreen commented 5 years ago

Thanks Olexandr! I cherry picked 845d03ae04c2efc31b4752fa7cb0799127a3e993 and fixed up the commit message a little. Much appreciated!