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