Home
last modified time | relevance | path

Searched full:endian (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/qemu/docs/devel/
H A Dloads-stores.rst27 load: ``ld{sign}{size}_{endian}_p(ptr)``
29 store: ``st{size}_{endian}_p(ptr, val)``
43 ``endian``
44 - ``he`` : host endian
45 - ``be`` : big endian
46 - ``le`` : little endian
48 The ``_{endian}`` infix is omitted for target-endian accesses.
50 The target endian accessors are only available to source
55 load: ``ldn{endian}_p(ptr, sz)``
58 as an ``{endian}`` order value and returns it in a uint64_t.
[all …]
/qemu/include/qemu/
H A Dbswap.h114 #define CPU_CONVERT(endian, size, type)\ argument
115 static inline type endian ## size ## _to_cpu(type v)\
117 return glue(endian, _bswap)(v, size);\
120 static inline type cpu_to_ ## endian ## size(type v)\
122 return glue(endian, _bswap)(v, size);\
125 static inline void endian ## size ## _to_cpus(type *p)\
127 glue(endian, _bswaps)(p, size);\
130 static inline void cpu_to_ ## endian ## size ## s(type *p)\
132 glue(endian, _bswaps)(p, size);\
174 /* unaligned/endian-independent pointer access */
[all …]
/qemu/include/standard-headers/drm/
H A Ddrm_fourcc.h107 #define DRM_FORMAT_BIG_ENDIAN (1U<<31) /* format is big endian instead of little endian */
143 #define DRM_FORMAT_R10 fourcc_code('R', '1', '0', ' ') /* [15:0] x:R 6:10 little endian */
146 #define DRM_FORMAT_R12 fourcc_code('R', '1', '2', ' ') /* [15:0] x:R 4:12 little endian */
149 #define DRM_FORMAT_R16 fourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */
152 #define DRM_FORMAT_RG88 fourcc_code('R', 'G', '8', '8') /* [15:0] R:G 8:8 little endian */
153 #define DRM_FORMAT_GR88 fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */
156 #define DRM_FORMAT_RG1616 fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16:16 little endian */
157 #define DRM_FORMAT_GR1616 fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16:16 little endian */
164 #define DRM_FORMAT_XRGB4444 fourcc_code('X', 'R', '1', '2') /* [15:0] x:R:G:B 4:4:4:4 little endian
165 #define DRM_FORMAT_XBGR4444 fourcc_code('X', 'B', '1', '2') /* [15:0] x:B:G:R 4:4:4:4 little endian
[all …]
/qemu/system/
H A Dmemory_ldst.c.inc25 enum device_endian endian)
42 MO_32 | devend_memop(endian), attrs);
47 switch (endian) {
94 enum device_endian endian)
111 MO_64 | devend_memop(endian), attrs);
116 switch (endian) {
198 enum device_endian endian)
215 MO_16 | devend_memop(endian), attrs);
220 switch (endian) {
306 MemTxResult *result, enum device_endian endian)
[all …]
/qemu/docs/
H A Dxen-save-devices-state.txt19 32 bit big endian: QEMU_VM_FILE_MAGIC
20 32 bit big endian: QEMU_VM_FILE_VERSION
25 32 bit big endian: section_id
28 32 bit big endian: instance_id
29 32 bit big endian: version_id
/qemu/include/standard-headers/linux/
H A Dvirtio_pcidev.h14 * the @data field should be filled in by the device (in little endian).
16 * the @data field contains the data to write (in little endian).
18 * the @data field should be filled in by the device (in little endian).
20 * the @data field contains the data to write (in little endian).
53 * Note: the fields are all in native (CPU) endian, however, the
54 * @data values will often be in little endian (see the ops above.)
/qemu/target/sparc/
H A Dasi.h127 #define ASI_NL 0x0c /* Nucleus, little endian */
130 #define ASI_AIUPL 0x18 /* Primary, user, little endian */
131 #define ASI_AIUSL 0x19 /* Secondary, user, little endian */
136 #define ASI_PL 0x88 /* Primary, implicit, l-endian */
137 #define ASI_SL 0x89 /* Secondary, implicit, l-endian */
138 #define ASI_PNFL 0x8a /* Primary, no fault, l-endian */
139 #define ASI_SNFL 0x8b /* Secondary, no fault, l-endian */
156 #define ASI_PHYS_USE_EC_L 0x1c /* PADDR, E-cacheable, little endian*/
158 #define ASI_PHYS_BYPASS_EC_E_L 0x1d /* PADDR, E-bit, little endian */
159 #define ASI_BLK_AIUP_L_4V 0x1e /* (4V) Prim, user, block, l-endian*/
[all …]
/qemu/target/i386/kvm/
H A Dtdx-quote-generator.h25 /* Format version: must be 1 in little endian. */
29 * GetQuote status code in little endian:
36 * in-message size in little endian: The message will follow this header.
42 * out-message size in little endian:
/qemu/tests/tcg/aarch64_be/
H A DMakefile.target3 # A super basic AArch64 BE makefile. As we don't have any big-endian
13 # We need to specify big-endian cflags
14 CFLAGS +=-mbig-endian -ffreestanding
/qemu/linux-user/arm/
H A DMakefile.vdso14 $(CC) -o $@ $(LDFLAGS) -mbig-endian -mbe8 $<
17 $(CC) -o $@ $(LDFLAGS) -mbig-endian -mbe32 $<
20 $(CC) -o $@ $(LDFLAGS) -mlittle-endian $<
/qemu/docs/specs/
H A Dfw_cfg.rst20 * Endianness: little-endian (if IOport), or big-endian (if MMIO)
119 Register returns 0x51454d5520434647 (``QEMU CFG`` in big-endian format).
124 A 32-bit little-endian unsigned int, this item is used to check for enabled
142 uint32_t count; /* number of entries, in big-endian format */
147 uint32_t size; /* size of referenced fw_cfg item, big-endian */
148 uint16_t select; /* selector key of fw_cfg item, big-endian */
186 The address register is in big-endian format. The value for the register is 0
202 The fields of the structure are in big endian mode, and the field at the lowest
H A Dstandard-vga.rst79 is supported, bytes are written in little endian order (aka index
93 - ``0xbebebebe`` indicates big endian.
94 - ``0x1e1e1e1e`` indicates little endian.
H A Dvmgenid.rst189 Endian-ness Considerations:
193 device is expected to use little-endian format.
195 All GUID passed in via command line or monitor are treated as big-endian.
196 GUID values displayed via monitor are shown in big-endian format.
/qemu/crypto/
H A Dblock-luks-priv.h79 * This struct is written to disk in big-endian format,
80 * but operated upon in native-endian format.
96 * This struct is written to disk in big-endian format,
97 * but operated upon in native-endian format.
/qemu/docs/user/
H A Dmain.rst158 * ``qemu-mips`` executes 32-bit big endian MIPS binaries (MIPS O32 ABI).
160 * ``qemu-mipsel`` executes 32-bit little endian MIPS binaries (MIPS O32 ABI).
162 * ``qemu-mips64`` executes 64-bit big endian MIPS binaries (MIPS N64 ABI).
164 * ``qemu-mips64el`` executes 64-bit little endian MIPS binaries (MIPS N64
167 * ``qemu-mipsn32`` executes 32-bit big endian MIPS binaries (MIPS N32 ABI).
169 * ``qemu-mipsn32el`` executes 32-bit little endian MIPS binaries (MIPS N32
/qemu/ui/
H A Dqemu-pixman.c93 /* Note: drm is little endian, pixman is native endian */
129 int qemu_pixman_get_type(int rshift, int gshift, int bshift, int endian) in qemu_pixman_get_type() argument
132 bool native_endian = (endian == G_BYTE_ORDER); in qemu_pixman_get_type()
151 pixman_format_code_t qemu_pixman_get_format(PixelFormat *pf, int endian) in qemu_pixman_get_format() argument
156 type = qemu_pixman_get_type(pf->rshift, pf->gshift, pf->bshift, endian); in qemu_pixman_get_format()
/qemu/hw/uefi/
H A DLIMITATIONS.md4 * works only on little endian hosts
5 - accessing structs in guest ram is done without endian conversion.
/qemu/tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/
H A DBiosTablesTest.h52 // has little endian representation.
58 // table, in 8-byte little endian representation. Rsdp20 is the same, for the
69 // little endian representation. Smbios30 is the guest-physical address of
/qemu/include/ui/
H A Dqemu-pixman.h18 * pixman image formats are defined to be native endian,
78 int qemu_pixman_get_type(int rshift, int gshift, int bshift, int endian);
83 pixman_format_code_t qemu_pixman_get_format(PixelFormat *pf, int endian);
/qemu/linux-user/aarch64/
H A DMakefile.vdso13 $(CC) -o $@ $(LDFLAGS) -mbig-endian $<
16 $(CC) -o $@ $(LDFLAGS) -mlittle-endian $<
/qemu/include/hw/nvram/
H A Dfw_cfg.h147 * value, converted to little-endian representation.
159 * value, converted to little-endian representation. The data being replaced,
173 * value, converted to little-endian representation.
185 * value, converted to little-endian representation. The data being replaced,
199 * value, converted to little-endian representation.
211 * value, converted to little-endian representation. The data being replaced,
/qemu/include/hw/southbridge/
H A Dich9.h58 uint64_t smi_host_features; /* guest-invisible, host endian */
60 * endian uint64_t */
62 * endian uint64_t */
65 uint64_t smi_negotiated_features; /* guest-invisible, host endian */
/qemu/include/hw/cxl/
H A Dcxl_events.h130 * All fields little endian.
153 * All fields little endian.
171 * All fields little endian.
/qemu/linux-user/ppc/
H A DMakefile.vdso19 $(CC) -o $@ $(LDFLAGS64) -mbig-endian $<
22 $(CC) -o $@ $(LDFLAGS64) -mlittle-endian $<
/qemu/target/arm/tcg/
H A Darm_ldst.h26 /* Load an instruction and return it in the standard little-endian order */
38 /* In big-endian (BE32) mode, adjacent Thumb instructions have been swapped in arm_lduw_code()

12345678910>>...15