Subversion Repositories Kolibri OS

Rev

Rev 8150 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;;                                                              ;;
  3. ;; Copyright (C) KolibriOS team 2020-2021. All rights reserved. ;;
  4. ;; Distributed under terms of the GNU General Public License    ;;
  5. ;; Version 2, or (at your option) any later version.            ;;
  6. ;;                                                              ;;
  7. ;; Written by Ivan Baravy                                       ;;
  8. ;;                                                              ;;
  9. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  10. ;;                                                              ;;
  11. ;; Based on UEFI library for fasm by bzt, Public Domain.        ;;
  12. ;;                                                              ;;
  13. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  14.  
  15. DN fix dd       ; native
  16.  
  17. include "uefi.inc"
  18.  
  19. EFIERR = 0x80000000
  20.  
  21. struct EFI_SYSTEM_TABLE
  22.   Hdr                   EFI_TABLE_HEADER
  23.   FirmwareVendor        dd ?
  24.   FirmwareRevision      dd ?
  25.   ConsoleInHandle       dd ?
  26.   ConIn                 dd ?
  27.   ConsoleOutHandle      dd ?
  28.   ConOut                dd ?
  29.   StandardErrorHandle   dd ?
  30.   StdErr                dd ?
  31.   RuntimeServices       dd ?
  32.   BootServices          dd ?
  33.   NumberOfTableEntries  dd ?
  34.   ConfigurationTable    dd ?
  35. ends
  36.  
  37. struct EFI_CONFIGURATION_TABLE
  38.   VendorGUID    rd 4
  39.   VendorTable   dd ?
  40. ends
  41.  
  42. struct EFI_LOADED_IMAGE_PROTOCOL
  43.   Revision              dd ?
  44.   ParentHandle          dd ?
  45.   SystemTable           dd ?
  46.   DeviceHandle          dd ?
  47.   FilePath              dd ?
  48.   Reserved              dd ?
  49.   LoadOptionsSize       dd ?
  50.   ImageBase             dd ?
  51.   ImageSize             DQ ?
  52.   ImageCodeType         dd ?
  53.   ImageDataType         dd ?
  54.   UnLoad                dd ?
  55. ends
  56.