MCPcopy Create free account
hub / github.com/F-Stack/f-stack / inb

Function inb

freebsd/amd64/include/cpufunc.h:175–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175static __inline u_char
176inb(u_int port)
177{
178 u_char data;
179
180 __asm __volatile("inb %w1, %0" : "=a" (data) : "Nd" (port));
181 return (data);
182}
183
184static __inline u_int
185inl(u_int port)

Callers 5

pcireg_cfgreadFunction · 0.50
cputimeFunction · 0.50
native_start_all_apsFunction · 0.50
isa_irq_pendingFunction · 0.50
inb_Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected