coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Enumerations | |
enum | mec_io_type { MEC_IO_READ , MEC_IO_WRITE } |
Functions | |
uint8_t | mec_io_bytes (enum mec_io_type type, uint16_t base, uint16_t offset, void *buffer, size_t size) |
enum mec_io_type |
uint8_t mec_io_bytes | ( | enum mec_io_type | type, |
uint16_t | base, | ||
uint16_t | offset, | ||
void * | buffer, | ||
size_t | size | ||
) |
Definition at line 49 of file mec.c.
References ACCESS_TYPE_BYTE, ACCESS_TYPE_LONG_AUTO_INCREMENT, base, buf, buffer, checksum(), inb(), MEC_EMI_EC_DATA_B0, MEC_EMI_EC_DATA_B3, mec_emi_write_address(), MEC_IO_WRITE, offset, outb(), and type.
Referenced by read_bytes(), wilco_ec_transfer(), and write_bytes().