| /openbmc/openbmc/poky/bitbake/lib/hashserv/ |
| H A D | client.py | 3 # SPDX-License-Identifier: GPL-2.0-only 43 # In the event of a restart due to a reconnect, all in-flight 45 for m in self.pending: 46 await socket.send(m) 48 for m in msgs: 52 self.pending.append(m) 56 await socket.send(m) 85 self.mode = self.MODE_NORMAL 92 self.mode = self.MODE_NORMAL 101 async def send_stream_batch(self, mode, msgs): argument [all …]
|
| /openbmc/u-boot/drivers/video/sunxi/ |
| H A D | lcdc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2013-2014 Luc Verhaegen <libv@skynet.be> 6 * (C) Copyright 2014-2015 Hans de Goede <hdegoede@redhat.com> 16 static int lcdc_get_clk_delay(const struct display_timing *mode, int tcon) in lcdc_get_clk_delay() argument 20 delay = mode->vfront_porch.typ + mode->vsync_len.typ + in lcdc_get_clk_delay() 21 mode->vback_porch.typ; in lcdc_get_clk_delay() 22 if (mode->flags & DISPLAY_FLAGS_INTERLACED) in lcdc_get_clk_delay() 25 delay -= 2; in lcdc_get_clk_delay() 33 writel(0, &lcdc->ctrl); /* Disable tcon */ in lcdc_init() 34 writel(0, &lcdc->int0); /* Disable all interrupts */ in lcdc_init() [all …]
|
| /openbmc/u-boot/include/mtd/ |
| H A D | mtd-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al. 45 * @MTD_OPS_RAW: data are transferred as-is, with no error correction; 46 * this mode implies %MTD_OPS_PLACE_OOB 59 * struct mtd_write_req - data structure for requesting a write operation 64 * @usr_data: user-provided data buffer 65 * @usr_oob: user-provided OOB buffer 66 * @mode: MTD mode (see "MTD operation modes") 70 * writes in various modes. To write to OOB-only, set @usr_data == NULL, and to 71 * write data-only, set @usr_oob == NULL. However, setting both @usr_data and [all …]
|
| /openbmc/qemu/docs/specs/ |
| H A D | riscv-aia.rst | 1 .. _riscv-aia: 3 RISC-V AIA support for RISC-V machines 7 RISC-V machine for TCG and KVM accelerators. 11 - "aia=aplic": adds one or more APLIC (Advanced Platform Level Interrupt Controller) 13 - "aia=aplic-imsic": adds one or more APLIC device and an IMSIC (Incoming MSI 18 emulated in userspace versus what is being emulated by an in-kernel irqchip. 20 When running TCG, all controllers are emulated in userspace, including machine mode 21 (m-mode) APLIC and IMSIC (when applicable). 25 - no m-mode is provided, so there is no m-mode APLIC or IMSIC emulation regardless of 26 the AIA mode chosen [all …]
|
| H A D | ppc-spapr-xive.rst | 13 - *Legacy Compatibility Mode* 16 functionality to PAPR+ Version 2.7. This is the default mode 20 - *XIVE native exploitation mode* 30 Both interrupt mode share the same IRQ number space. See below for the 34 --------------- 37 property ``ibm,arch-vec-5-platform-support`` in byte 23 and the OS 38 Selection for XIVE is indicated in the ``ibm,architecture-vec-5`` 43 ``ic-mode`` which can be set on the command line. It can take the 45 default mode. ``dual`` means that both modes XICS **and** XIVE are 46 supported and if the guest OS supports XIVE, this mode will be [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-extended/dlm/dlm/ |
| H A D | 0001-make-Replace-cp-a-with-mode-preserving-options.patch | 3 Date: Tue, 3 Mar 2020 12:38:19 -0800 4 Subject: [PATCH] make: Replace cp -a with mode preserving options 8 Upstream-Status: Pending 9 Signed-off-by: Khem Raj <raj.khem@gmail.com> 10 --- 11 dlm_controld/Makefile | 4 ++-- 12 libdlm/Makefile | 8 ++++---- 13 2 files changed, 6 insertions(+), 6 deletions(-) 15 diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile 17 --- a/dlm_controld/Makefile [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/sanlock/sanlock/ |
| H A D | 0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch | 3 Date: Thu, 21 Nov 2019 13:47:42 -0800 4 Subject: [PATCH] sanlock: Replace "cp -a" with "cp -R --no-dereference 5 --preserve=mode, links" 7 Using "cp -a" leaks UID of user running the builds 9 Upstream-Status: Pending 11 Signed-off-by: Khem Raj <raj.khem@gmail.com> 12 --- 13 src/Makefile | 8 ++++---- 14 wdmd/Makefile | 4 ++-- 15 2 files changed, 6 insertions(+), 6 deletions(-) [all …]
|
| /openbmc/u-boot/board/freescale/mpc832xemds/ |
| H A D | README | 2 ----------------------------------------- 4 1.0 There are five Dual-In-Line Packages(DIP) Switches on MPC832XE SYS board 11 and some of those signals may be high-bit-number-0 too. Heed 17 SW3 is switch 18 as silk-screened onto the board. 28 SW3[1-8]= 0000_1000 (core PLL setting, core enable) 29 SW4[1-8]= 0001_0010 (Flash boot on local bus, system PLL setting) 30 SW5[1-8]= 0010_0110 (Boot from high end) 31 SW6[1-8]= 0011_0100 (Flash boot on 16 bit local bus) 32 SW7[1-8]= 1000_0011 (QE PLL setting) 34 ENET3/4 MII mode settings: [all …]
|
| /openbmc/u-boot/drivers/bios_emulator/ |
| H A D | biosemu.c | 9 * Copyright (C) 1996-1999 SciTech Software, Inc. 41 * Jason ported this file to u-boot to run the ATI video card BIOS 42 * in u-boot. Made all the video memory be emulated during the 76 debugFlags - Flags to enable debugging options (debug builds only) 77 memSize - Amount of memory to allocate for real mode machine 78 info - Pointer to default VGA device information 90 memset(&M, 0, sizeof(M)); in BE_init() 96 M.mem_base = malloc(memSize); in BE_init() 98 if (M.mem_base == NULL){ in BE_init() 102 M.mem_size = memSize; in BE_init() [all …]
|
| /openbmc/openbmc/meta-security/recipes-security/redhat-security/files/ |
| H A D | rpm-drop-groups.sh | 2 # rpm-drop-groups 21 # If the --all option is given, it will generate a list of rpms and then 24 # Re-run passing that package (instead of --all) for the details. 26 # To save to file: ./rpm-drop-groups | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | tee o… 31 echo "rpm-drop-groups [--all|<rpmname>|--version]" 35 if [ "$1" = "--help" -o $# -eq 0 ] ; then 38 if [ "$1" = "--version" ] ; then 39 echo "rpm-drop-groups $VERSION" 42 if [ "$1" = "--all" ] ; then 43 MODE="all" [all …]
|
| H A D | rpm-chksec.sh | 2 # rpm-chksec 4 # Copyright (c) 2011-2013 Steve Grubb. ALL RIGHTS RESERVED. 19 # If the --all option is given, it will generate a list of rpms and then 22 # answer to no. Re-run passing that package (instead of --all) for the details. 24 # To save to file: ./rpm-chksec | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | tee output… 29 echo "rpm-chksec [--version|--all|<rpmname>...]" 30 if [ ! -x /usr/bin/filecap ] ; then 31 echo "You need to install libcap-ng-utils to test capabilities" 39 if [ "$1" = "--help" -o $# -eq 0 ] ; then 42 if [ "$1" = "--version" ] ; then [all …]
|
| /openbmc/qemu/docs/system/riscv/ |
| H A D | virt.rst | 8 real-world hardware. 11 ----------------- 17 * Platform-Level Interrupt Controller (PLIC) 22 * 8 virtio-mmio transport devices 31 ---------------------------------- 34 which it passes to the guest, if there is no ``-dtb`` option. This provides 39 If users want to provide their own DTB, they can use the ``-dtb`` option. 42 * The number of subnodes of the /cpus node should match QEMU's ``-smp`` option 43 * The /memory reg size should match QEMU’s selected ram_size via ``-m`` 48 ------------ [all …]
|
| H A D | sifive_u.rst | 4 SiFive HiFive Unleashed Development Board is the ultimate RISC-V development 5 board featuring the Freedom U540 multi-core RISC-V processor. 8 ----------------- 15 * Platform-Level Interrupt Controller (PLIC) 17 * L2 Loosely Integrated Memory (L2-LIM) 22 * 1 One-Time Programmable (OTP) memory with stored serial number 26 * 1 SD card in SPI mode 30 1 E51 core and 4 U54 core combination and the RISC-V core boots in 64-bit mode. 32 is also possible to create a 32-bit variant with the same peripherals except 33 that the RISC-V cores are replaced by the 32-bit ones (E31 and U34), to help [all …]
|
| /openbmc/u-boot/fs/reiserfs/ |
| H A D | mode_string.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 #warning mode type bitflag value assumption(s) violated! falling back to larger version 42 * size increase with the gcc version I'm using. */ 44 /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C', 46 static const char type_chars[16] = "?pc?d?b?-?l?s???"; 50 const char *bb_mode_string(int mode) in bb_mode_string() argument 57 *p = type_chars[ (mode >> 12) & 0xf ]; in bb_mode_string() 62 *++p = '-'; in bb_mode_string() 63 if (mode & mode_flags[i+j]) { in bb_mode_string() 68 if (mode & mode_flags[i+j]) { in bb_mode_string() [all …]
|
| /openbmc/qemu/target/riscv/ |
| H A D | cpu-param.h | 2 * RISC-V cpu parameters for qemu. 4 * Copyright (c) 2017-2018 SiFive, Inc. 5 * SPDX-License-Identifier: GPL-2.0-or-later 12 # define TARGET_PHYS_ADDR_SPACE_BITS 56 /* 44-bit PPN */ 15 # define TARGET_PHYS_ADDR_SPACE_BITS 34 /* 22-bit PPN */ 21 * RISC-V-specific extra insn start words: 29 * - U mode 0b000 30 * - S mode 0b001 31 * - M mode 0b011 32 * - U mode HLV/HLVX/HSV 0b100 [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
| H A D | 0008-libtool-do-not-use-jlibtool.patch | 3 Date: Thu, 7 Jan 2016 22:37:30 -0800 10 Upstream-Status: Inappropriate [embedded specific] 12 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 13 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 14 --- 15 Make.inc.in | 3 ++- 17 scripts/install.mk | 14 +++++++------- 18 scripts/libtool.mk | 22 +++++++++++++++------- 19 4 files changed, 26 insertions(+), 15 deletions(-) 21 diff --git a/Make.inc.in b/Make.inc.in [all …]
|
| /openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/ |
| H A D | 0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch | 3 Date: Tue, 10 Mar 2020 08:26:53 -0700 10 Upstream-Status: Inappropriate [OE Reproducibility specific] 12 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 13 Signed-off-by: Khem Raj <raj.khem@gmail.com> 14 --- 15 gcc/gengtype.cc | 6 +++--- 16 gcc/genmodes.cc | 32 ++++++++++++++++---------------- 17 2 files changed, 19 insertions(+), 19 deletions(-) 19 diff --git a/gcc/gengtype.cc b/gcc/gengtype.cc 21 --- a/gcc/gengtype.cc [all …]
|
| /openbmc/u-boot/drivers/bios_emulator/x86emu/ |
| H A D | ops.c | 7 * Copyright (C) 1991-2004 SciTech Software, Inc. 8 * Copyright (C) David Mosberger-Tang 41 * to the 256 byte-"opcodes" found on the 8086. The table which 78 /*----------------------------- Implementation ----------------------------*/ 172 op1 - Instruction op code 181 if (M.x86.R_SP != 0) { in x86emuOp_illegal_op() 185 M.x86.R_CS, M.x86.R_IP-1,op1)); in x86emuOp_illegal_op() 258 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp_genop_word_RM_R() 282 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp_genop_word_RM_R() 361 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp_genop_word_R_RM() [all …]
|
| /openbmc/phosphor-host-ipmid/ |
| H A D | whitelist-filter.cpp | 4 #include <phosphor-logging/elog-errors.hpp> 5 #include <phosphor-logging/lg2.hpp> 26 * on incoming interface and a restriction mode setting 42 sdbusplus::message_t& m, 65 // wait until io->run is going to fetch RestrictionMode in AllowlistFilter() 71 * @param[in] devices - vector of devices object path 88 objects->service(restrictionModeSetting, restrictionModeIntf); in cacheRestrictedMode() 93 "Could not look up restriction mode interface from cache"); in cacheRestrictedMode() 97 std::string mode; in cacheRestrictedMode() local 103 mode = std::get<std::string>(propValue); in cacheRestrictedMode() [all …]
|
| /openbmc/phosphor-time-manager/ |
| H A D | manager.cpp | 5 #include <phosphor-logging/lg2.hpp> 33 [&](sdbusplus::message_t& m) { onTimedateChanged(m); }); in Manager() argument 36 [&](sdbusplus::message_t& m) { onSettingsChanged(m); }); in Manager() argument 39 auto mode = getSetting(settings.timeSyncMethod.c_str(), in Manager() local 42 onPropertyChanged(propertyTimeMode, mode, true); in Manager() 51 bool oldNtpMode = (Mode::NTP == getTimeMode()); in onPropertyChanged() 57 debug("NTP property changed in phosphor-settings, update to systemd" in onPropertyChanged() 62 debug("NTP mode is already the same, skip setting to systemd time" in onPropertyChanged() 99 return -1; in onTimedateChanged() 104 bool newNtpMode = std::get<bool>(iter->second); in onTimedateChanged() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfsdump/files/ |
| H A D | remove-install-as-user.patch | 3 Upstream-Status: Inappropriate [configuration] 5 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 6 --- 7 include/buildmacros | 2 +- 8 include/install-sh | 95 ++++++++--------------------------------------------- 9 2 files changed, 14 insertions(+), 83 deletions(-) 11 diff --git a/include/buildmacros b/include/buildmacros 13 --- a/include/buildmacros 15 @@ -30,7 +30,7 @@ OBJECTS = $(ASFILES:.s=.o) \ 19 -INSTALL = $(TOPDIR)/install-sh -o $(PKG_USER) -g $(PKG_GROUP) [all …]
|
| /openbmc/u-boot/arch/x86/lib/ |
| H A D | bios.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2009-2010 coresystems GmbH 40 debug("Real mode stub @%x: %d bytes\n", REALMODE_BASE, in setup_realmode_code() 52 /* system model: IBM-AT */ in setup_rombios() 60 .eax = M.x86.R_EAX, in int_exception_handler() 61 .ecx = M.x86.R_ECX, in int_exception_handler() 62 .edx = M.x86.R_EDX, in int_exception_handler() 63 .ebx = M.x86.R_EBX, in int_exception_handler() 64 .esp = M.x86.R_ESP, in int_exception_handler() 65 .ebp = M.x86.R_EBP, in int_exception_handler() [all …]
|
| /openbmc/u-boot/board/gateworks/gw_ventana/ |
| H A D | README | 1 U-Boot for the Gateworks Ventana Product Family boards 3 This file contains information for the port of U-Boot to the Gateworks 7 is supported by a single bootloader build by using a common SPL and U-Boot 13 --------------------------------- 19 will build the following artifacts from U-Boot source: 20 - SPL - Secondary Program Loader that the i.MX6 BOOT ROM (Primary Program 22 The DRAM controller, loads u-boot.img from the detected boot device, 25 - u-boot.img - The main U-Boot core which is u-boot.bin with a image header. 29 -------- 31 To build U-Boot for the Gateworks Ventana product family: [all …]
|
| /openbmc/qemu/hw/timer/ |
| H A D | cmsdk-apb-dualtimer.c | 2 * ARM CMSDK APB dual-timer emulation 13 * This is a model of the "APB dual-input timer" which is part of the Cortex-M 14 * System Design Kit (CMSDK) and documented in the Cortex-M System 16 * https://developer.arm.com/products/system-design/system-design-kits/cortex-m-system-design-kit 26 #include "hw/qdev-properties.h" 28 #include "hw/qdev-clock.h" 29 #include "hw/timer/cmsdk-apb-dualtimer.h" 39 FIELD(CONTROL, MODE, 6, 1) 83 static bool cmsdk_dualtimermod_intstatus(CMSDKAPBDualTimerModule *m) in cmsdk_dualtimermod_intstatus() argument 86 return m->intstatus && (m->control & R_CONTROL_INTEN_MASK); in cmsdk_dualtimermod_intstatus() [all …]
|
| /openbmc/openbmc-test-automation/ipmi/ |
| H A D | test_ipmi_sel_time.robot | 4 ... Pre-requisite Condition : Client Machine and BMC should be in 13 ... Set the Time Sync Mode from NTP to Manual to Set SEL Time. 14 ... Time Sync Mode change performed via REDFISH URI. 15 ... Performs the change in Time Sync Mode with Test Setup and Teardown Execution 45 @{time_difference_list} +8760:153:25 -87600:453:120 +175200:40:15 -43800:10:05 +20:35:12 -8760:00:00 50 ${event_type} Lower Non-critical going low 67 Verify Set SEL Time On NTP Mode 139 ${sel_time} ${set_sel_time}= Identify SEL Time -2 [all...] |