================ @@ -348,6 +348,20 @@ static inline unsigned long _inpd(unsigned short port) { return ret; } +static inline int _outp(unsigned short port, int data) { ---------------- phoebewang wrote: Can we change it to `__outbyte` instead? https://github.com/llvm/llvm-project/pull/93774