Rev 3707 | Rev 3930 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3707 | Rev 3779 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup ia32 |
29 | /** @addtogroup genarch_drivers |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef KERN_ia32_EGA_H_ |
35 | #ifndef KERN_EGA_H_ |
36 | #define KERN_ia32_EGA_H_ |
36 | #define KERN_EGA_H_ |
- | 37 | ||
- | 38 | #include <arch/types.h> |
|
37 | 39 | ||
38 | #define VIDEORAM 0xb8000 |
- | |
39 | #define ROW 80 |
40 | #define ROW 80 |
40 | #define ROWS 25 |
41 | #define ROWS 25 |
41 | #define SCREEN (ROW * ROWS) |
42 | #define SCREEN (ROW * ROWS) |
42 | 43 | ||
- | 44 | /* EGA device registers. */ |
|
- | 45 | #define EGA_INDEX_REG 0 |
|
- | 46 | #define EGA_DATA_REG 1 |
|
- | 47 | ||
43 | extern void ega_redraw(void); |
48 | extern void ega_redraw(void); |
44 | extern void ega_init(void); |
49 | extern void ega_init(ioport_t, uintptr_t); |
45 | 50 | ||
46 | #endif |
51 | #endif |
47 | 52 | ||
48 | /** @} |
53 | /** @} |
49 | */ |
54 | */ |