Subversion Repositories Kolibri OS

Rev

Rev 9227 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8150 dunkaist 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
9227 dunkaist 3
;; Copyright (C) KolibriOS team 2020-2021. All rights reserved. ;;
8150 dunkaist 4
;; Distributed under terms of the GNU General Public License    ;;
5
;; Version 2, or (at your option) any later version.            ;;
6
;;                                                              ;;
9227 dunkaist 7
;; Written by Ivan Baravy                                       ;;
8
;;                                                              ;;
8150 dunkaist 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
9253 dunkaist 23
  FirmwareVendor        DN ?
8150 dunkaist 24
  FirmwareRevision      dd ?
9253 dunkaist 25
 
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 ?
8150 dunkaist 36
ends
37
 
38
struct EFI_CONFIGURATION_TABLE
39
  VendorGUID    rd 4
9253 dunkaist 40
  VendorTable   DN ?
8150 dunkaist 41
ends
42
 
43
struct EFI_LOADED_IMAGE_PROTOCOL
44
  Revision              dd ?
9253 dunkaist 45
 
46
  ParentHandle          DN ?
47
  SystemTable           DN ?
48
  DeviceHandle          DN ?
49
  FilePath              DN ?
50
  Reserved              DN ?
8150 dunkaist 51
  LoadOptionsSize       dd ?
9253 dunkaist 52
 
53
  ImageBase             DN ?
8150 dunkaist 54
  ImageSize             DQ ?
55
  ImageCodeType         dd ?
56
  ImageDataType         dd ?
9253 dunkaist 57
  UnLoad                DN ?
8150 dunkaist 58
ends