| /openbmc/qemu/util/ |
| H A D | hbitmap.c | 9 * later. See the COPYING file in the top-level directory. 14 #include "qemu/host-utils.h" 25 * granularity; in all levels except the last, bit N is set iff the N-th 26 * unsigned long is nonzero in the immediately next level. When iteration 27 * completes on the last level it can examine the 2nd-last level to quickly 29 * powers thereof (32 on 32-bit machines). 32 * this (for the 64-bit case): 34 * bits 0-57 => word in the last bitmap | bits 58-63 => bit in the word 35 * bits 0-51 => word in the 2nd-last bitmap | bits 52-57 => bit in the word 36 * bits 0-45 => word in the 3rd-last bitmap | bits 46-51 => bit in the word [all …]
|
| H A D | interval-tree.c | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 #include "qemu/interval-tree.h" 10 * For now, don't expose Linux Red-Black Trees separately, but retain the 18 * red-black trees properties: https://en.wikipedia.org/wiki/Rbtree 42 * These two requirements will allow lockless iteration of the tree -- not 47 * and that it will indeed complete -- does not get stuck in a loop. 67 return qatomic_read(&n->rb_parent_color); in rb_pc() 72 qatomic_set(&n->rb_parent_color, pc); in rb_set_pc() 137 node->rb_parent_color = (uintptr_t)parent; in rb_link_node() 138 node->rb_left = node->rb_right = NULL; in rb_link_node() [all …]
|
| /openbmc/qemu/target/riscv/ |
| H A D | monitor.c | 2 * QEMU monitor for RISC-V 6 * RISC-V specific monitor commands implementation 25 #include "monitor/hmp-target.h" 30 #define PTE_HEADER_DELIMITER "---------------- ---------------- "\ 31 "---------------- -------\n" 34 #define PTE_HEADER_DELIMITER "-------- ---------------- -------- -------\n" 41 if (addr & (1UL << (va_bits - 1))) { in addr_canonical() 42 addr |= (hwaddr)-(1L << va_bits); in addr_canonical() 71 attr & PTE_R ? 'r' : '-', in print_pte() 72 attr & PTE_W ? 'w' : '-', in print_pte() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/sysvinit/ |
| H A D | sysvinit_3.14.bb | 1 SUMMARY = "System-V like init" 2 …e /sbin/init program. This is the first process started on boot, and the last process terminated … 5 LICENSE = "GPL-2.0-or-later" 10 RDEPENDS:${PN} = "${PN}-inittab" 14 file://crypt-lib.patch \ 15 file://rcS-default \ 23 S = "${WORKDIR}/sysvinit-${PV}" 25 inherit update-alternatives features_check github-releases 26 DEPENDS:append = " update-rc.d-native base-passwd virtual/crypt" 27 do_package_setscene[depends] = "${MLPREFIX}base-passwd:do_populate_sysroot" [all …]
|
| /openbmc/qemu/hw/input/ |
| H A D | pl050.c | 4 * Copyright (c) 2006-2007 CodeSourcery. 13 * + Named GPIO input "ps2-input-irq": set to 1 if the downstream PS2 device 36 VMSTATE_UINT32(last, PL050State), 56 int level = (s->pending && (s->cr & 0x10) != 0) in pl050_update_irq() local 57 || (s->cr & 0x08) != 0; in pl050_update_irq() 59 qemu_set_irq(s->irq, level); in pl050_update_irq() 62 static void pl050_set_irq(void *opaque, int n, int level) in pl050_set_irq() argument 66 s->pending = level; in pl050_set_irq() 76 return pl050_id[(offset - 0xfe0) >> 2]; in pl050_read() 81 return s->cr; in pl050_read() [all …]
|
| /openbmc/u-boot/lib/zlib/ |
| H A D | inffast.c | 1 /* inffast.c -- fast decoding 2 * Copyright (C) 1995-2004 Mark Adler 6 /* U-Boot: we already included these 15 /* Allow machine dependent optimization for post-increment or pre-increment. 17 Pre-increment preferred for: 18 - PowerPC G3 (Adler) 19 - MIPS R5000 (Randers-Pehrson) 20 Post-increment preferred for: 21 - none 23 - Pentium III (Anderson) [all …]
|
| /openbmc/qemu/accel/tcg/ |
| H A D | tb-maint.c | 21 #include "qemu/interval-tree.h" 25 #include "exec/page-protection.h" 26 #include "exec/mmap-lock.h" 27 #include "exec/tb-flush.h" 29 #include "accel/tcg/cpu-ops.h" 30 #include "tb-internal.h" 33 #include "tb-hash.h" 34 #include "tb-context.h" 35 #include "tb-internal.h" 36 #include "internal-common.h" [all …]
|
| /openbmc/u-boot/arch/arm/include/asm/arch-armada8k/ |
| H A D | cache_llc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 /* Armada-7K/8K last level cache */
|
| /openbmc/u-boot/fs/ubifs/ |
| H A D | tnc_misc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2006-2008 Nokia Corporation. 12 * This file contains miscelanious TNC-related functions shared betweend 14 * sub-system. The file was created because there is a lot of TNC code and 24 * ubifs_tnc_levelorder_next - next TNC tree element in levelorder traversal. 29 * Returns the next element or %NULL if @znode is already the last one. 34 int level, iip, level_search = 0; in ubifs_tnc_levelorder_next() local 43 if (znode->level == 0) in ubifs_tnc_levelorder_next() 48 level = znode->level; in ubifs_tnc_levelorder_next() 50 iip = znode->iip; in ubifs_tnc_levelorder_next() [all …]
|
| /openbmc/qemu/block/ |
| H A D | qed-cluster.c | 11 * See the COPYING.LIB file in the top-level directory. 36 unsigned int end = MIN(index + n, s->table_nelems); in qed_count_contiguous_clusters() 37 uint64_t last = table->offsets[index]; in qed_count_contiguous_clusters() local 40 *offset = last; in qed_count_contiguous_clusters() 43 if (qed_offset_is_unalloc_cluster(last)) { in qed_count_contiguous_clusters() 45 if (!qed_offset_is_unalloc_cluster(table->offsets[i])) { in qed_count_contiguous_clusters() 48 } else if (qed_offset_is_zero_cluster(last)) { in qed_count_contiguous_clusters() 50 if (!qed_offset_is_zero_cluster(table->offsets[i])) { in qed_count_contiguous_clusters() 55 if (table->offsets[i] != last + s->header.cluster_size) { in qed_count_contiguous_clusters() 58 last = table->offsets[i]; in qed_count_contiguous_clusters() [all …]
|
| /openbmc/openbmc/poky/meta/classes/ |
| H A D | extrausers.bbclass | 4 # SPDX-License-Identifier: MIT 7 # This bbclass is used for image level user/group configuration. 13 # useradd -p '' tester; \ 16 # groupdel -g video; \ 17 # groupmod -g 1020 developers; \ 18 # usermod -s /bin/sh tester; \ 23 PACKAGE_INSTALL:append = " ${@['', 'base-passwd shadow'][bool(d.getVar('EXTRA_USERS_PARAMS'))]}" 25 # Image level user / group settings 28 # Image level user / group settings 32 setting=`echo $user_group_settings | cut -d ';' -f1` [all …]
|
| /openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/host/op-proc-control/ |
| H A D | 0001-Stop-and-send-SRESET-for-one-thread-only.patch | 12 [ 235.694220] watchdog: CPU 97 TB:187362511366, last heartbeat TB:159120095297 (55160ms ago) 16 [ 50.495727] Kernel panic - not syncing: Unrecoverable nested System Reset 18 Signed-off-by: Artem Senichev <a.senichev@yadro.com> 19 --- 20 nmi_interface.cpp | 14 +++++++++++--- 21 1 file changed, 11 insertions(+), 3 deletions(-) 23 diff --git a/nmi_interface.cpp b/nmi_interface.cpp 25 --- a/nmi_interface.cpp 27 @@ -38,7 +38,7 @@ void NMI::nMI() 31 - struct pdbg_target* target; [all …]
|
| /openbmc/u-boot/tools/patman/ |
| H A D | tout.py | 1 # SPDX-License-Identifier: GPL-2.0+ 22 to the user. It provides for simple verbosity level control and can 30 verbose: Verbosity level: 0=silent, 1=progress, 3=full, 4=debug 77 def _Output(level, msg, color=None): argument 81 level: Verbosity level for this message. It will only be displayed if 82 this as high as the currently selected level. 86 if verbose >= level: 92 def DoOutput(level, msg): argument 96 level: Verbosity level for this message. It will only be displayed if 97 this as high as the currently selected level. [all …]
|
| /openbmc/qemu/scripts/qemugdb/ |
| H A D | timers.py | 1 # -*- coding: utf-8 -*- 9 # See the COPYING file in the top-level directory. 11 # SPDX-License-Identifier: GPL-2.0-or-later 13 # 'qemu timers' -- display the current timerlists 40 gdb.write(" clock %s is enabled:%s, last:%s\n" % ( 43 tlist['clock']['last']))
|
| /openbmc/qemu/python/qemu/qmp/ |
| H A D | qmp_tui.py | 7 # later. See the COPYING file in the top-level directory. 12 It is the successor of QMP-shell and is bought-in as a replacement for it. 14 Example Usage: qmp-tui <SOCKET | TCP IP:PORT> 15 Full Usage: qmp-tui --help 77 def format_json(msg: str) -> str: 79 Formats valid/invalid multi-line JSON message into a single-line message. 123 handler_type: Type[Handler]) -> bool: 155 retry_delay: Optional[int]) -> None: 166 def add_to_history(self, msg: str, level: Optional[str] = None) -> None: 173 urwid.emit_signal(self, UPDATE_MSG, msg, level) [all …]
|
| /openbmc/u-boot/include/configs/ |
| H A D | plutux.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * (C) Copyright 2011-2012 6 * Avionic Design GmbH <www.avionic-design.de> 12 #include "tegra20-common.h" 14 /* High-level configuration options */ 17 /* Board-specific serial config */ 25 /* Environment in NAND, aligned to start of last sector */ 26 #define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */ 28 #include "tegra-common-post.h"
|
| H A D | medcom-wide.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * (C) Copyright 2011-2012 6 * Avionic Design GmbH <www.avionic-design.de> 12 #include "tegra20-common.h" 14 /* High-level configuration options */ 15 #define CONFIG_TEGRA_BOARD_STRING "Avionic Design Medcom-Wide" 17 /* Board-specific serial config */ 25 /* Environment in NAND, aligned to start of last sector */ 26 #define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */ 28 #include "tegra-common-post.h"
|
| H A D | tec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * (C) Copyright 2011-2012 6 * Avionic Design GmbH <www.avionic-design.de> 12 #include "tegra20-common.h" 14 /* High-level configuration options */ 17 /* Board-specific serial config */ 25 /* Environment in NAND, aligned to start of last sector */ 26 #define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */ 28 #include "tegra-common-post.h"
|
| H A D | harmony.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * (C) Copyright 2010-2012 11 #include "tegra20-common.h" 13 /* High-level configuration options */ 16 /* Board-specific serial config */ 32 /* Environment in NAND (which is 512M), aligned to start of last sector */ 33 #define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sector size */ 35 #include "tegra-common-post.h"
|
| /openbmc/u-boot/fs/reiserfs/ |
| H A D | reiserfs_private.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright 2000-2002 by Hans Reiser, licensing governed by reiserfs/README 5 * GRUB -- GRand Unified Bootloader 8 * (C) Copyright 2003 - 2004 57 #define sb_root_block(sbp) (__le32_to_cpu((sbp)->s_root_block)) 58 #define sb_journal_block(sbp) (__le32_to_cpu((sbp)->s_journal_block)) 59 #define set_sb_journal_block(sbp,v) ((sbp)->s_journal_block = __cpu_to_le32(v)) 60 #define sb_journal_size(sbp) (__le32_to_cpu((sbp)->s_journal_size)) 61 #define sb_blocksize(sbp) (__le16_to_cpu((sbp)->s_blocksize)) 62 #define set_sb_blocksize(sbp,v) ((sbp)->s_blocksize = __cpu_to_le16(v)) [all …]
|
| /openbmc/qemu/include/system/ |
| H A D | numa.h | 5 #include "qapi/qapi-types-machine.h" 22 HMAT_LB_LEVELS /* must be the last entry */ 33 HMAT_LB_TYPES /* must be the last entry */ 62 /* Indicates it's memory or the specified level memory side cache. */
|
| /openbmc/qemu/common-user/ |
| H A D | safe-syscall.S | 2 * safe-syscall.S : include the host-specific assembly fragment 10 * See the COPYING file in the top-level directory. 13 #include "special-errno.h" 18 #include "safe-syscall.inc.S" 23 * needlessly end up with one. This should be the last thing in this file. 26 .section .note.GNU-stack, "", %progbits
|
| /openbmc/u-boot/arch/arm/mach-mvebu/armada8k/ |
| H A D | cache_llc.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <asm/arch-armada8k/cache_llc.h> 12 * flush Armada-8K last level cache.
|
| /openbmc/qemu/include/qemu/ |
| H A D | hbitmap.h | 9 * later. See the COPYING file in the top-level directory. 16 #include "host-utils.h" 23 /* For 32-bit, the largest that fits in a 4 GiB address space. 24 * For 64-bit, the number of sectors in 1 PiB. Good luck, in 29 /* We need to place a sentinel in level 0 to speed up iteration. Thus, 31 * difference is that it allocates an extra level when HBITMAP_LOG_MAX_SIZE 42 /* Entry offset into the last-level array of longs. */ 45 /* The currently-active path in the tree. Each item of cur[i] stores 110 * @start: First bit to set (0-based). 120 * @start: First bit to reset (0-based). [all …]
|
| /openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
| H A D | Chassis.interface.yaml | 4 - name: RequestedPowerTransition 11 - xyz.openbmc_project.State.Chassis.Error.BMCNotReady 12 - xyz.openbmc_project.Common.Error.Unavailable 14 - name: CurrentPowerState 17 A read-only property describing the current chassis power state. A 21 - name: CurrentPowerStatus 24 A read-only property describing the current chassis power status. This 30 - name: LastStateChangeTime 33 The last time at which the chassis power changed state, as tracked by 35 can be used to tell when the chassis was last powered on or off. [all …]
|