mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-25 18:29:36 +03:00
remove obsolete logic, IRQs 1,2,8,12 have been nothing special for a while
git-svn-id: svn://kolibrios.org@7584 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a6277573f7
commit
f48620ab51
@ -12,19 +12,13 @@ DEBUG equ 1
|
||||
|
||||
API_VERSION equ 0x01000100
|
||||
|
||||
USE_COM_IRQ equ 0 ;make irq 3 and irq 4 available for PCI devices
|
||||
IRQ_REMAP equ 0
|
||||
IRQ_LINE equ 0
|
||||
|
||||
|
||||
;irq 0,1,2,8,12,13 unavailable
|
||||
;irq 0,13 unavailable
|
||||
; FEDCBA9876543210
|
||||
VALID_IRQ equ 1100111011111000b
|
||||
ATTCH_IRQ equ 0000111010100000b
|
||||
|
||||
if USE_COM_IRQ
|
||||
ATTCH_IRQ equ 0000111010111000b
|
||||
end if
|
||||
VALID_IRQ equ 1101111111111110b
|
||||
|
||||
CPU_FREQ equ 2600d
|
||||
|
||||
@ -388,10 +382,6 @@ proc START c, state:dword, cmdline:dword
|
||||
mov esi, msgInvIRQ
|
||||
bt eax, ebx
|
||||
jnc .fail_msg
|
||||
mov eax, ATTCH_IRQ
|
||||
mov esi, msgAttchIRQ
|
||||
bt eax, ebx
|
||||
jnc .fail_msg
|
||||
|
||||
invoke AttachIntHandler, ebx, ac97_irq_VIA, 0
|
||||
.reg:
|
||||
@ -1238,7 +1228,6 @@ sz_sound_srv db 'SOUND',0
|
||||
|
||||
msgInit db 'detect hardware...',13,10,0
|
||||
msgFail db 'device not found',13,10,0
|
||||
msgAttchIRQ db 'IRQ line not supported', 13,10, 0
|
||||
msgInvIRQ db 'IRQ line not assigned or invalid', 13,10, 0
|
||||
msgPlay db 'start play', 13,10,0
|
||||
msgStop db 'stop play', 13,10,0
|
||||
|
Loading…
Reference in New Issue
Block a user