Intel Extensible Firmware Interface Manuale Utente Pagina 47

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 108
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 46
Overview
Version 1.10 12/01/02 2-7
2.3 Calling Conventions
Unless otherwise stated, all functions defined in the EFI specification are called through pointers in
common, architecturally defined, calling conventions found in C compilers. Pointers to the various
global EFI functions are found in the EFI_RUNTIME_SERVICES and EFI_BOOT_SERVICES
tables that are located via the EFI system table. Pointers to other functions defined in this
specification are located dynamically through device handles. In all cases, all pointers to EFI
functions are cast with the word EFIAPI. This allows the compiler for each architecture to supply
the proper compiler keywords to achieve the needed calling conventions. When passing pointer
arguments to Boot Services, Runtime Services, and Protocol Interfaces, the caller has the following
responsibilities:
1. It is the caller’s responsibility to pass pointer parameters that reference physical memory
locations. If a pointer is passed that does not point to a physical memory location(i.e. a
memory mapped I/O region), the results are unpredictable and the system may halt.
2. It is the caller’s responsibility to pass pointer parameters with correct alignment. If an
unaligned pointer is passed to a function, the results are unpredictable and the system may halt.
3. It is the caller’s responsibility to not pass in a NULL parameter to a function unless it is
explicitly allowed. If a NULL pointer is passed to a function, the results are unpredictable and
the system may hang.
Calling conventions for IA-32 or Itanium-based applications are described in more detail below.
Any function or protocol may return any valid return code.
2.3.1 Data Types
Table 2-2 lists the common data types that are used in the interface definitions, and Table 2-3 lists
their modifiers. Unless otherwise specified all data types are naturally aligned. Structures are
aligned on boundaries equal to the largest internal datum of the structure and internal data are
implicitly padded to achieve natural alignment.
Table 2-2. Common EFI Data Types
Mnemonic Description
BOOLEAN
Logical Boolean. 1-byte value containinga0forFALSE or a 1 for TRUE. Other
values are undefined.
INTN Signed value of native width. (4 bytes on IA-32, 8 bytes on Itanium processor
instructions)
UINTN Unsigned value of native width. (4 bytes on IA-32, 8 bytes on Itanium processor
instructions)
INT8 1-byte signed value.
UINT8 1-byte unsigned value.
INT16 2-byte signed value.
UINT16 2-byte unsigned value.
continued
Vedere la pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 107 108

Commenti su questo manuale

Nessun commento

Atec AEMC-6472_6474 manuels

Manuels d'utilisation et guides de l'utilisateur pour Équipement Atec AEMC-6472_6474.
Nous fournissons des manuels en pdf 1 Atec AEMC-6472_6474 à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Équipement Atec

Modèles Type de document
AEMC-4620_4630 Manuel de l'utilisateur   Atec AEMC-4620_4630 User Manual, 6 pages
Biddle-DET-2-2 Manuel de l'utilisateur   Atec Biddle-DET-2-2 User Manual, 2 pages
Chroma-19572 Manuel de l'utilisateur   Atec Chroma-19572 User Manual, 2 pages
AEMC-6416-6417 Manuel de l'utilisateur   Atec AEMC-6416-6417 User Manual, 4 pages
Biddle-DET3-2 Manuel de l'utilisateur   Atec Biddle-DET3-2 User Manual, 5 pages
AEMC-6470 Manuel de l'utilisateur   Atec AEMC-6470 User Manual, 2 pages
Biddle-DET5-2 Manuel de l'utilisateur   Atec Biddle-DET5-2 User Manual, 2 pages
AEMC-6470B Manuel de l'utilisateur   Atec AEMC-6470B User Manual, 8 pages
AEMC-4500 Manuel de l'utilisateur   Atec AEMC-4500 User Manual, 5 pages
AEMC-3620 Manuel de l'utilisateur   Atec AEMC-3620 User Manual, 6 pages
Amplifier-Research-FL7040-Kit Manuel de l'utilisateur   Atec Amplifier-Research-FL7040-Kit User Manual, 2 pages
Amplifier-Research-FP7018 Manuel de l'utilisateur   Atec Amplifier-Research-FP7018 User Manual, 1 pages
AmplifierResearch_FL7060 Manuel de l'utilisateur   Atec AmplifierResearch_FL7060 User Manual, 2 pages
Associated-Research-5030DT Manuel de l'utilisateur   Atec Associated-Research-5030DT User Manual, 4 pages
AmplifierResearch_FP7003-Kit Manuel de l'utilisateur   Atec AmplifierResearch_FP7003-Kit User Manual, 1 pages
Amplifier-Research-FM7004 Manuel de l'utilisateur   Atec Amplifier-Research-FM7004 User Manual, 2 pages
Associated-Research-3130_3140_3160 Manuel de l'utilisateur   Atec Associated-Research-3130_3140_3160 User Manual, 2 pages
Associated-Research-3140-60 Manuel de l'utilisateur   Atec Associated-Research-3140-60 User Manual, 2 pages
ARA-Technologies-PLA-130-A Manuel de l'utilisateur   Atec ARA-Technologies-PLA-130-A User Manual, 2 pages
Emco-6509 Manuel de l'utilisateur   Atec Emco-6509 User Manual, 2 pages