| /openbmc/qemu/bsd-user/ |
| H A D | strace.c | 25 #include "user/tswap-target.h" 27 #include "os-strace.h" /* OS dependent strace print functions */ 60 gemu_log("%s({ ", name->name); in print_sysctl() 86 gemu_log("%s(\"%s\",{", name->name, s); in print_execve() 116 name->name, in print_ioctl() 142 if (ret == -1) { in print_syscall_ret_addr() 143 gemu_log(" = -1 errno=%d (%s)\n", errno, strerror(errno)); in print_syscall_ret_addr() 163 static void print_syscall(int num, const struct syscallname *scnames, in print_syscall() argument 175 if (scnames[i].nr == num) { in print_syscall() 181 host types and host pointers for strings */ in print_syscall() [all …]
|
| H A D | qemu.h | 25 #include "accel/tcg/cpu-ldst.h" 29 #include "user/page-protection.h" 42 #include "exec/page-protection.h" 43 #include "accel/tcg/vcpu-state.h" 45 #include "qemu-os.h" 131 * maximum env+arg in 32-bit environments, bump it up to 512k for !ILP32 178 abi_long do_freebsd_syscall(void *cpu_env, int num, abi_long arg1, 182 abi_long do_netbsd_syscall(void *cpu_env, int num, abi_long arg1, 185 abi_long do_openbsd_syscall(void *cpu_env, int num, abi_long arg1, 209 print_freebsd_syscall(int num, [all …]
|
| /openbmc/openbmc/meta-hpe/meta-common/recipes-phosphor/recipes-graphics/obmc-ikvm/ |
| H A D | create_usbhid.sh | 18 mkdir strings/0x409 20 echo "OpenBMC" > strings/0x409/manufacturer 21 echo "virtual_input" > strings/0x409/product 22 echo "OBMC0001" > strings/0x409/serialnumber 49 # 0x19, 0x01, // USAGE_MINIMUM (Num Lock) 103 # 0x15, 0xff, // LOGICAL_MINIMUM (-1) 105 # 0x35, 0x00, // PHYSICAL_MINIMUM (-127) 116 mkdir configs/c.1/strings/0x409 120 echo "" > configs/c.1/strings/0x409/configuration 123 ln -s functions/hid.0 configs/c.1 [all …]
|
| /openbmc/openbmc-test-automation/ipmi/ |
| H A D | test_ipmi_fru_device.robot | 71 # Compare read FRU data Count returned -- count is ‘1’ based, with inventory area count. 88 # Verify response for invalid response data - extra bytes. 164 # Chassis Part Number : xxx-xxxxx-xxxx-xxx, 173 # Product Part Number : xxx-xxxx-xxxx-xxx 182 ${num}= Set Variable 0 192 ${frudata}= Get From List ${output} ${num} 203 ${num}= Evaluate int(${num}) + 1 265 ${serial_no_status}= Run Keyword And Return Status Should Be Equal As Strings 291 # .BOARD_PART_NUMBER property s "111.22222.0000" emits-change 306 # format = %Y-%m-%d - %H:%M:%S and validated against dbus FRU data. [all …]
|
| /openbmc/obmc-ikvm/ |
| H A D | create_usbhid.sh | 7 DEV_NAME="1e6a0000.usb-vhub" 9 DEV_NAME="12060000.usb-vhub" 11 DEV_NAME="1e6a0000.usb-vhub" 28 mkdir strings/0x409 30 echo "OpenBMC" > strings/0x409/manufacturer 31 echo "Virtual Keyboard and Mouse" > strings/0x409/product 32 echo "OBMC0001" > strings/0x409/serialnumber 59 # 0x19, 0x01, // USAGE_MINIMUM (Num Lock) 113 # 0x15, 0xff, // LOGICAL_MINIMUM (-1) 115 # 0x35, 0x00, // PHYSICAL_MINIMUM (-127) [all …]
|
| /openbmc/u-boot/lib/ |
| H A D | vsprintf.c | 7 /* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */ 9 * Wirzenius wrote this portably, Torvalds fucked it up :-) 11 * from hush: simple_itoa() was lifted from boa-0.93.15 36 i = i * 10 + *((*s)++) - '0'; in skip_atoi() 50 * On i386 gcc 4.1.2 -O2: ~250 bytes of code. */ 60 d0 = d0 - 10*q; in put_dec_trunc() 65 d1 = d1 - 10*q; in put_dec_trunc() 71 d2 = d2 - 10*q; in put_dec_trunc() 77 d3 = d3 - 10*q; in put_dec_trunc() 89 /* BTW, if q is in [0,9999], 8-bit ints will be enough, */ in put_dec_full() [all …]
|
| /openbmc/qemu/include/io/ |
| H A D | channel-socket.h | 29 #define TYPE_QIO_CHANNEL_SOCKET "qio-channel-socket" 40 * parameters and getting socket address strings. 71 * @errp: pointer to a NULL-initialized error object 87 * @errp: pointer to a NULL-initialized error object 127 * @num: the expected amount of connections 128 * @errp: pointer to a NULL-initialized error object 137 int num, 144 * @num: the expected amount of connections 160 int num, 172 * @errp: pointer to a NULL-initialized error object [all …]
|
| /openbmc/u-boot/cmd/ |
| H A D | tpm-common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <tpm-common.h> 14 #include "tpm-user-utils.h" 19 * Print a byte string in hexdecimal format, 16-bytes per line. 81 * report_return_code() - Report any error and return failure or success 165 * @param values text strings of values to be packed 167 * Return: 0 on success, non-0 on error 191 return -1; in type_string_pack() 205 * Return: 0 on success, non-0 on error 228 return -1; in type_string_write_vars() [all …]
|
| H A D | fdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 * Global data (for the gd->bd) 128 argc -= 2; in do_fdt() 130 /* Temporary #ifdef - some archs don't have fdt_blob yet */ in do_fdt() 132 if (argc && !strcmp(*argv, "-c")) { in do_fdt() 134 argc--; in do_fdt() 140 blob = (struct fdt_header *)gd->fdt_blob; in do_fdt() 156 gd->fdt_blob = blob; in do_fdt() 241 /* Call the board-specific fixup routine */ in do_fdt() 243 int err = ft_system_setup(working_fdt, gd->bd); in do_fdt() [all …]
|
| /openbmc/smbios-mdr/src/ |
| H A D | mdrv2.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 23 #include <phosphor-logging/elog-errors.hpp> 42 "Read data from flash error - Open MDRV2 table file failure"); in getDirectoryInformation() 54 uint8_t returnedEntries = smbiosDir.dirEntries - dirIndex; in getDirectoryInformation() 63 smbiosDir.dirEntries - dirIndex - returnedEntries); in getDirectoryInformation() 208 lg2::error("Read data from flash error - Invalid mdr header"); in readDataFromFlash() 213 lg2::error("Read data from flash error - Invalid data point"); in readDataFromFlash() 220 "Read data from flash error - Open MDRV2 table file failure"); in readDataFromFlash() 233 if (mdrHdr->dataSize > smbiosTableStorageSize) in readDataFromFlash() 239 fileLength -= sizeof(MDRSMBIOSHeader); in readDataFromFlash() [all …]
|
| /openbmc/openbmc/meta-arm/ci/ |
| H A D | patchreview | 3 # SPDX-License-Identifier: GPL-2.0-only 7 # - option to just list all broken files 8 # - test suite 9 # - validate signed-off-by 29 # Whether the patch has an Upstream-Status or not 31 # If the Upstream-Status tag is malformed in some way (string for bad bit) 33 # If the Upstream-Status value is unknown (boolean) 37 # Whether the patch has a Signed-off-by or not 39 # Whether the Signed-off-by tag is malformed in some way 41 # The Signed-off-by tag value [all …]
|
| /openbmc/openbmc-test-automation/redfish/systems/ |
| H A D | test_systems_inventory.robot | 71 Should Be Equal As Strings Enabled ${memory_summary_state} 76 [Documentation] Check that the System SerialNumber is non-blank. 85 [Documentation] Check that the Model is non-blank. 123 [Documentation] Check that the Motherboard SerialNumber is non-blank. 132 [Documentation] Check that the Motherboard manufacturer is non-blank. 141 [Documentation] Check that the Motherboard partnumber is non-blank. 151 ... in the system. A system may have 0-6 GPUs. 154 # System was powered-on in Suite Setup. 250 Should Be Equal As Strings ${resp["Boot"]["${action_type}"]} ${parameter} 260 Should Be Equal As Strings ${resp["Boot"]["${action_type}"]} ${default_action_type} [all …]
|
| /openbmc/openbmc/poky/scripts/contrib/ |
| H A D | patchreview.py | 5 # SPDX-License-Identifier: GPL-2.0-only 22 # - option to just list all broken files 23 # - test suite 24 # - validate signed-off-by 26 … = ("accepted", "pending", "inappropriate", "backport", "submitted", "denied", "inactive-upstream") 29 # Whether the patch has an Upstream-Status or not 31 # If the Upstream-Status tag is malformed in some way (string for bad bit) 33 # If the Upstream-Status value is unknown (boolean) 37 # Whether the patch has a Signed-off-by or not 39 # Whether the Signed-off-by tag is malformed in some way [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/ |
| H A D | uutils-coreutils-crates.inc | 1 # Autogenerated with 'bitbake -c update_crates uutils-coreutils' 6 crate://crates.io/aho-corasick/1.1.3 \ 7 crate://crates.io/allocator-api2/0.2.21 \ 8 crate://crates.io/android-tzdata/0.1.1 \ 10 crate://crates.io/ansi-width/0.1.0 \ 13 crate://crates.io/anstyle-parse/0.2.6 \ 14 crate://crates.io/anstyle-query/1.1.2 \ 15 crate://crates.io/anstyle-wincon/3.0.7 \ 21 crate://crates.io/binary-heap-plus/0.5.0 \ 30 crate://crates.io/block-buffer/0.10.4 \ [all …]
|
| /openbmc/qemu/bsd-user/freebsd/ |
| H A D | os-sys.c | 4 * Copyright (c) 2013-15 Stacey D. Son 28 * 0 means variable length for strings and structures 30 * Note: Not all types appear to be used in-tree. 64 * Limit the amount of available memory to be most of the 32-bit address 68 static const abi_ulong guest_max_mem = UINT32_MAX - 0x100c000 + 1; 106 * placeholder until bsd-user downstream upstreams this with its thread support 153 * For strings and node data, there's no conversion needed. 204 * 32-bit and 64-bit machines. All other integral types have the in h2g_old_sysctl() 238 size_t i, num = holdlen / sizeof(uint32_t); in sysctl_name2oid() local 240 for (i = 0; i < num; i++) { in sysctl_name2oid() [all …]
|
| /openbmc/u-boot/include/dm/ |
| H A D | read.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 21 return ofnode_to_np(dev->node); in dev_np() 31 * dev_ofnode() - get the DT node reference associated with a udevice 38 return dev->node; in dev_ofnode() 48 * dev_read_u32() - read a 32-bit integer from a device's DT property 53 * @return 0 if OK, -ve on error 58 * dev_read_u32_default() - read a 32-bit integer from a device's DT property 68 * dev_read_s32() - read a signed 32-bit integer from a device's DT property 73 * @return 0 if OK, -ve on error 78 * dev_read_s32_default() - read a signed 32-bit int from a device's DT property [all …]
|
| /openbmc/qemu/target/hexagon/idef-parser/ |
| H A D | parser-helpers.c | 2 * Copyright(c) 2019-2023 rev.ng Labs Srl. All Rights Reserved. 28 #include "idef-parser.h" 29 #include "parser-helpers.h" 30 #include "idef-parser.tab.h" 31 #include "idef-parser.yy.h" 38 const char *code_ptr = c->input_buffer; in yyerror() 40 fprintf(stderr, "WARNING (%s): '%s'\n", c->inst.name->str, s); in yyerror() 43 for (int i = locp->first_column; i < locp->last_column; i++) { in yyerror() 52 code_ptr[locp->first_column - 10 + i] != '\0' && in yyerror() 53 code_ptr[locp->first_column - 10 + i] != '\n'; in yyerror() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/deqp-runner/ |
| H A D | deqp-runner-crates.inc | 1 # Autogenerated with 'bitbake -c update_crates deqp-runner' 6 crate://crates.io/aho-corasick/1.1.3 \ 7 crate://crates.io/android-tzdata/0.1.1 \ 18 crate://crates.io/cfg-if/1.0.0 \ 21 crate://crates.io/core-foundation-sys/0.8.7 \ 24 crate://crates.io/criterion-plot/0.4.5 \ 25 crate://crates.io/crossbeam-deque/0.8.6 \ 26 crate://crates.io/crossbeam-epoch/0.9.18 \ 27 crate://crates.io/crossbeam-utils/0.8.21 \ 29 crate://crates.io/csv-core/0.1.12 \ [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-click-spinner/ |
| H A D | 0001-Update-Versioneer-to-0.22.patch | 6 Upstream-Status: Backport [https://github.com/click-contrib/click-spinner/commit/5622ab0a0b4296dc8f… 8 Signed-off-by: Ny Antra Ranaivoarison <nyantra.ranaivoarison@smile.fr> 9 --- 10 click_spinner/__init__.py | 5 +- 11 click_spinner/_version.py | 665 +++++++++++++++++++++- 12 versioneer.py | 1128 ++++++++++++++++++++++++------------- 13 3 files changed, 1400 insertions(+), 398 deletions(-) 15 diff --git a/click_spinner/__init__.py b/click_spinner/__init__.py 17 --- a/click_spinner/__init__.py 19 @@ -77,6 +77,5 @@ def spinner(beep=False, disable=False, force=False, stream=sys.stdout): [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
| H A D | 0001-localedef-Add-hardlink-resolver-from-util-linux.patch | 3 Date: Sat, 7 Dec 2019 09:59:22 -0800 4 Subject: [PATCH] localedef: Add hardlink resolver from util-linux 27 The solution is to call localedef with --no-hard-links and separately 30 util-linux. Most host systems do not have this, so it will be 31 included with the cross-localedef binary. 36 Upstream-Status: Pending 38 Signed-off-by: Jason Wessel <jason.wessel@windriver.com> 39 Signed-off-by: Khem Raj <raj.khem@gmail.com> 40 --- 42 locale/programs/cross-localedef-hardlink.c | 528 +++++++++++++++++++++ [all …]
|
| /openbmc/openbmc/poky/scripts/lib/wic/ |
| H A D | ksparser.py | 5 # SPDX-License-Identifier: GPL-2.0-only 35 key = m.group()[2:-1] 58 Converts size string in <num>[S|s|K|k|M|G] format into the integer value 65 suffix = arg[-1:] 66 size = int(arg[:-1]) 150 part.add_argument('--active', action='store_true') 151 part.add_argument('--align', type=int) 152 part.add_argument('--offset', type=sizetype("K", True)) 153 part.add_argument('--exclude-path', nargs='+') 154 part.add_argument('--include-path', nargs='+', action='append') [all …]
|
| /openbmc/u-boot/disk/ |
| H A D | part_amiga.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Hans-Joerg Frieden, Hyperion Entertainment 5 * Hans-JoergF@hyperion-entertainment.com 43 len--; in bcpl_strcpy() 49 * Print a BCPL String. BCPL strings start with a byte with the length 62 len--; in bstr_print() 66 printf("%-10s", buffer); in bstr_print() 80 for (i = 0; i < header->summed_longs; i++) in sum_block() 87 * Print an AmigaOS disk type. Disk types are a four-byte identifier 88 * describing the file system. They are usually written as a three-letter [all …]
|
| /openbmc/u-boot/doc/driver-model/ |
| H A D | of-plat.txt | 1 Driver Model Compiled-in Device Tree / Platform Data 6 ------------ 8 Device tree is the standard configuration method in U-Boot. It is used to 12 The overhead of adding device tree access to U-Boot is fairly modest, 16 However there are some very constrained environments where U-Boot needs to 26 As an alternative, a new 'of-platdata' feature is provided. This converts the 37 ------- 42 - Device tree does not describe data types. But the C code must define a 44 are wrong in several fairly common cases. For example an 8-byte value 45 is considered to be a 2-item integer array, and is byte-swapped. A [all …]
|
| /openbmc/u-boot/include/ |
| H A D | fdtdec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 * drivers and board-specific code within U-Boot. It aims to reduce the 13 * amount of FDT munging required within U-Boot itself, so that driver code 27 #define FDT_ADDR_T_NONE (-1U) 32 #define FDT_ADDR_T_NONE (-1U) 59 * be equal to: end - start + 1. 93 * t: is 1 if the address is aliased (for non-relocatable I/O) below 1MB 96 * bbbbbbbb: is the 8-bit Bus Number 97 * ddddd: is the 5-bit Device Number 98 * fff: is the 3-bit Function Number [all …]
|
| /openbmc/qemu/tests/functional/acpi-bits/bits-tests/ |
| H A D | smbios.py2 | 4 # SPDX-License-Identifier: BSD-3-Clause 45 if sys.platform == "BITS-EFI": 77 def structure_type(self, num): 90 return matrix[num] 92 print "Failure: Type {} - not found".format(num) 136 strings = list(iter(unpack_string, "")) 137 if not strings: 140 self.strings_length = u.offset - self.strings_offset 143 if len(strings): 144 self.strings = strings [all …]
|