25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_8250.c,v 1.23 2006/03/04 12:38:47 debug Exp $ |
* $Id: dev_8250.c,v 1.24 2006/07/21 16:55:41 debug Exp $ |
29 |
* |
* |
30 |
* 8250 serial controller. |
* 8250 serial controller. |
31 |
* |
* |
66 |
#define DEV_8250_TICKSHIFT 15 |
#define DEV_8250_TICKSHIFT 15 |
67 |
|
|
68 |
|
|
69 |
/* |
DEVICE_TICK(8250) |
|
* dev_8250_tick(): |
|
|
* |
|
|
*/ |
|
|
void dev_8250_tick(struct cpu *cpu, void *extra) |
|
70 |
{ |
{ |
71 |
#if 0 |
#if 0 |
72 |
/* This stuff works for 16550. TODO for 8250 */ |
/* This stuff works for 16550. TODO for 8250 */ |
96 |
} |
} |
97 |
|
|
98 |
|
|
|
/* |
|
|
* dev_8250_access(): |
|
|
*/ |
|
99 |
DEVICE_ACCESS(8250) |
DEVICE_ACCESS(8250) |
100 |
{ |
{ |
101 |
uint64_t idata = 0, odata = 0; |
uint64_t idata = 0, odata = 0; |