![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <device/pnp_ops.h>
#include <device/pnp.h>
#include <stdint.h>
#include "fintek.h"
Go to the source code of this file.
Macros | |
#define | FINTEK_ENTRY_KEY 0x87 |
#define | FINTEK_EXIT_KEY 0xAA |
Functions | |
void | pnp_enter_conf_state (pnp_devfn_t dev) |
void | pnp_exit_conf_state (pnp_devfn_t dev) |
void | fintek_enable_serial (pnp_devfn_t dev, u16 iobase) |
#define FINTEK_ENTRY_KEY 0x87 |
Definition at line 28 of file early_serial.c.
#define FINTEK_EXIT_KEY 0xAA |
Definition at line 29 of file early_serial.c.
void fintek_enable_serial | ( | pnp_devfn_t | dev, |
u16 | iobase | ||
) |
Definition at line 47 of file early_serial.c.
References pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_IO0, pnp_set_enable(), pnp_set_iobase(), and pnp_set_logical_device().
Referenced by bootblock_mainboard_early_init().
void pnp_enter_conf_state | ( | pnp_devfn_t | dev | ) |
Definition at line 32 of file early_serial.c.
References FINTEK_ENTRY_KEY, and outb().
void pnp_exit_conf_state | ( | pnp_devfn_t | dev | ) |
Definition at line 40 of file early_serial.c.
References FINTEK_EXIT_KEY, and outb().