Subversion Repositories Kolibri OS

Rev

Rev 9227 | 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 dq       ; native
  16.  
  17. include "uefi.inc"
  18.  
  19. EFIERR = 0x8000000000000000
  20.  
  21. struct EFI_SYSTEM_TABLE
  22.   Hdr                   EFI_TABLE_HEADER
  23.   FirmwareVendor        DN ?
  24.   FirmwareRevision      dd ?
  25.                         dd ?
  26.   ConsoleInHandle       DN ?
  27.   ConIn                 DN ?
  28.   ConsoleOutHandle      DN ?
  29.   ConOut                DN ?
  30.   StandardErrorHandle   DN ?
  31.   StdErr                DN ?
  32.   RuntimeServices       DN ?
  33.   BootServices          DN ?
  34.   NumberOfTableEntries  DN ?
  35.   ConfigurationTable    DN ?
  36. ends
  37.  
  38. struct EFI_CONFIGURATION_TABLE
  39.   VendorGUID    rd 4
  40.   VendorTable   DN ?
  41. ends
  42.  
  43. struct EFI_LOADED_IMAGE_PROTOCOL
  44.   Revision              dd ?
  45.                         dd ?
  46.   ParentHandle          DN ?
  47.   SystemTable           DN ?
  48.   DeviceHandle          DN ?
  49.   FilePath              DN ?
  50.   Reserved              DN ?
  51.   LoadOptionsSize       dd ?
  52.                         dd ?
  53.   ImageBase             DN ?
  54.   ImageSize             dq ?
  55.   ImageCodeType         dd ?
  56.   ImageDataType         dd ?
  57.   UnLoad                DN ?
  58. ends
  59.