iPXE
arch-arm.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: MIT */
2/******************************************************************************
3 * arch-arm.h
4 *
5 * Guest OS interface to ARM Xen.
6 *
7 * Copyright 2011 (C) Citrix Systems
8 */
9
10#ifndef __XEN_PUBLIC_ARCH_ARM_H__
11#define __XEN_PUBLIC_ARCH_ARM_H__
12
14FILE_SECBOOT ( PERMITTED );
15
16/*
17 * `incontents 50 arm_abi Hypercall Calling Convention
18 *
19 * A hypercall is issued using the ARM HVC instruction.
20 *
21 * A hypercall can take up to 5 arguments. These are passed in
22 * registers, the first argument in x0/r0 (for arm64/arm32 guests
23 * respectively irrespective of whether the underlying hypervisor is
24 * 32- or 64-bit), the second argument in x1/r1, the third in x2/r2,
25 * the forth in x3/r3 and the fifth in x4/r4.
26 *
27 * The hypercall number is passed in r12 (arm) or x16 (arm64). In both
28 * cases the relevant ARM procedure calling convention specifies this
29 * is an inter-procedure-call scratch register (e.g. for use in linker
30 * stubs). This use does not conflict with use during a hypercall.
31 *
32 * The HVC ISS must contain a Xen specific TAG: XEN_HYPERCALL_TAG.
33 *
34 * The return value is in x0/r0.
35 *
36 * The hypercall will clobber x16/r12 and the argument registers used
37 * by that hypercall (except r0 which is the return value) i.e. in
38 * addition to x16/r12 a 2 argument hypercall will clobber x1/r1 and a
39 * 4 argument hypercall will clobber x1/r1, x2/r2 and x3/r3.
40 *
41 * Parameter structs passed to hypercalls are laid out according to
42 * the Procedure Call Standard for the ARM Architecture (AAPCS, AKA
43 * EABI) and Procedure Call Standard for the ARM 64-bit Architecture
44 * (AAPCS64). Where there is a conflict the 64-bit standard should be
45 * used regardless of guest type. Structures which are passed as
46 * hypercall arguments are always little endian.
47 *
48 * All memory which is shared with other entities in the system
49 * (including the hypervisor and other guests) must reside in memory
50 * which is mapped as Normal Inner Write-Back Outer Write-Back Inner-Shareable.
51 * This applies to:
52 * - hypercall arguments passed via a pointer to guest memory.
53 * - memory shared via the grant table mechanism (including PV I/O
54 * rings etc).
55 * - memory shared with the hypervisor (struct shared_info, struct
56 * vcpu_info, the grant table, etc).
57 *
58 * Any cache allocation hints are acceptable.
59 */
60
61/*
62 * `incontents 55 arm_hcall Supported Hypercalls
63 *
64 * Xen on ARM makes extensive use of hardware facilities and therefore
65 * only a subset of the potential hypercalls are required.
66 *
67 * Since ARM uses second stage paging any machine/physical addresses
68 * passed to hypercalls are Guest Physical Addresses (Intermediate
69 * Physical Addresses) unless otherwise noted.
70 *
71 * The following hypercalls (and sub operations) are supported on the
72 * ARM platform. Other hypercalls should be considered
73 * unavailable/unsupported.
74 *
75 * HYPERVISOR_memory_op
76 * All generic sub-operations
77 *
78 * HYPERVISOR_domctl
79 * All generic sub-operations, with the exception of:
80 * * XEN_DOMCTL_irq_permission (not yet implemented)
81 *
82 * HYPERVISOR_sched_op
83 * All generic sub-operations, with the exception of:
84 * * SCHEDOP_block -- prefer wfi hardware instruction
85 *
86 * HYPERVISOR_console_io
87 * All generic sub-operations
88 *
89 * HYPERVISOR_xen_version
90 * All generic sub-operations
91 *
92 * HYPERVISOR_event_channel_op
93 * All generic sub-operations
94 *
95 * HYPERVISOR_physdev_op
96 * Exactly these sub-operations are supported:
97 * PHYSDEVOP_pci_device_add
98 * PHYSDEVOP_pci_device_remove
99 *
100 * HYPERVISOR_sysctl
101 * All generic sub-operations, with the exception of:
102 * * XEN_SYSCTL_page_offline_op
103 * * XEN_SYSCTL_get_pmstat
104 * * XEN_SYSCTL_pm_op
105 *
106 * HYPERVISOR_hvm_op
107 * Exactly these sub-operations are supported:
108 * * HVMOP_set_param
109 * * HVMOP_get_param
110 * * HVMOP_guest_request_vm_event
111 *
112 * HYPERVISOR_grant_table_op
113 * All generic sub-operations
114 *
115 * HYPERVISOR_vcpu_op
116 * Exactly these sub-operations are supported:
117 * * VCPUOP_register_vcpu_info
118 * * VCPUOP_register_runstate_memory_area
119 *
120 * HYPERVISOR_argo_op
121 * All generic sub-operations
122 *
123 * HYPERVISOR_hypfs_op
124 * All generic sub-operations
125 *
126 * HYPERVISOR_platform_op
127 * Exactly these sub-operations are supported:
128 * * XENPF_settime64
129 *
130 * HYPERVISOR_vm_assist
131 * All generic sub-operations
132 *
133 * HYPERVISOR_dm_op
134 * Exactly these sub-operations are supported:
135 * * XEN_DMOP_create_ioreq_server
136 * * XEN_DMOP_get_ioreq_server_info
137 * * XEN_DMOP_map_io_range_to_ioreq_server
138 * * XEN_DMOP_unmap_io_range_from_ioreq_server
139 * * XEN_DMOP_set_ioreq_server_state
140 * * XEN_DMOP_destroy_ioreq_server
141 * * XEN_DMOP_set_irq_level
142 * * XEN_DMOP_nr_vcpus
143 *
144 * HYPERVISOR_xsm_op
145 * All generic sub-operations
146 *
147 * HYPERVISOR_multicall
148 *
149 * Other notes on the ARM ABI:
150 *
151 * - struct start_info is not exported to ARM guests.
152 *
153 * - struct shared_info is mapped by ARM guests using the
154 * HYPERVISOR_memory_op sub-op XENMEM_add_to_physmap, passing
155 * XENMAPSPACE_shared_info as space parameter.
156 *
157 * - All the per-cpu struct vcpu_info are mapped by ARM guests using the
158 * HYPERVISOR_vcpu_op sub-op VCPUOP_register_vcpu_info, including cpu0
159 * struct vcpu_info.
160 *
161 * - The grant table is mapped using the HYPERVISOR_memory_op sub-op
162 * XENMEM_add_to_physmap, passing XENMAPSPACE_grant_table as space
163 * parameter. The memory range specified under the Xen compatible
164 * hypervisor node on device tree can be used as target gpfn for the
165 * mapping.
166 *
167 * - Xenstore is initialized by using the two hvm_params
168 * HVM_PARAM_STORE_PFN and HVM_PARAM_STORE_EVTCHN. They can be read
169 * with the HYPERVISOR_hvm_op sub-op HVMOP_get_param.
170 *
171 * - The paravirtualized console is initialized by using the two
172 * hvm_params HVM_PARAM_CONSOLE_PFN and HVM_PARAM_CONSOLE_EVTCHN. They
173 * can be read with the HYPERVISOR_hvm_op sub-op HVMOP_get_param.
174 *
175 * - Event channel notifications are delivered using the percpu GIC
176 * interrupt specified under the Xen compatible hypervisor node on
177 * device tree.
178 *
179 * - The device tree Xen compatible node is fully described under Linux
180 * at Documentation/devicetree/bindings/arm/xen.txt.
181 */
182
183#define XEN_HYPERCALL_TAG 0XEA1
184
185#if defined(__XEN__) || defined(__XEN_TOOLS__) || defined(__GNUC__)
186#define int64_aligned_t int64_t __attribute__((__aligned__(8)))
187#define uint64_aligned_t uint64_t __attribute__((__aligned__(8)))
188#endif
189
190#ifndef __ASSEMBLY__
191#define ___DEFINE_XEN_GUEST_HANDLE(name, type) \
192 typedef union { type *p; unsigned long q; } \
193 __guest_handle_ ## name; \
194 typedef union { type *p; uint64_aligned_t q; } \
195 __guest_handle_64_ ## name
196
197/*
198 * XEN_GUEST_HANDLE represents a guest pointer, when passed as a field
199 * in a struct in memory. On ARM is always 8 bytes sizes and 8 bytes
200 * aligned.
201 * XEN_GUEST_HANDLE_PARAM represents a guest pointer, when passed as an
202 * hypercall argument. It is 4 bytes on aarch32 and 8 bytes on aarch64.
203 */
204#define __DEFINE_XEN_GUEST_HANDLE(name, type) \
205 ___DEFINE_XEN_GUEST_HANDLE(name, type); \
206 ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type)
207#define DEFINE_XEN_GUEST_HANDLE(name) __DEFINE_XEN_GUEST_HANDLE(name, name)
208#define __XEN_GUEST_HANDLE(name) __guest_handle_64_ ## name
209#define XEN_GUEST_HANDLE(name) __XEN_GUEST_HANDLE(name)
210#define XEN_GUEST_HANDLE_PARAM(name) __guest_handle_ ## name
211#define set_xen_guest_handle_raw(hnd, val) \
212 do { \
213 __typeof__(&(hnd)) _sxghr_tmp = &(hnd); \
214 _sxghr_tmp->q = 0; \
215 _sxghr_tmp->p = (val); \
216 } while ( 0 )
217#define set_xen_guest_handle(hnd, val) set_xen_guest_handle_raw(hnd, val)
218
220#define PRI_xen_pfn PRIx64
221#define PRIu_xen_pfn PRIu64
222
223/*
224 * Maximum number of virtual CPUs in legacy multi-processor guests.
225 * Only one. All other VCPUS must use VCPUOP_register_vcpu_info.
226 */
227#define XEN_LEGACY_MAX_VCPUS 1
228
230#define PRI_xen_ulong PRIx64
231
232#if defined(__XEN__) || defined(__XEN_TOOLS__)
233#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
234/* Anonymous union includes both 32- and 64-bit names (e.g., r0/x0). */
235# define __DECL_REG(n64, n32) union { \
236 uint64_t n64; \
237 uint32_t n32; \
238 }
239#else
240/* Non-gcc sources must always use the proper 64-bit name (e.g., x0). */
241#define __DECL_REG(n64, n32) uint64_t n64
242#endif
243
245{
246 /* Aarch64 Aarch32 */
247 __DECL_REG(x0, r0_usr);
248 __DECL_REG(x1, r1_usr);
249 __DECL_REG(x2, r2_usr);
250 __DECL_REG(x3, r3_usr);
251 __DECL_REG(x4, r4_usr);
252 __DECL_REG(x5, r5_usr);
253 __DECL_REG(x6, r6_usr);
254 __DECL_REG(x7, r7_usr);
255 __DECL_REG(x8, r8_usr);
256 __DECL_REG(x9, r9_usr);
257 __DECL_REG(x10, r10_usr);
258 __DECL_REG(x11, r11_usr);
259 __DECL_REG(x12, r12_usr);
260
261 __DECL_REG(x13, sp_usr);
262 __DECL_REG(x14, lr_usr);
263
264 __DECL_REG(x15, __unused_sp_hyp);
265
266 __DECL_REG(x16, lr_irq);
267 __DECL_REG(x17, sp_irq);
268
269 __DECL_REG(x18, lr_svc);
270 __DECL_REG(x19, sp_svc);
271
272 __DECL_REG(x20, lr_abt);
273 __DECL_REG(x21, sp_abt);
274
275 __DECL_REG(x22, lr_und);
276 __DECL_REG(x23, sp_und);
277
278 __DECL_REG(x24, r8_fiq);
279 __DECL_REG(x25, r9_fiq);
280 __DECL_REG(x26, r10_fiq);
281 __DECL_REG(x27, r11_fiq);
282 __DECL_REG(x28, r12_fiq);
283
284 __DECL_REG(x29, sp_fiq);
285 __DECL_REG(x30, lr_fiq);
286
287 /* Return address and mode */
288 __DECL_REG(pc64, pc32); /* ELR_EL2 */
289 uint64_t cpsr; /* SPSR_EL2 */
290
291 union {
292 uint64_t spsr_el1; /* AArch64 */
293 uint32_t spsr_svc; /* AArch32 */
294 };
295
296 /* AArch32 guests only */
297 uint32_t spsr_fiq, spsr_irq, spsr_und, spsr_abt;
298
299 /* AArch64 guests only */
300 uint64_t sp_el0;
301 uint64_t sp_el1, elr_el1;
302};
305
306#undef __DECL_REG
307
308struct vcpu_guest_context {
309#define _VGCF_online 0
310#define VGCF_online (1<<_VGCF_online)
311 uint32_t flags; /* VGCF_* */
312
313 struct vcpu_guest_core_regs user_regs; /* Core CPU registers */
314
315 uint64_t sctlr;
316 uint64_t ttbcr, ttbr0, ttbr1;
317};
320
321/*
322 * struct xen_arch_domainconfig's ABI is covered by
323 * XEN_DOMCTL_INTERFACE_VERSION.
324 */
325#define XEN_DOMCTL_CONFIG_GIC_NATIVE 0
326#define XEN_DOMCTL_CONFIG_GIC_V2 1
327#define XEN_DOMCTL_CONFIG_GIC_V3 2
328
329#define XEN_DOMCTL_CONFIG_TEE_NONE 0
330#define XEN_DOMCTL_CONFIG_TEE_OPTEE 1
331#define XEN_DOMCTL_CONFIG_TEE_FFA 2
332
333#define XEN_DOMCTL_CONFIG_ARM_SCI_NONE 0
334#define XEN_DOMCTL_CONFIG_ARM_SCI_SCMI_SMC 1
335
337 /* IN/OUT */
338 uint8_t gic_version;
339 /* IN - Contains SVE vector length divided by 128 */
340 uint8_t sve_vl;
341 /* IN */
342 uint16_t tee_type;
343 /* IN */
344 uint32_t nr_spis;
345 /*
346 * OUT
347 * Based on the property clock-frequency in the DT timer node.
348 * The property may be present when the bootloader/firmware doesn't
349 * set correctly CNTFRQ which hold the timer frequency.
350 *
351 * As it's not possible to trap this register, we have to replicate
352 * the value in the guest DT.
353 *
354 * = 0 => property not present
355 * > 0 => Value of the property
356 *
357 */
358 uint32_t clock_frequency;
359 /* IN */
360 uint8_t arm_sci_type;
361};
362#endif /* __XEN__ || __XEN_TOOLS__ */
363
364struct arch_vcpu_info {
365};
367
368struct arch_shared_info {
369};
372
373#endif
374
375#if defined(__XEN__) || defined(__XEN_TOOLS__)
376
377/* PSR bits (CPSR, SPSR) */
378
379#define PSR_THUMB (1U <<5) /* Thumb Mode enable */
380#define PSR_FIQ_MASK (1U <<6) /* Fast Interrupt mask */
381#define PSR_IRQ_MASK (1U <<7) /* Interrupt mask */
382#define PSR_ABT_MASK (1U <<8) /* Asynchronous Abort mask */
383#define PSR_BIG_ENDIAN (1U << 9) /* arm32: Big Endian Mode */
384#define PSR_DBG_MASK (1U << 9) /* arm64: Debug Exception mask */
385#define PSR_IT_MASK (0x0600fc00U) /* Thumb If-Then Mask */
386#define PSR_JAZELLE (1U << 24) /* Jazelle Mode */
387#define PSR_Z (1U << 30) /* Zero condition flag */
388
389/* 32 bit modes */
390#define PSR_MODE_USR 0x10U
391#define PSR_MODE_FIQ 0x11U
392#define PSR_MODE_IRQ 0x12U
393#define PSR_MODE_SVC 0x13U
394#define PSR_MODE_MON 0x16U
395#define PSR_MODE_ABT 0x17U
396#define PSR_MODE_HYP 0x1aU
397#define PSR_MODE_UND 0x1bU
398#define PSR_MODE_SYS 0x1fU
399
400/* 64 bit modes */
401#define PSR_MODE_BIT 0x10U /* Set iff AArch32 */
402#define PSR_MODE_EL3h 0x0dU
403#define PSR_MODE_EL3t 0x0cU
404#define PSR_MODE_EL2h 0x09U
405#define PSR_MODE_EL2t 0x08U
406#define PSR_MODE_EL1h 0x05U
407#define PSR_MODE_EL1t 0x04U
408#define PSR_MODE_EL0t 0x00U
409
410/*
411 * We set PSR_Z to be able to boot Linux kernel versions with an invalid
412 * encoding of the first 8 NOP instructions. See commit a92882a4d270 in
413 * Linux.
414 *
415 * Note that PSR_Z is also set by U-Boot and QEMU -kernel when loading
416 * zImage kernels on aarch32.
417 */
418#define PSR_GUEST32_INIT (PSR_Z|PSR_ABT_MASK|PSR_FIQ_MASK|PSR_IRQ_MASK|PSR_MODE_SVC)
419#define PSR_GUEST64_INIT (PSR_ABT_MASK|PSR_FIQ_MASK|PSR_IRQ_MASK|PSR_MODE_EL1h)
420
421#define SCTLR_GUEST_INIT xen_mk_ullong(0x00c50078)
422
423/*
424 * Virtual machine platform (memory layout, interrupts)
425 *
426 * These are defined for consistency between the tools and the
427 * hypervisor. Guests must not rely on these hardcoded values but
428 * should instead use the FDT.
429 */
430
431/* Physical Address Space */
432
433/* Virtio MMIO mappings */
434#define GUEST_VIRTIO_MMIO_BASE xen_mk_ullong(0x02000000)
435#define GUEST_VIRTIO_MMIO_SIZE xen_mk_ullong(0x00100000)
436
437/*
438 * vGIC mappings: Only one set of mapping is used by the guest.
439 * Therefore they can overlap.
440 */
441
442/* vGIC v2 mappings */
443#define GUEST_GICD_BASE xen_mk_ullong(0x03001000)
444#define GUEST_GICD_SIZE xen_mk_ullong(0x00001000)
445#define GUEST_GICC_BASE xen_mk_ullong(0x03002000)
446#define GUEST_GICC_SIZE xen_mk_ullong(0x00002000)
447
448/* vGIC v3 mappings */
449#define GUEST_GICV3_GICD_BASE xen_mk_ullong(0x03001000)
450#define GUEST_GICV3_GICD_SIZE xen_mk_ullong(0x00010000)
451
452#define GUEST_GICV3_RDIST_REGIONS 1
453
454#define GUEST_GICV3_GICR0_BASE xen_mk_ullong(0x03020000) /* vCPU0..127 */
455#define GUEST_GICV3_GICR0_SIZE xen_mk_ullong(0x01000000)
456
457/*
458 * 256 MB is reserved for VPCI configuration space based on calculation
459 * 256 buses x 32 devices x 8 functions x 4 KB = 256 MB
460 */
461#define GUEST_VPCI_ECAM_BASE xen_mk_ullong(0x10000000)
462#define GUEST_VPCI_ECAM_SIZE xen_mk_ullong(0x10000000)
463
464/* ACPI tables physical address */
465#define GUEST_ACPI_BASE xen_mk_ullong(0x20000000)
466#define GUEST_ACPI_SIZE xen_mk_ullong(0x02000000)
467
468/* PL011 mappings */
469#define GUEST_PL011_BASE xen_mk_ullong(0x22000000)
470#define GUEST_PL011_SIZE xen_mk_ullong(0x00001000)
471
472/* Guest PCI-PCIe memory space where config space and BAR will be available.*/
473#define GUEST_VPCI_ADDR_TYPE_MEM xen_mk_ullong(0x02000000)
474#define GUEST_VPCI_MEM_ADDR xen_mk_ullong(0x23000000)
475#define GUEST_VPCI_MEM_SIZE xen_mk_ullong(0x10000000)
476
477/*
478 * 16MB == 4096 pages reserved for guest to use as a region to map its
479 * grant table in.
480 */
481#define GUEST_GNTTAB_BASE xen_mk_ullong(0x38000000)
482#define GUEST_GNTTAB_SIZE xen_mk_ullong(0x01000000)
483
484#define GUEST_MAGIC_BASE xen_mk_ullong(0x39000000)
485#define GUEST_MAGIC_SIZE xen_mk_ullong(0x01000000)
486
487#define GUEST_RAM_BANKS 2
488
489/*
490 * The way to find the extended regions (to be exposed to the guest as unused
491 * address space) relies on the fact that the regions reserved for the RAM
492 * below are big enough to also accommodate such regions.
493 */
494#define GUEST_RAM0_BASE xen_mk_ullong(0x40000000) /* 3GB of low RAM @ 1GB */
495#define GUEST_RAM0_SIZE xen_mk_ullong(0xc0000000)
496
497/* 4GB @ 4GB Prefetch Memory for VPCI */
498#define GUEST_VPCI_ADDR_TYPE_PREFETCH_MEM xen_mk_ullong(0x43000000)
499#define GUEST_VPCI_PREFETCH_MEM_ADDR xen_mk_ullong(0x100000000)
500#define GUEST_VPCI_PREFETCH_MEM_SIZE xen_mk_ullong(0x100000000)
501
502#define GUEST_RAM1_BASE xen_mk_ullong(0x0200000000) /* 1016GB of RAM @ 8GB */
503#define GUEST_RAM1_SIZE xen_mk_ullong(0xfe00000000)
504
505#define GUEST_RAM_BASE GUEST_RAM0_BASE /* Lowest RAM address */
506/* Largest amount of actual RAM, not including holes */
507#define GUEST_RAM_MAX (GUEST_RAM0_SIZE + GUEST_RAM1_SIZE)
508/* Suitable for e.g. const uint64_t ramfoo[] = GUEST_RAM_BANK_FOOS; */
509#define GUEST_RAM_BANK_BASES { GUEST_RAM0_BASE, GUEST_RAM1_BASE }
510#define GUEST_RAM_BANK_SIZES { GUEST_RAM0_SIZE, GUEST_RAM1_SIZE }
511
512/* Current supported guest VCPUs */
513#define GUEST_MAX_VCPUS 128
514
515/* Interrupts */
516
517#define GUEST_TIMER_VIRT_PPI 27
518#define GUEST_TIMER_PHYS_S_PPI 29
519#define GUEST_TIMER_PHYS_NS_PPI 30
520#define GUEST_EVTCHN_PPI 31
521
522#define GUEST_VPL011_SPI 32
523
524#define GUEST_VIRTIO_MMIO_SPI_FIRST 33
525#define GUEST_VIRTIO_MMIO_SPI_LAST 43
526
527/*
528 * SGI is the preferred delivery mechanism of FF-A pending notifications or
529 * schedule recveive interrupt. SGIs 8-15 are normally not used by a guest
530 * as they in a non-virtualized system typically are assigned to the secure
531 * world. Here we're free to use SGI 8-15 since they are virtual and have
532 * nothing to do with the secure world.
533 *
534 * For partitioning of SGIs see also Arm Base System Architecture v1.0C,
535 * https://developer.arm.com/documentation/den0094/
536 */
537#define GUEST_FFA_NOTIF_PEND_INTR_ID 8
538#define GUEST_FFA_SCHEDULE_RECV_INTR_ID 9
539
540/* PSCI functions */
541#define PSCI_cpu_suspend 0
542#define PSCI_cpu_off 1
543#define PSCI_cpu_on 2
544#define PSCI_migrate 3
545
546#endif
547
548#ifndef __ASSEMBLY__
549/* Stub definition of PMU structure */
551#endif
552
553#endif /* __XEN_PUBLIC_ARCH_ARM_H__ */
554
555/*
556 * Local variables:
557 * mode: C
558 * c-file-style: "BSD"
559 * c-basic-offset: 4
560 * tab-width: 4
561 * indent-tabs-mode: nil
562 * End:
563 */
struct arch_vcpu_info arch_vcpu_info_t
Definition arch-arm.h:366
struct arch_shared_info arch_shared_info_t
Definition arch-arm.h:370
uint64_t xen_callback_t
Definition arch-arm.h:371
struct xen_pmu_arch xen_pmu_arch_t
#define DEFINE_XEN_GUEST_HANDLE(name)
Definition arch-arm.h:207
struct vcpu_guest_core_regs vcpu_guest_core_regs_t
Definition arch-ppc.h:83
struct vcpu_guest_context vcpu_guest_context_t
Definition arch-ppc.h:93
unsigned short uint16_t
Definition stdint.h:11
unsigned int uint32_t
Definition stdint.h:12
unsigned long long uint64_t
Definition stdint.h:13
unsigned char uint8_t
Definition stdint.h:10
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
unsigned long xen_ulong_t
Definition nonxen.h:30
unsigned long xen_pfn_t
Definition nonxen.h:28
vcpu_guest_core_regs_t user_regs
Definition arch-ppc.h:89
unsigned long flags
Definition xen.h:178
uint8_t dummy
Definition arch-arm.h:550
#define __DECL_REG(name)
Definition xen-x86_64.h:155