Rev 54 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
#include <kernel/log.h>
#include <ll/i386/hw-instr.h>
#include <ll/i386/hw-io.h>
#include <ll/sys/types.h>
void port_rep_outb(unsigned char* string, int length, int port)
{
printk(KERN_INFO "port_rep_outb: NOT SUPPORTED !!\n");
}
void port_out(int value, int port)
{
outp(port,(BYTE)value);
}
void port_outw(int value, int port)
{
outpw(port,(WORD)value);
}
void port_outl(int value, int port)
{
outpd(port,(DWORD)value);
}
int port_in(int port)
{
return (WORD)inp(port);
}
int port_inw(int port)
{
return (WORD)inpw(port);
}
int port_inl(int port)
{
return (WORD)inpd(port);
}