Merge kolibri-ahci into trunk

git-svn-id: svn://kolibrios.org@9183 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rustem Gimadutdinov (rgimad) 2021-09-09 11:38:38 +00:00
parent 4c7867ece9
commit 954246b1b7
2 changed files with 1410 additions and 0 deletions

1403
kernel/trunk/blkdev/ahci.inc Normal file

File diff suppressed because it is too large Load Diff

View File

@ -814,6 +814,13 @@ include 'detect/dev_fd.inc'
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
include 'detect/init_ata.inc' include 'detect/init_ata.inc'
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
; initialisation AHCI code
;-----------------------------------------------------------------------------
jmp ahci_code_end
include 'blkdev/ahci.inc'
ahci_code_end:
call ahci_init
;-----------------------------------------------------------------------------
if 0 if 0
mov ax, [BOOT.sys_disk] mov ax, [BOOT.sys_disk]
cmp ax, 'r1'; if using not ram disk, then load librares and parameters {SPraid.simba} cmp ax, 'r1'; if using not ram disk, then load librares and parameters {SPraid.simba}