| /openbmc/qemu/hw/xen/ |
| H A D | xen_devconfig.c | 10 char *fe, char *be, int len) in xen_config_dev_dirs() argument 19 snprintf(be, len, "%s/backend/%s/%d/%d", dom, btype, xen_domid, vdev); in xen_config_dev_dirs() 23 xenstore_mkdir(be, XS_PERM_READ); in xen_config_dev_dirs() 27 static int xen_config_dev_all(char *fe, char *be) in xen_config_dev_all() argument 35 xenstore_write_str(fe, "backend", be); in xen_config_dev_all() 38 xenstore_write_str(be, "domain", qemu_name ? qemu_name : "no-name"); in xen_config_dev_all() 39 xenstore_write_int(be, "online", 1); in xen_config_dev_all() 40 xenstore_write_int(be, "state", XenbusStateInitialising); in xen_config_dev_all() 41 xenstore_write_int(be, "frontend-id", xen_domid); in xen_config_dev_all() 42 xenstore_write_str(be, "frontend", fe); in xen_config_dev_all() [all …]
|
| /openbmc/qemu/host/include/ppc/host/crypto/ |
| H A D | aes-round.h | 25 static inline AESStateVec aes_accel_ld(const AESState *p, bool be) in aes_accel_ld() argument 29 if (be) { in aes_accel_ld() 50 static void aes_accel_st(AESState *p, AESStateVec r, bool be) in aes_accel_st() argument 52 if (be) { in aes_accel_st() 97 aesenc_MC_accel(AESState *ret, const AESState *st, bool be) in aesenc_MC_accel() argument 101 t = aes_accel_ld(st, be); in aesenc_MC_accel() 104 aes_accel_st(ret, t, be); in aesenc_MC_accel() 109 const AESState *rk, bool be) in aesenc_SB_SR_AK_accel() argument 113 t = aes_accel_ld(st, be); in aesenc_SB_SR_AK_accel() 114 k = aes_accel_ld(rk, be); in aesenc_SB_SR_AK_accel() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
| H A D | endian-ness_handling.patch | 18 +int be; 19 +static uint16_t read16(uint16_t x, int be) 21 + if (be) 26 +static uint32_t read32(uint32_t x, int be) 28 + if (be) 33 +static uint64_t read64(uint64_t x, int be) 35 + if (be) 48 + be = (elf_header->e_ident[EI_DATA] == ELFDATA2MSB); 50 + if (read16(elf_header->e_type, be) != ET_DYN) 54 + read16(elf_header->e_type, be)); [all …]
|
| H A D | ldconfig-handle-.dynstr-located-in-separate-segment.patch | 41 switch (read32(segment->p_type, be)) 45 - loadaddr = read32(segment->p_vaddr, be) - read32(segment->p_offset, be); 66 if (read32(dyn_entry->d_tag, be) == DT_STRTAB) 68 - dynamic_strings = (char *) (file_contents + read32(dyn_entry->d_un.d_val, be) - loadaddr); 77 + i < read16(elf_header->e_phnum, be); i++, segment++) 79 + if (read32(segment->p_type, be) == PT_LOAD 80 + && read32(dyn_entry->d_un.d_val, be) >= read32(segment->p_vaddr, be) 81 + && (read32(dyn_entry->d_un.d_val, be) - read32(segment->p_vaddr, be) 82 + < read32(segment->p_filesz, be))) 84 + loadoff = read32(segment->p_vaddr, be) - read32(segment->p_offset, be); [all …]
|
| H A D | endian-ness_handling_fix.patch | 28 dynamic_addr = read64(segment->p_offset, be); 29 - dynamic_size = read32(segment->p_filesz, be); 30 + dynamic_size = read64(segment->p_filesz, be); 38 - if (!*osversion && read32(segment->p_filesz, be) >= 32 && read32(segment->p_align, be) >= 4) 39 + if (!*osversion && read64(segment->p_filesz, be) >= 32 && read64(segment->p_align, be) >= 4) 42 + read64(segment->p_offset, be)); 43 - Elf64_Addr size = read32(segment->p_filesz, be); 44 + Elf64_Xword size = read64(segment->p_filesz, be); 46 while (read32(abi_note [0], be) != 4 || read32(abi_note [1], be) != 16 47 || read32(abi_note [2], be) != 1
|
| /openbmc/qemu/include/crypto/ |
| H A D | aes-round.h | 30 static inline void aesenc_MC(AESState *r, const AESState *st, bool be) in aesenc_MC() argument 33 aesenc_MC_accel(r, st, be); in aesenc_MC() 34 } else if (HOST_BIG_ENDIAN == be) { in aesenc_MC() 51 const AESState *rk, bool be) in aesenc_SB_SR_AK() argument 54 aesenc_SB_SR_AK_accel(r, st, rk, be); in aesenc_SB_SR_AK() 55 } else if (HOST_BIG_ENDIAN == be) { in aesenc_SB_SR_AK() 72 const AESState *rk, bool be) in aesenc_SB_SR_MC_AK() argument 75 aesenc_SB_SR_MC_AK_accel(r, st, rk, be); in aesenc_SB_SR_MC_AK() 76 } else if (HOST_BIG_ENDIAN == be) { in aesenc_SB_SR_MC_AK() 90 static inline void aesdec_IMC(AESState *r, const AESState *st, bool be) in aesdec_IMC() argument [all …]
|
| /openbmc/qemu/include/system/ |
| H A D | cryptodev.h | 285 #define CryptodevSymStatInc(be, op, bytes) do { \ argument 286 be->sym_stat->op##_bytes += (bytes); \ 287 be->sym_stat->op##_ops += 1; \ 290 #define CryptodevSymStatIncEncrypt(be, bytes) \ argument 291 CryptodevSymStatInc(be, encrypt, bytes) 293 #define CryptodevSymStatIncDecrypt(be, bytes) \ argument 294 CryptodevSymStatInc(be, decrypt, bytes) 296 #define CryptodevAsymStatInc(be, op, bytes) do { \ argument 297 be->asym_stat->op##_bytes += (bytes); \ 298 be->asym_stat->op##_ops += 1; \ [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/bldcontrol/ |
| H A D | bbcontroller.py | 23 def __init__(self, be): argument 25 self.connection = bb.server.xmlrpcclient._create_server(be.bbaddress, 26 int(be.bbport))[0] 68 be = BuildEnvironment.objects.filter(Q(**kwargs))[0] 69 if be.betype == BuildEnvironment.TYPE_LOCAL: 70 return LocalhostBEController(be) 72 raise Exception("FIXME: Implement BEC for type %s" % str(be.betype)) 94 def __init__(self, be): argument 97 self.be = be
|
| H A D | localhostbecontroller.py | 36 def __init__(self, be): argument 37 super(LocalhostBEController, self).__init__(be) 43 cwd = self.be.sourcedir 85 assert self.be.sourcedir is not None 133 … for remotes in self._shellcmd("git remote -v", self.be.sourcedir,env=git_env).split("\n"): 137 cached_layers[remote] = self.be.sourcedir 155 … localdirname = os.path.join(self.be.sourcedir, self.getGitCloneDirectory(giturl, commit)) 214 if os.path.exists(os.path.join(self.be.sourcedir, "oe-init-build-env")): 215 logger.debug("localhostbecontroller: selected poky dir name %s" % self.be.sourcedir) 216 self.pokydirname = self.be.sourcedir [all …]
|
| /openbmc/qemu/docs/system/ |
| H A D | generic-loader.rst | 15 The loader device allows memory values to be set from the command line. This 16 can be done by following the syntax below:: 19 [,data-be=<data-be>][,cpu-num=<cpu-num>] 25 The value to be written to the address. The maximum size of the data 29 The length of the data in bytes. This argument must be included if 32 ``<data-be>`` 33 Set to true if the data to be stored on the guest should be written 37 The number of the CPU's address space where the data should be 42 will be parsed as decimal. To use hex values the user should prefix the number 52 The loader device allows the CPU's PC to be set from the command line. This [all …]
|
| /openbmc/qemu/host/include/i386/host/crypto/ |
| H A D | aes-round.h | 28 aesenc_MC_accel(AESState *ret, const AESState *st, bool be) in aesenc_MC_accel() argument 33 if (be) { in aesenc_MC_accel() 47 const AESState *rk, bool be) in aesenc_SB_SR_AK_accel() argument 52 if (be) { in aesenc_SB_SR_AK_accel() 65 const AESState *rk, bool be) in aesenc_SB_SR_MC_AK_accel() argument 70 if (be) { in aesenc_SB_SR_MC_AK_accel() 82 aesdec_IMC_accel(AESState *ret, const AESState *st, bool be) in aesdec_IMC_accel() argument 86 if (be) { in aesdec_IMC_accel() 98 const AESState *rk, bool be) in aesdec_ISB_ISR_AK_accel() argument 103 if (be) { in aesdec_ISB_ISR_AK_accel() [all …]
|
| /openbmc/qemu/ui/ |
| H A D | spice-app.c | 62 ChardevBackend *be = g_new0(ChardevBackend, 1); in OBJECT_DECLARE_TYPE() local 64 be->type = CHARDEV_BACKEND_KIND_SPICEPORT; in OBJECT_DECLARE_TYPE() 65 be->u.spiceport.data = g_new0(ChardevSpicePort, 1); in OBJECT_DECLARE_TYPE() 67 return be; in OBJECT_DECLARE_TYPE() 76 ChardevBackend *be; in vc_chr_open() local 87 be = chr_spice_backend_new(); in vc_chr_open() 88 be->u.spiceport.data->fqdn = fqdn ? in vc_chr_open() 90 vc->parent_open(chr, be, be_opened, errp); in vc_chr_open() 91 qapi_free_ChardevBackend(be); in vc_chr_open() 193 ChardevBackend *be = chr_spice_backend_new(); in spice_app_display_init() local [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/bldcontrol/management/commands/ |
| H A D | checksettings.py | 37 for be in BuildEnvironment.objects.all(): 38 be.needs_import = False 43 be.sourcedir = os.environ.get('TOASTER_DIR') 46 if len(be.sourcedir) == 0: 49 if not be.sourcedir.startswith("/"): 54 if be.betype == BuildEnvironment.TYPE_LOCAL: 55 be.needs_import = True 59 be.builddir = os.environ.get('TOASTER_DIR')+"/build" 62 if len(be.builddir) == 0: 65 if not be.builddir.startswith("/"): [all …]
|
| /openbmc/qemu/host/include/aarch64/host/crypto/ |
| H A D | aes-round.h | 85 aesenc_MC_accel(AESState *ret, const AESState *st, bool be) in aesenc_MC_accel() argument 89 if (be) { in aesenc_MC_accel() 101 const AESState *rk, bool be) in aesenc_SB_SR_AK_accel() argument 106 if (be) { in aesenc_SB_SR_AK_accel() 118 const AESState *rk, bool be) in aesenc_SB_SR_MC_AK_accel() argument 123 if (be) { in aesenc_SB_SR_MC_AK_accel() 134 aesdec_IMC_accel(AESState *ret, const AESState *st, bool be) in aesdec_IMC_accel() argument 138 if (be) { in aesdec_IMC_accel() 150 const AESState *rk, bool be) in aesdec_ISB_ISR_AK_accel() argument 155 if (be) { in aesdec_ISB_ISR_AK_accel() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/ |
| H A D | 0001-Adjust-test-expectations-for-ptest.patch | 18 …wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party i… 19 …wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before loc… 20 …wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local impor… 21 -wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before loc… 22 -wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local… 23 -wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local im… 24 -wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before lo… 25 -wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be plac… 26 -wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before lo… 27 -wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports… [all …]
|
| /openbmc/u-boot/doc/ |
| H A D | README.POST | 17 Also, standalone POST tests shall be supported. 28 2) The results of tests shall be saved so that it will be possible to 31 3) The following POST tests shall be developed for MPC823E-based 45 4) The LWMON board shall be used for reference. 50 The whole project can be divided into two independent tasks: 56 A new optional module will be added to U-Boot, which will run POST 61 The list of available POST tests will be configured at U-Boot build 63 tests. All POST tests will be divided into the following groups: 73 time and can be run on the regular basis (e.g. CPU test) 78 and cannot be run regularly (e.g. strong memory test, I2C test) [all …]
|
| /openbmc/openbmc/poky/meta/recipes-devtools/expect/expect/ |
| H A D | 0001-configure.in.patch | 13 - AC_MSG_ERROR([Expect can't be cross compiled]) 22 - AC_MSG_ERROR([Expect can't be cross compiled]) 33 -, AC_MSG_WARN([Expect can't be cross compiled]) 43 - AC_MSG_ERROR([Expect can't be cross compiled]) 54 - AC_MSG_ERROR([Expect can't be cross compiled]) 65 - AC_MSG_ERROR([Expect can't be cross compiled]) 76 - AC_MSG_ERROR([Expect can't be cross compiled]) 85 - AC_MSG_ERROR([Expect can't be cross compiled]) 94 - AC_MSG_ERROR([Expect can't be cross compiled]) 103 - AC_MSG_ERROR([Expect can't be cross compiled])
|
| /openbmc/docs/designs/ |
| H A D | guard-on-bmc.md | 6 the system downtime can be prevented by isolating the faulty components. This 8 The defective components can be kept isolated until a replacement. Most of the 9 actions required to isolate the parts will be dependant on the architecture and 31 them out of service. The list of faulty but guarded components can be stored in 33 record or manage the record will be decided by the respective component. Some of 35 the fans can be managed by the fan control application, or the guard on the 36 power components can be managed by the power management application. 38 These records will be created when an error is encountered on an element that 39 can be isolated. The decision to create a record is based on the type of error, 42 is named as Guard Record. The guard record will be deleted after a repair action [all …]
|
| H A D | platform-init.md | 27 1. OpenBMC must be able to init a system with devices on power rails that it 29 2. During the control of aformentioned power rails, the OpenBMC must be able to 31 3. OpenBMC must be able to reset i2c lines that might not be available. 32 4. (secondary) Must be able to init multiple platforms from a single binary 37 Initially, a new repository would be created to house the platform-init for 41 Platforms will be separated by folder to ensure that platform owners can review 45 Top level structure will be 49 Initially a cli argument will be used to compile the appropriate paths for a 50 given platform. At some point in the future, some level of detection _may_ be 51 added that allows detecting platforms at runtime. Design for that is to be [all …]
|
| /openbmc/bmcweb/ |
| H A D | DEVELOPING.md | 7 As OpenBMC is intended to be deployed on an embedded system, care should be 13 - Application startup time should be less than 1 second on target hardware 18 Care should be taken to ensure that all code is written to be asynchronous in 21 should be avoided if possible, and instead use async tasks within boost::asio. 25 Secure coding practices should be followed in all places in the webserver 29 - All buffer boundaries must be checked before indexing or using values 30 - All pointers and iterators must be checked for null before dereferencing 31 - All input from outside the application is considered untrusted, and should be 35 - Where applicable, noexcept methods should be preferred to methods that use 37 - Explicitly bounded types should be preferred over implicitly bounded types [all …]
|
| /openbmc/pldm/tools/fw-update/ |
| H A D | README.md | 25 - Provide name for the PLDM FW update package, output will be written to a file 28 - The file path of at least one image file must be provided 29 - In case there are more than one images, they should be specified in the _same 35 Some fields corresponding to the PLDM firmware update package must be specified 38 PLDM firmware update package has to be generated - one or more platform specific 39 metadata JSON files can be reused. The key names used in the metadata JSON 50 - whether those fields need to be specified in the JSON, or are generated by the 58 - PackageHeaderIdentifier: Supported, must be specified in metadata file 59 - PackageHeaderFormatRevision: Supported, must be specified in metadata file 70 - PackageVersionString: Supported, must be specified in metadata file [all …]
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | bmc_network_security_utils.robot | 16 # packet_type The type of packets to be sent ("tcp, "udp", "icmp"). 19 # num Number of packets to be sent. 21 # This keyword expects host, port, type and number of packets to be sent 22 # and rate at which packets to be sent, should be given in command line. 42 # packet_type The type of packets to be sent ("tcp, "udp", "icmp"). 44 # flags Type of flag to be set (e.g. SYN, ACK, RST, FIN, ALL). 45 # num Number of packets to be sent. 47 # This keyword expects host, port, type and number of packets to be sent 48 # and rate at which packets to be sent, should be given in command line.
|
| /openbmc/phosphor-power/phosphor-regulators/docs/ |
| H A D | sensor_monitoring.md | 5 Sensor values such as output voltage, output current, and temperature can be 46 When regulator monitoring is disabled, the following changes will be made to all 49 - The Value property will be set to NaN. 50 - The Available property will be set to false. 56 - The error will be logged. If the same error occurs repeatedly on a rail, it 57 will only be logged once per system boot. 58 - Any remaining actions for the rail will be skipped. 59 - The following changes will be made to all D-Bus sensor objects for this rail: 60 - The Value property will be set to NaN. 61 - The Functional property will be set to false. [all …]
|
| /openbmc/docs/designs/oem/ibm/ |
| H A D | system-power-mode.md | 30 monitoring the systems thermal sensors. For certain error conditions it may be 32 state. After recovery, the OCC will be put back into the ACTIVE state. Anytime 40 Current Customer Settable System Power Modes that will be sent to the OCCs: 47 committee and will be used if/when approved. 57 Defaults will need to be configurable by the system owner (via JSON file) 61 The new code would be part of the openpower-occ-control repository. New code 62 will be triggered by the following: 65 - OCC Active sensor is enabled (may be covered in above bullet) 78 Default values will also be defined for Power Mode and Idle Power Saver 80 parameters, these default values will be used. If/when the customer does set any [all …]
|
| /openbmc/u-boot/tools/ |
| H A D | gpimage-common.c | 32 int gph_verify_header(struct gp_header *gph, int be) in gph_verify_header() argument 37 if (be) in gph_verify_header() 46 void gph_print_header(const struct gp_header *gph, int be) in gph_print_header() argument 50 if (be) in gph_print_header() 67 int be) in gph_set_header() argument 71 if (be) in gph_set_header()
|