Subversion Repositories Kolibri OS

Rev

Rev 8284 | Rev 9958 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8284 Rev 9227
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2020. All rights reserved.      ;;
3
;; Copyright (C) KolibriOS team 2020-2021. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;; Version 2, or (at your option) any later version.            ;;
5
;; Version 2, or (at your option) any later version.            ;;
6
;;                                                              ;;
6
;;                                                              ;;
-
 
7
;; Written by Ivan Baravy                                       ;;
-
 
8
;;                                                              ;;
7
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
9
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 8... Line 10...
8
 
10
 
9
format pe efi
11
format pe efi
Line 558... Line 560...
558
        mov     [edx+BOOT_LO.y_res], ax
560
        mov     [edx+BOOT_LO.y_res], ax
559
        mov     eax, [ecx+EFI_GRAPHICS_OUTPUT_MODE_INFORMATION.PixelsPerScanLine]
561
        mov     eax, [ecx+EFI_GRAPHICS_OUTPUT_MODE_INFORMATION.PixelsPerScanLine]
560
        shl     eax, 2
562
        shl     eax, 2
561
        mov     [edx+BOOT_LO.pitch], ax
563
        mov     [edx+BOOT_LO.pitch], ax
Line 562... Line 564...
562
 
564
 
563
        mov     byte[edx+BOOT_LO.pci_data+0], 1    ; PCI access mechanism
565
        mov     [edx+BOOT_LO.pci_data.access_mechanism], 1
564
        mov     byte[edx+BOOT_LO.pci_data+1], 8    ; last bus, don't know how to count them
566
        movzx   eax, [pci_last_bus]
565
        mov     byte[edx+BOOT_LO.pci_data+2], 0x10 ; PCI version
567
        mov     [edx+BOOT_LO.pci_data.last_bus], al
566
        mov     byte[edx+BOOT_LO.pci_data+3], 0x02
568
        mov     [edx+BOOT_LO.pci_data.version], 0x0300  ; PCI 3.0
Line 567... Line 569...
567
        mov     dword[edx+BOOT_LO.pci_data+4], 0xe3
569
        mov     [edx+BOOT_LO.pci_data.pm_entry], 0
568
 
570
 
569
        ; kernel
571
        ; kernel
Line 858... Line 860...
858
        dw 0FFFFh,0,9200h,0CFh          ; flat data
860
        dw 0FFFFh,0,9200h,0CFh          ; flat data
Line 859... Line 861...
859
 
861
 
860
gopuuid         db EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID
862
gopuuid         db EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID
861
lipuuid         db EFI_LOADED_IMAGE_PROTOCOL_GUID
863
lipuuid         db EFI_LOADED_IMAGE_PROTOCOL_GUID
-
 
864
sfspguid        db EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID
Line 862... Line 865...
862
sfspguid        db EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID
865
pcirbguid       db EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID
863
 
866
 
864
file_name       du "\EFI\KOLIBRIOS\KOLIBRI.INI",0
867
file_name       du "\EFI\KOLIBRIOS\KOLIBRI.INI",0
865
kernel_name     du "\EFI\KOLIBRIOS\KOLIBRI.KRN",0
868
kernel_name     du "\EFI\KOLIBRIOS\KOLIBRI.KRN",0
Line 947... Line 950...
947
lip_handle      dd 0
950
lip_handle      dd 0
948
lip_interface   dd 0
951
lip_interface   dd 0
Line 949... Line 952...
949
 
952
 
Line -... Line 953...
-
 
953
sfsp_interface  dd 0
-
 
954
 
950
sfsp_interface  dd 0
955
pci_last_bus db 254
951
 
956
 
952
esp_root        dd ?
957
esp_root        dd ?
Line 953... Line 958...
953
file_handle     dd ?
958
file_handle     dd ?