diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-02-23 21:33:36 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-23 21:33:36 -0500 |
commit | f465e1ec1b01826100c92b890487a2ab09bfe2c1 (patch) | |
tree | 2eb7849ea812e124dc7c44f6a8bb06a6be084d66 /src/post.c | |
parent | 3be89a1a0bf01295e0fcf6b983ab7388a47e4d0c (diff) | |
download | seabios-f465e1ec1b01826100c92b890487a2ab09bfe2c1.tar.gz |
Minor - introduce numeric defines for the IVT offset of hw irqs.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/post.c')
-rw-r--r-- | src/post.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,9 +47,9 @@ ivt_init(void) SET_IVT(i, FUNC16(entry_iret_official)); // Initialize all hw vectors to a default hw handler. - for (i=0x08; i<=0x0f; i++) + for (i=BIOS_HWIRQ0_VECTOR; i<BIOS_HWIRQ0_VECTOR+8; i++) SET_IVT(i, FUNC16(entry_hwpic1)); - for (i=0x70; i<=0x77; i++) + for (i=BIOS_HWIRQ8_VECTOR; i<BIOS_HWIRQ8_VECTOR+8; i++) SET_IVT(i, FUNC16(entry_hwpic2)); // Initialize software handlers. |