message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
debian: fixup board and scenario detection
Using e.g.
debuild -eACRN_BOARDLIST= -eACRN_SCENARIOLIST= -eCONFIGDIRS=<custom config path> -- binary
builds all board/scenario combinations provided in <custom config path>. | @@ -44,10 +44,6 @@ export RELEASE ?= 0
debian/configs/configurations.mk:
@:
-ifeq ($(ACRN_SCENARIOLIST),)
-$(error No scenarios defined. Please set ACRN_SCENARIOLIST)
-endif
-
# misc/config_tools/data: contains ACRN supported configuration
# debian/configs: add additional, unsupported configurations here!
CONFIGDIRS ?=... |
stm32/usb: Allow board to select which USBD is used as the main one.
By defining MICROPY_HW_USB_MAIN_DEV a given board can select to use either
USB_PHY_FS_ID or USB_PHY_HS_ID as the main USBD peripheral, on which the
REPL will appear. If not defined this will be automatically configured. | #include "bufhelper.h"
#include "usb.h"
+// Work out which USB device to use as the main one (the one with the REPL)
+#if !defined(MICROPY_HW_USB_MAIN_DEV)
#if defined(USE_USB_FS)
-#define USB_PHY_ID USB_PHY_FS_ID
+#define MICROPY_HW_USB_MAIN_DEV (USB_PHY_FS_ID)
#elif defined(USE_USB_HS) && defined(USE_USB_HS_IN_FS)
-#... |
Back out state.offset change in oculus
This makes rendering work correctly again, but now most likely state.offset does not work right. | @@ -375,7 +375,7 @@ static void oculusRenderTo(void (*callback)(void*), void* userdata) {
mat4_identity(transform);
mat4_rotateQuat(transform, orient);
transform[12] = -(transform[0] * pos[0] + transform[4] * pos[1] + transform[8] * pos[2]);
- transform[13] = -(transform[1] * pos[0] + transform[5] * pos[1] + transform[... |
Fixed Slack username of payment success notifications | @@ -56,7 +56,7 @@ namespace MiningCore.Notifications
private readonly BlockingCollection<QueuedNotification> queue = new BlockingCollection<QueuedNotification>();
private IDisposable queueSub;
- private HttpClient httpClient = new HttpClient(new HttpClientHandler
+ private readonly HttpClient httpClient = new HttpClien... |
drivers/display/lcd160cr.py: In fast_spi, send command before flushing.
The intention of oflush() is to flush the "fast SPI" command itself so that
the SPI object is ready to use when the function returns. | @@ -428,9 +428,9 @@ class LCD160CR:
self._send(self.buf19)
def fast_spi(self, flush=True):
+ self._send(b'\x02\x12')
if flush:
self.oflush()
- self._send(b'\x02\x12')
return self.spi
def show_framebuf(self, buf):
|
use rm instead of unlink | @@ -149,7 +149,7 @@ image: patch_version
clean:
@echo -e "\t[CLEAN] build environment";
rm -r -f $(BUILD_DIR)
- unlink build
+ rm -f build
rm -r -f $(DONUT_HARDWARE_ROOT)/viv_project
rm -r -f $(DONUT_HARDWARE_ROOT)/ip
rm -r -f $(DONUT_HARDWARE_ROOT)/sim/ies
|
options/posix: Add assertion to getcwd() | @@ -165,6 +165,7 @@ int ftruncate(int fd, off_t size) {
return 0;
}
char *getcwd(char *buffer, size_t size) {
+ __ensure(buffer && "glibc extension for !buffer is not implemented");
if(!mlibc::sys_getcwd) {
MLIBC_MISSING_SYSDEP();
errno = ENOSYS;
|
removed ath9k_htc devices from know as working list due to driver issue | @@ -170,8 +170,6 @@ This list is for information purposes only and should not be regarded as a bindi
* ID 148f:5572 Ralink Technology, Corp. RT5572 Wireless Adapter
-* ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
-
* ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
* ID 0bda:8187 R... |
Update documentation for the string type
Looks like we had forgotten to update it when we added new operations on strings. | @@ -75,9 +75,13 @@ local y: float = i * 1.0
### Strings
Pallene also has a `string` type, for Lua strings.
-The syntax for string literals is the same as in Lua.
+The syntax for string literals is the same as in Lua
+You can use single quotes, double quotes, or `[[`.
-Currently, the only supported operations for Pallen... |
util/mknum.pl: Call OpenSSL::Ordinals::renumber() for real releases
When the source isn't in development any more (the version number
doesn't the tags 'dev' or 'alpha'), we renumber the unassigned symbols
to ensure that we have fixed numbers on all. | @@ -88,6 +88,13 @@ foreach my $f (($symhacks_file // (), @ARGV)) {
close IN;
}
+# As long as we're running in development or alpha releases, we can have
+# symbols without specific numbers assigned. When in beta or final release,
+# all symbols MUST have an assigned number.
+if ($version !~ m/^\d+\.\d+\.\d+(?:[a-z]+)?-... |
pyocf: security test for alru params | @@ -179,6 +179,46 @@ def test_neg_set_alru_param(pyocf_ctx, cm, cls):
cache.set_cleaning_policy_param(CleaningPolicy.ALRU, i, 1)
+def get_alru_param_valid_rage(param_id):
+ if param_id == AlruParams.WAKE_UP_TIME:
+ return ConfValidValues.cleaning_alru_wake_up_time_range
+ elif param_id == AlruParams.STALE_BUFFER_TIME:
... |
remove unused gpio_t struct | @@ -40,21 +40,6 @@ typedef struct __attribute__((__packed__)){
};
}luos_uuid_t;
-// GPIO struct
-typedef struct __attribute__((__packed__)){
- union {
- struct __attribute__((__packed__)){
- float p1;
- uint8_t p5;
- uint8_t p6;
- float p7;
- float p8;
- float p9;
- };
- uint8_t unmap[(4 * sizeof(float)) + 2]; /*!< Unc... |
Update version to fix compilation with vs2019 | @@ -23,8 +23,9 @@ typedef struct clap_version {
#define CLAP_VERSION_MAJOR ((uint32_t)0)
#define CLAP_VERSION_MINOR ((uint32_t)25)
#define CLAP_VERSION_REVISION ((uint32_t)0)
-#define CLAP_VERSION \
- ((clap_version_t){CLAP_VERSION_MAJOR, CLAP_VERSION_MINOR, CLAP_VERSION_REVISION})
+#define CLAP_VERSION_INIT {CLAP_VERS... |
VirtualScroller: fix iOS jumpiness case | @@ -110,12 +110,10 @@ export default class VirtualScroller<T> extends Component<VirtualScrollerProps<T
scrollbar: 0
};
- this.updateVisible = IS_IOS
- ? _.debounce(this.updateVisible.bind(this), 100)
- : this.updateVisible.bind(this);
+ this.updateVisible = this.updateVisible.bind(this);
this.invertedKeyHandler = this.... |
Added CAN zerobyte write function for SYNC in CANOpen. | @@ -221,6 +221,9 @@ uint32_t drvCanWrite(uint8_t channel, uint32_t id, uint8_t *p_data, uint32_t len
if((channel > DRV_CAN_MAX_CH)||(id > 0x1FFFFFFF))
return 0;
+ if(p_data == NULL && length > 0)
+ return 0;
+
uint32_t tx_len, sent_len, i;
CAN_HandleTypeDef *p_hCANx = drv_can_tbl[channel].p_hCANx;
CAN_TxHeaderTypeDef t... |
move use_opaque_psk | @@ -402,28 +402,6 @@ static void ssl_update_checksum_sha256( mbedtls_ssl_context *, const unsigned ch
static void ssl_update_checksum_sha384( mbedtls_ssl_context *, const unsigned char *, size_t );
#endif /* MBEDTLS_SHA384_C */
-#if defined(MBEDTLS_KEY_EXCHANGE_PSK_ENABLED) && \
- defined(MBEDTLS_USE_PSA_CRYPTO)
-stati... |
Link Checker: Disable check for LLVM webpages | @@ -20,11 +20,9 @@ http://www.snmp.com/protocol
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.81.7888
# LLVM links broken currently
https://clang.llvm.org/docs/ClangFormat.html
-https://clang.llvm.org/docs/ClangFormat.html
-https://clang.llvm.org/docs/ClangFormat.html
-https://clang.llvm.org/docs/ClangFormat.... |
SOVERSION bump to version 2.7.1 | @@ -63,7 +63,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_
# set version of the library
set(LIBYANG_MAJOR_SOVERSION 2)
set(LIBYANG_MINOR_SOVERSION 7)
-set(LIBYANG_MICRO_SOVERSION 0)
+set(LIBYANG_MICRO_SOVERSION 1)
set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_MI... |
CMSIS-DSP: API corrections in bitreversal_f16 | @@ -41,7 +41,7 @@ void arm_bitreversal_f16(
float16_t * pSrc,
uint16_t fftSize,
uint16_t bitRevFactor,
-uint16_t * pBitRevTab)
+const uint16_t * pBitRevTab)
{
uint16_t fftLenBy2, fftLenBy2p1;
uint16_t i, j;
|
whrlpool/asm/wp-x86_64.pl: add CFI annotations. | @@ -66,13 +66,21 @@ $code=<<___;
.type $func,\@function,3
.align 16
$func:
+.cfi_startproc
mov %rsp,%rax
+.cfi_def_cfa_register %rax
push %rbx
+.cfi_push %rbx
push %rbp
+.cfi_push %rbp
push %r12
+.cfi_push %r12
push %r13
+.cfi_push %r13
push %r14
+.cfi_push %r14
push %r15
+.cfi_push %r15
sub \$128+40,%rsp
and \$-64,%rs... |
Add comment about constant_mask
Fixes | @@ -8,6 +8,23 @@ extern "C" {
#pragma pack(push, CLAP_ALIGN)
+// Sample code for reading a stereo buffer:
+//
+// bool isLeftConstant = (buffer->constant_mask & (1 << 0)) != 0;
+// bool isRightConstant = (buffer->constant_mask & (1 << 1)) != 0;
+//
+// for (int i = 0; i < N; ++i) {
+// float l = data32[0][i * isLeftCon... |
Fix CryptoPP compilation issues on iOS | @@ -39,6 +39,7 @@ if(WIN32)
endif(WIN32)
if(IOS)
+ add_definitions("-DCRYPTOPP_NO_CXX17")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fobjc-arc -fmodules -fvisibility=hidden")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fobjc-arc -fmodules -stdlib=libc++ -std=c++17 -ftemplate-depth=1024 -fexceptions -frtti -fvisibility=hidden -f... |
evp_extra_test2: Test DH param checks with non-NULL libctx | @@ -376,6 +376,13 @@ static int test_dh_paramgen(void)
&& TEST_true(EVP_PKEY_paramgen(gctx, &pkey))
&& TEST_ptr(pkey);
+ EVP_PKEY_CTX_free(gctx);
+ gctx = NULL;
+
+ ret = ret && TEST_ptr(gctx = EVP_PKEY_CTX_new_from_pkey(mainctx, pkey, NULL))
+ && TEST_int_eq(EVP_PKEY_param_check(gctx), 1)
+ && TEST_int_eq(EVP_PKEY_par... |
Move virtualization option to Miscellaneous menu | @@ -779,7 +779,6 @@ PPH_EMENU PhpCreateProcessMenu(
PhInsertEMenuItem(menu, PhCreateEMenuSeparator(), ULONG_MAX);
PhInsertEMenuItem(menu, PhCreateEMenuItem(0, ID_PROCESS_CREATEDUMPFILE, L"Create dump fi&le...", NULL, NULL), ULONG_MAX);
PhInsertEMenuItem(menu, PhCreateEMenuItem(0, ID_PROCESS_DEBUG, L"De&bug", NULL, NULL... |
Correct MMIO read timeout value. | @@ -47,7 +47,8 @@ parameter CCIP_MDATA_WIDTH = 16;
// Number of requests that can be accepted after almost full is asserted.
parameter CCIP_TX_ALMOST_FULL_THRESHOLD = 8;
-parameter CCIP_MMIO_RD_TIMEOUT = 512;
+// pClk cycles by which an MMIO read response must be generated.
+parameter CCIP_MMIO_RD_TIMEOUT = 65536;
para... |
cache: respect XDG_CACHE_HOME | @@ -63,18 +63,20 @@ static char * elektraStrConcat (const char * a, const char * b)
static int resolveCacheDirectory (Plugin * handle, CacheHandle * ch, Key * errorKey)
{
+ KeySet * resolverConfig;
char * cacheDir = getenv ("XDG_CACHE_HOME");
if (cacheDir)
{
cacheDir = elektraStrConcat (cacheDir, "/elektra");
+ ch->cac... |
add text time to debug | @@ -355,7 +355,7 @@ def create_frame(codec, beatmap, skin, paths, replay_event, resultinfo, start_in
while frame_info.osr_index < end_index: # len(replay_event) - 3:
status = render_draw(beatmap, component, cursor_event, frame_info, img, np_img, pbuffer,
preempt_followpoint, replay_event, start_index, time_preempt, upd... |
driver/retimer/pi3hdx1204.h: Format with clang-format
BRANCH=none
TEST=none | #define PI3HDX1204_POWER_ON_DELAY_MS 13
/* Enable or disable the PI3HDX1204. */
-int pi3hdx1204_enable(const int i2c_port,
- const uint16_t i2c_addr_flags,
+int pi3hdx1204_enable(const int i2c_port, const uint16_t i2c_addr_flags,
const int enable);
struct pi3hdx1204_tuning {
|
compare git version with .version | @@ -39,6 +39,15 @@ if (GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
list(GET PROJECT_VERSION_LIST 1 PROJECT_VERSION_MINOR)
list(GET PROJECT_VERSION_LIST 2 PROJECT_VERSION_PATCH)
set(__detect_version 1)
+ set(__version_str "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
+ if(EXISTS "$... |
mock: change use of strncat_s to strcat_s
safestr does not currently include strncat_s so this changes mock.c to
use strcat_s instead. | @@ -230,7 +230,7 @@ int ioctl(int fd, unsigned long request, ...)
hash = stupid_hash((uint32_t*)pr->buffer_address, pr->buffer_size / 4);
/* write hash to file in tmp */
strncpy_s(hashfilename, MAX_STRLEN, mock_devs[fd].pathname, strlen(mock_devs[fd].pathname) + 1);
- strncat_s(hashfilename, MAX_STRLEN, HASH_SUFFIX, si... |
Documentation change only: add Quick Start Guide section to main README.md. | @@ -153,6 +153,23 @@ Configuration information for the examples and the tests can be found in the `cf
| Wi-Fi | The [sockets](/example/sockets "sockets example") example brings up a TCP/UDP socket by using the [device](/common/device "device API"), [network](/common/network "network API") and [sock](/common/sock "sock ... |
{AH} add libctabixproxies to __all__, see | @@ -11,6 +11,8 @@ import pysam.libcfaidx as libcfaidx
from pysam.libcfaidx import *
import pysam.libctabix as libctabix
from pysam.libctabix import *
+import pysam.libctabixproxies as libctabixproxies
+from pysam.libctabixproxies import *
import pysam.libcsamfile as libcsamfile
from pysam.libcsamfile import *
import py... |
Fix snapcraft builds. | @@ -13,22 +13,22 @@ icon: server/printer.png
apps:
server:
- command: sbin/ippserver
+ command: sbin/server
plugs: [avahi-observe, home, network, network-bind]
find:
- command: bin/ippfind
+ command: bin/find
plugs: [avahi-observe, home, network]
proxy:
- command: sbin/ippproxy
+ command: sbin/proxy
plugs: [avahi-obser... |
zephyr/shim/chip/npcx/system_external_storage.c: Format with clang-format
BRANCH=none
TEST=none | @@ -66,8 +66,8 @@ void system_jump_to_booter(void)
*/
switch (system_get_shrspi_image_copy()) {
case EC_IMAGE_RW:
- flash_offset = CONFIG_EC_WRITABLE_STORAGE_OFF +
- CONFIG_RW_STORAGE_OFF;
+ flash_offset =
+ CONFIG_EC_WRITABLE_STORAGE_OFF + CONFIG_RW_STORAGE_OFF;
flash_used = CONFIG_RW_SIZE;
break;
#ifdef CONFIG_RW_B
@... |
Quick fix to _oc_copy_string_to_string_array | @@ -112,7 +112,7 @@ _oc_copy_string_to_string_array(oc_string_array_t *ocstringarray,
if (strlen(str) >= STRING_ARRAY_ITEM_MAX_LEN) {
return false;
}
- uint8_t pos = index * STRING_ARRAY_ITEM_MAX_LEN;
+ int pos = index * STRING_ARRAY_ITEM_MAX_LEN;
memcpy(oc_string(*ocstringarray) + pos, (const uint8_t *)str, strlen(str... |
Add getarch flags to disable AVX on x86
(and other small fixes to match Makefile behaviour) | @@ -70,6 +70,13 @@ if (X86_64)
set(GETARCH_FLAGS "${GETARCH_FLAGS} -march=native")
endif ()
+# On x86 no AVX support is available
+if (X86 OR X86_64)
+if ((DEFINED BINARY AND BINARY EQUAL 32) OR ("$CMAKE_SIZEOF_VOID_P}" EQUAL "4"))
+ set(GETARCH_FLAGS "${GETARCH_FLAGS} -DNO_AVX -DNO_AVX2 -DNO_AVX512")
+endif ()
+endif ... |
[autotools] Fix for CMake missing files in the autotools distribution | @@ -16,6 +16,10 @@ SUBDIRS = \
EXTRA_DIST = \
CMakeLists.txt \
cmake/CmDaB.cmake \
+ cmake/autoheader.cmake \
+ cmake/options.cmake \
+ cmake/post-test.cmake \
+ cmake/test-functions.cmake \
IXML.cmake.in \
UPNP.cmake.in \
ixml/CMakeLists.txt \
|
Disable SOF ISR feedback calcuation by default s.t. examples still work | // Determine feedback value within SOF ISR within audio driver - if disabled the user has to call tud_audio_n_fb_set() with a suitable feedback value on its own. If done within audio driver SOF ISR, tud_audio_n_fb_set() is disabled for user
#ifndef CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR
-#define CFG... |
Don't use bogus IP if network gateway couldn't be determined | @@ -1077,7 +1077,7 @@ void DeRestPluginPrivate::configToMap(const ApiRequest &req, QVariantMap &map)
}
else
{
- map["gateway"] = "192.168.178.1";
+ map["gateway"] = "0.0.0.0";
}
}
|
Temporarily disable offending strategies to make tests not fail for everyone | @@ -15,6 +15,8 @@ test-kvazaar: &test-template
- src/kvazaar
- src/.libs
expire_in: 1 week
+ variables:
+ KVAZAAR_OVERRIDE_inter_recon_bipred: generic
test-asan:
<<: *test-template
@@ -26,16 +28,19 @@ test-asan:
# AddressSanitizer adds some extra symbols so we expect a failure from
# the external symbols test.
XFAIL_TE... |
The library should be called .so | @@ -15,7 +15,7 @@ class build(_build):
errno = call(["make", "-Cbuild", "_ccllib"])
if errno != 0:
raise SystemExit(errno)
- errno = call(["cp", "build/_ccllib.*", "pyccl/"])
+ errno = call(["cp", "build/_ccllib.so", "pyccl/"])
if errno != 0:
raise SystemExit(errno)
errno = call(["cp", "build/ccllib.py", "pyccl/"])
|
documented missing oscore functions | @@ -617,16 +617,59 @@ int oc_obt_device_hard_reset(oc_uuid_t *uuid, oc_obt_device_status_cb_t cb,
int oc_obt_provision_pairwise_credentials(oc_uuid_t *uuid1, oc_uuid_t *uuid2,
oc_obt_status_cb_t cb, void *data);
+/**
+ * @brief provision pairwise oscore contexts
+ *
+ * @param uuid1 uuid of the first device to pair
+ *... |
sysdeps/managarm: Convert sys_socketpair to bragi | @@ -983,40 +983,27 @@ int sys_socketpair(int domain, int type_and_flags, int proto, int *fds) {
__ensure(!((type_and_flags & flags_mask) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)));
SignalGuard sguard;
- HelAction actions[3];
- globalQueue.trim();
- managarm::posix::CntRequest<MemoryAllocator> req(getSysdepsAllocator());
- req... |
vio-svc: rhbz#1925144: resolve symbolic links on path walkthough
Handle the case when a file is accessed using a full path (e.g.
"type z:\linkdir\myfile.txt"). | @@ -113,6 +113,9 @@ static NTSTATUS SetFileSize(FSP_FILE_SYSTEM *FileSystem, PVOID FileContext0,
static VOID FixReparsePointAttributes(VIRTFS *VirtFs, uint64_t nodeid,
UINT32 *PFileAttributes);
+static NTSTATUS VirtFsLookupFileName(HANDLE Device, PWSTR FileName,
+ FUSE_LOOKUP_OUT *LookupOut);
+
static int64_t GetUnique... |
avoid deadlock with BSD systems that call malloc from the dynamic linker
extend the exception used for macOS to cover also OpenBSD (tested in 6.4+)
and DragonFlyBSD (tested in 5.6.2) | @@ -10,7 +10,8 @@ terms of the MIT license. A copy of the license can be found in the file
#include "mimalloc-types.h"
-#if defined(MI_MALLOC_OVERRIDE) && (defined(__APPLE__) || defined(__OpenBSD__))
+#if defined(MI_MALLOC_OVERRIDE) && \
+ (defined(__APPLE__) || defined(__OpenBSD__) || defined(__DragonFly__))
#define M... |
Increased entropy of shmKey to avoid collisions between genomes. | #include <unistd.h>
#include <sys/stat.h>
-//arbitrary number for ftok function
-#define SHM_projectID 23
-
Genome::Genome (Parameters &P, ParametersGenome &pGe): shmStart(NULL), P(P), pGe(pGe), sharedMemory(NULL)
{
- shmKey=ftok(pGe.gDir.c_str(),SHM_projectID);
+ struct stat stbuf;
+ stat(pGe.gDir.c_str(), &stbuf);
+ ... |
rm mask and category declarations; | @@ -153,10 +153,6 @@ void lovrShapeGetPosition(Shape* shape, float* x, float* y, float* z);
void lovrShapeSetPosition(Shape* shape, float x, float y, float z);
void lovrShapeGetOrientation(Shape* shape, float* angle, float* x, float* y, float* z);
void lovrShapeSetOrientation(Shape* shape, float angle, float x, float y... |
Fixed hard fault on ST and TI Caused By Call To xProvisionDevice
xProvisionDevice checks for NULL certs and keys, but a path existed that caused it to try and provision a NULL private key.
This caused a hard fault on ST and TI when credentials were NULL. | @@ -1028,6 +1028,10 @@ CK_RV xProvisionDevice( CK_SESSION_HANDLE xSession,
configPRINTF( ( "Warning: could not clean-up old crypto objects. %d \r\n", xResult ) );
}
}
+ else
+ {
+ xResult = CKR_ARGUMENTS_BAD;
+ }
#endif /* if ( pkcs11configIMPORT_PRIVATE_KEYS_SUPPORTED == 1 ) */
/* If a client certificate has been prov... |
Add frame iterators [DEVINFRA-1031](#1265) | @@ -5,6 +5,7 @@ use std::{
use bytes::{Buf, BytesMut};
use dencode::FramedRead;
+use futures::StreamExt;
use crate::{wire_format, Sbp, CRC_LEN, HEADER_LEN, MAX_FRAME_LEN, PAYLOAD_INDEX, PREAMBLE};
@@ -44,12 +45,26 @@ pub fn iter_messages<R: io::Read>(input: R) -> impl Iterator<Item = Result<Sbp,
Decoder::new(input)
}
+... |
Fix constrained rendering in windowed mode on macOS | @@ -649,7 +649,7 @@ bool lovrGraphicsInit(GraphicsConfig* config) {
.srgb = true
};
- os_window_get_size(&state.window->info.width, &state.window->info.height);
+ os_window_get_fbsize(&state.window->info.width, &state.window->info.height);
state.depthFormat = config->stencil ? FORMAT_D32FS8 : FORMAT_D32F;
|
Document that ENGINE_add_conf_module() was deprecated. | @@ -44,6 +44,10 @@ None of the functions return a value.
L<config(5)>, L<OPENSSL_config(3)>
+=head1 HISTORY
+
+ENGINE_add_conf_module() was deprecated in OpenSSL 3.0.
+
=head1 COPYRIGHT
Copyright 2004-2018 The OpenSSL Project Authors. All Rights Reserved.
|
tools: add hint for using esp-cryptoauthlib from manager | re: "fatal error: esp_adc_cal.h: No such file or directory"
hint: "``esp_adc_cal`` component is no longer supported. New adc calibration driver is in ``esp_adc``. Legacy adc calibration driver has been moved into ``esp_adc`` component. To use legacy ``esp_adc_cal`` driver APIs, you should add ``esp_adc`` component to t... |
doc: Update intro to 1.0 release notes
Update the high-level summary. | ACRN v1.0 (May 2019)
####################
-We are pleased to announce the release of Project ACRN version 1.0,
-a major ACRN project milestone focused on automotive software-defined
-cockpit (SDC) use cases.
+We are pleased to announce the release of ACRN version 1.0, a key
+Project ACRN milestone focused on automotive... |
move comment box to end of post | ::
;hr;
::
- ;h2: Post comment:
- ;script@"/lib/js/easy-form.js";
- ;form(onsubmit "return easy_form.submit(this)")
- ;input(type "hidden", name "easy_form:mark", value "collections-action");
- ;input(type "hidden", name "easy_form:tag", value "comment");
- ;input(type "hidden", name "easy_form:url_end", value "collect... |
jenkins: Add doc to main() | @@ -119,6 +119,10 @@ DOCKER_IMAGES = [:] // Containers docker image descriptions, populated during
* if previous stage did not fail.
*****************************************************************************/
+/* main function wrapping around all stages
+ *
+ * Added to improve readability.
+ */
def main() {
stage("... |
wsman-curl-client-transport: check mutex methods return value
Fail caller if pthread_mutex_* functions are failed | @@ -703,16 +703,23 @@ int wsmc_transport_init(WsManClient *cl, void *arg)
{
CURLcode r;
- pthread_mutex_lock(&curl_mutex);
+ if (pthread_mutex_lock(&curl_mutex)) {
+ error("Error: Can't lock curl_mutex\n");
+ return 1;
+ }
if (cl->initialized) {
- pthread_mutex_unlock(&curl_mutex);
+ if (pthread_mutex_unlock(&curl_mute... |
Update buildMakeScript.js
Fix buildMakeScript for Windows | @@ -49,7 +49,7 @@ export default async (
const getValue = (label, variable, cmd) => {
if (platform === "win32") {
cmds.push(`@echo ${label}`);
- cmds.push(`FOR /F "tokens=*" %%g IN ('${cmd}') do (SET VAR=%%g)`);
+ cmds.push(`FOR /F "tokens=*" %%g IN ('${cmd}') do (SET ${variable}=%%g)`);
} else {
cmds.push(`echo "${lab... |
fixup ->next zeroing | @@ -330,6 +330,7 @@ static errval_t do_single_map(struct pmap_x86 *pmap, genvaddr_t vaddr,
for (int i = 0; i < pte_count; i++) {
ptable->u.vnode.children[table_base+i] = page;
}
+ page->next = NULL;
#else
#error Invalid pmap datastructure
#endif
|
Don't depend on other plugins
...and remove created metadata | @@ -35,7 +35,7 @@ TODO:
# Backup-and-Restore: user/tests/mac
# Mount `macaddr` plugin
-kdb mount config.dump /tests/mac dump macaddr
+kdb mount macconf.ecf /tests/mac macaddr
# Check the validity of the following MAC addresses
kdb setmeta /tests/mac/mac1 check/macaddr ""
@@ -88,6 +88,10 @@ kdb get /tests/mac/mac4
#> 17... |
board/endeavour/led.c: Format with clang-format
BRANCH=none
TEST=none | @@ -190,8 +190,7 @@ static int command_led(int argc, char **argv)
}
return EC_SUCCESS;
}
-DECLARE_CONSOLE_COMMAND(led, command_led,
- "[debug|red|white|off|crit]",
+DECLARE_CONSOLE_COMMAND(led, command_led, "[debug|red|white|off|crit]",
"Turn on/off LED.");
void led_get_brightness_range(enum ec_led_id led_id, uint8_t *... |
Time cluster setting TimeStatus Superseding=1
Attribute 0x0001 TimeStatus: Master(bit-0)=1, Superseding(bit-3)= 1. Also setting MasterZoneDst(bit-2)=1 if systemTimeZone has daylight savings. | * Send ZCL attribute response to read request on Time Cluster attributes.
*
* 0x0000 Time / UTC Time seconds from 1/1/2000
- * 0x0001 TimeStatus / Master(bit-0)=1, MasterZoneDst(bit-2)=1
+ * 0x0001 TimeStatus / Master(bit-0)=1, Superseding(bit-3)= 1, MasterZoneDst(bit-2)=1
* 0x0002 TimeZone / offset seconds from UTC
* ... |
Fixed path for SDL unzipped files | @@ -88,7 +88,7 @@ You'll also need to cross-compile SDL2 and install it wherever you like to keep
```
wget https://www.libsdl.org/release/SDL2-2.0.10.zip
unzip SDL2-2.0.10.zip
-cd SDL2-2.0.10.zip
+cd SDL2-2.0.10
mkdir build.mingw
cd build.mingw
../configure --target=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --build=... |
build: detect 'libyaml' | @@ -630,6 +630,17 @@ if(FLB_HAVE_UNIX_SOCKET)
FLB_DEFINITION(FLB_HAVE_UNIX_SOCKET)
endif()
+# libyaml support
+check_c_source_compiles("
+ #include <yaml.h>
+ int main() {
+ yaml_parser_t parser;
+ return 0;
+ }" FLB_HAVE_LIBYAML)
+if(FLB_HAVE_LIBYAML)
+ FLB_DEFINITION(FLB_HAVE_LIBYAML)
+endif()
+
# check attribute all... |
Add full field name | @@ -221,7 +221,7 @@ BOOLEAN PhAppResolverGetAppIdForWindow(
}
HRESULT PhAppResolverActivateAppId(
- _In_ PPH_STRING AppUserModelId,
+ _In_ PPH_STRING ApplicationUserModelId,
_In_opt_ PWSTR CommandLine,
_Out_opt_ HANDLE *ProcessId
)
@@ -243,7 +243,7 @@ HRESULT PhAppResolverActivateAppId(
status = IApplicationActivationM... |
options/elf: Add Elf32_Sym | @@ -23,6 +23,7 @@ typedef uint32_t Elf64_Word;
typedef int32_t Elf64_Sword;
typedef uint64_t Elf64_Xword;
typedef int64_t Elf64_Sxword;
+typedef uint16_t Elf64_Section;
typedef uint32_t Elf32_Addr;
typedef uint32_t Elf32_Off;
@@ -31,6 +32,7 @@ typedef uint32_t Elf32_Word;
typedef int32_t Elf32_Sword;
typedef uint64_t E... |
Minor corrections to CMSIS-Zone XML Format | @@ -602,7 +602,7 @@ The \ref xml_smap contains additional information for alias regions or processor
<td>name</td>
<td>Alternative name of this memory region (in case of alias) which must be unique in this *.rzone file.</td>
<td>xs:string</td>
- <td>optional</td>
+ <td>required</td>
</tr>
<tr>
<td>start</td>
@@ -807,13... |
Remove failur block | @@ -19,13 +19,13 @@ environment:
configuration: Release
OPENSSLDIR: C:\OpenSSL-v11-Win32
OPENSSL64DIR: C:\OpenSSL-v11-Win64
-matrix:
- allow_failures:
+# matrix:
+ # allow_failures:
# For some reason linking picoquicdemo.lib fails with
# cifra.lib(chash.obj) : error LNK2001: unresolved external symbol __CheckForDebugge... |
[kernel] add assert to thread object | @@ -275,6 +275,7 @@ rt_err_t rt_thread_startup(rt_thread_t thread)
/* thread check */
RT_ASSERT(thread != RT_NULL);
RT_ASSERT((thread->stat & RT_THREAD_STAT_MASK) == RT_THREAD_INIT);
+ RT_ASSERT(rt_object_get_type((rt_object_t)thread) == RT_Object_Class_Thread);
/* set current priority to init priority */
thread->curre... |
Fix bug preventing DMG build from finishing if palette change events were used | @@ -338,7 +338,7 @@ class ScriptBuilder {
paletteSetBackground = (eventId) => {
const output = this.output;
const { eventPaletteIndexes } = this.options;
- const paletteIndex = eventPaletteIndexes[eventId];
+ const paletteIndex = eventPaletteIndexes[eventId] || 0;
output.push(cmd(PALETTE_SET_BACKGROUND));
output.push(h... |
cleanup delayed output | @@ -150,10 +150,10 @@ static _Atomic(uintptr_t) out_len;
static void mi_out_buf(const char* msg) {
if (msg==NULL) return;
+ if (mi_atomic_read_relaxed(&out_len)>=MAX_OUT_BUF) return;
size_t n = strlen(msg);
if (n==0) return;
- // claim
- if (mi_atomic_read_relaxed(&out_len)>=MAX_OUT_BUF) return;
+ // claim space
uintpt... |
cups-browsed: Added curly brackets missing in the previous commit. | @@ -4505,9 +4505,10 @@ gboolean update_cups_queues(gpointer unused) {
if ((q = p->slave_of) == NULL) {
if ((http = http_connect_local ()) == NULL) {
debug_printf("Unable to connect to CUPS!\n");
- if (in_shutdown == 0)
+ if (in_shutdown == 0) {
current_time = time(NULL);
p->timeout = current_time + TIMEOUT_RETRY;
+ }
b... |
options.h: "any" -> "" | @@ -159,7 +159,7 @@ gftp_config_vars gftp_global_config_vars[] =
N_("This specifies the default protocol to use"), GFTP_PORT_ALL, NULL},
{"ip_version", N_("IP version:"),
- gftp_option_type_textcombo, "any", gftp_ip_version, 0,
+ gftp_option_type_textcombo, "", gftp_ip_version, 0,
N_("IP version to use. (ipv4/ipv6 or l... |
avx2: fix native alias for simde_mm256_cvtepu8_epi16 | @@ -934,7 +934,7 @@ simde_mm256_cvtepu8_epi16 (simde__m128i a) {
#endif
}
#if defined(SIMDE_AVX2_ENABLE_NATIVE_ALIASES)
-# define _mm256_cvtepu8_epi64(a) simde_mm256_cvtepu8_epi64(a)
+# define _mm256_cvtepu8_epi16(a) simde_mm256_cvtepu8_epi16(a)
#endif
SIMDE__FUNCTION_ATTRIBUTES
|
apps/wm_test: Enable wm_test in artik053/tc/defconfig
Set CONFIG_EXAMPLES_WIFIMANAGER_TEST to y
Enable wifi sample application in tc configuration | @@ -1320,7 +1320,7 @@ CONFIG_EXAMPLES_TESTCASE_TASK_MANAGER_ITC=y
# CONFIG_EXAMPLES_WEBCLIENT is not set
# CONFIG_EXAMPLES_WEBSERVER is not set
# CONFIG_EXAMPLES_WEBSOCKET is not set
-# CONFIG_EXAMPLES_WIFIMANAGER_TEST is not set
+CONFIG_EXAMPLES_WIFIMANAGER_TEST=y
# CONFIG_EXAMPLES_WIFI_TEST is not set
#
|
temprarily remove nekbone from blocking nPSDB | EPSDB_LIST=${EPSDB_LIST:-"examples smoke smokefails omp5 openmpapps nekbone sollve babelstream"}
SUITE_LIST=${SUITE_LIST:-"examples smoke smokefails omp5 openmpapps nekbone sollve"}
-blockinglist="examples_fortran examples_openmp smoke nekbone sollve45 sollve50"
+blockinglist="examples_fortran examples_openmp smoke sol... |
Archive package in nightly builds | @@ -49,7 +49,7 @@ pipeline {
mkdir build_rel
cd build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../ -DISA_AVX2=ON -DISA_SSE41=ON -DISA_SSE2=ON -DISA_NONE=ON ..
- make install -j4
+ make install package -j4
'''
}
}
@@ -98,7 +98,7 @@ pipeline {
mkdir build_rel
cd build_rel
cmake -G "... |
Code syntax optimization | @@ -448,7 +448,8 @@ espi_parse_cipsntptime(const char* str, esp_msg_t* msg) {
if (*str == '+') { /* Check input string */
str += 13;
}
- /**
+
+ /*
* Scan for day in a week
*/
if (!strncmp(str, "Mon", 3)) {
@@ -468,7 +469,7 @@ espi_parse_cipsntptime(const char* str, esp_msg_t* msg) {
}
str += 4;
- /**
+ /*
* Scan for m... |
Removed .global for do_go | #include "gocontext.h"
.global go_hook_write, go_hook_open, go_hook_socket, go_hook_accept4
-.global go_hook_read, go_hook_close, do_go
+.global go_hook_read, go_hook_close
// The macro interpose takes 3 params
// the name of the global variable as defined above ex: go_hook_write
|
correcting aesthetic points | ::
=, strand=strand:spider
::
-:: send on /spider/garden/json/get-dudes/json
+:: send on /desk/dude
::
|%
++ buds :: get agents currently running
- |= p=@tas
- =/ m (strand ,(list @tas))
+ |= p=desk
+ =/ m (strand ,(list dude:gall))
^- form:m
- ?. =(%base p)
- ;< q=(list @tas) bind:m (suds p)
+ ?. =(%$ p)
+ ;< q=(list ... |
[chain] omit unnecesary receipts commit | @@ -607,7 +607,9 @@ func (cs *ChainService) executeBlock(bstate *state.BlockState, block *types.Bloc
return err
}
+ if len(ex.BlockState.Receipts()) != 0 {
cs.cdb.writeReceipts(block.BlockHash(), block.BlockNo(), ex.BlockState.Receipts())
+ }
cs.RequestTo(message.MemPoolSvc, &message.MemPoolDel{
Block: block,
|
Use porto layer with nvidia-396 driver to fix catboost tests
issue:https://st.yandex-team.ru/DEVTOOLS-4881 | @@ -78,8 +78,18 @@ def execute(*args, **kwargs):
pytest.xfail(reason=cuda_setup_error)
return yatest.yt.execute(
*args,
- task_spec={'gpu_limit': 1},
- operation_spec={'pool_trees': ['gpu']},
+ task_spec={
+ # temporary layers
+ 'layer_paths': [
+ '//home/codecoverage/nvidia-396.tar.gz',
+ '//porto_layers/ubuntu-xenial... |
Changing edward IP
139.99.120.77:13655 > 51.75.145.181:13655 | 47.100.202.206:56600
47.100.254.68:13654
47.104.147.94:13655
+51.75.145.181:13655
52.71.124.24:18888
52.80.150.210:13655
52.80.193.246:13654
124.161.87.210:13655
125.77.30.211:13655
136.243.55.153:16775
-139.99.120.77:13655
139.99.124.23:13655
139.99.124.135:13654
139.99.124.150:16775
|
doc: update project's target max LOC
Project ACRN is targetting to keep the hypervisor's total number of lines of
code (LOC) below 40K. Update the "Build ACRN from Source" document to accurately
reflect that. | @@ -36,7 +36,8 @@ the ACRN hypervisor for the following reasons:
- **Keep small footprint.** Implementing dynamic parsing introduces
hundreds or thousands of lines of code. Avoiding dynamic parsing
- helps keep the hypervisor's Lines of Code (LOC) in a desirable range (around 30K).
+ helps keep the hypervisor's Lines o... |
Update Dockerfile to Ubuntu / Ryzen
No need to get makefile_wine.gen as already copy/pasted at project's root | -FROM i386/debian:buster-slim
+FROM amd64/ubuntu:focal
# Set-up argument defaults
ARG SGDK_WINE_VER=1aca454a2c1419d97c3518907d156ddf1250469b
-ARG JDK_VER=11
+ARG JRE_VER=14
# Work-around required for JDK
RUN mkdir -p /usr/share/man/man1
@@ -12,7 +12,7 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \
apt-get update &... |
Higher ordder functions js/js working properly in node loader. | @@ -65,11 +65,13 @@ TEST_F(metacall_callback_complex_test, DefaultConstructor)
void * args_fact[] = { metacall_value_create_long(5L) };
void * ret = metacallfv(metacall_value_to_function(py_py_factorial), args_fact);
ASSERT_NE((void *) NULL, (void *) ret);
+ ASSERT_EQ((enum metacall_value_id) METACALL_LONG, (enum metac... |
Travis: Install Python 2 version of Cheetah | @@ -63,7 +63,7 @@ before_install:
brew install openssl libgcrypt;
brew install libgit2;
brew install xerces-c;
- pip install cheetah; # Required by kdb-gen
+ pip2 install cheetah; # Required by kdb-gen
export Qt5_DIR=/usr/local/opt/qt5;
brew config;
fi
|
doc: fix wrong Docker container image in tutorial
Fix the name of the Docker Container image that is used to build the kernel
for an RTVM (Preempt-RT kernel) when that image was built by the user
him/herself. | @@ -140,7 +140,7 @@ Build the ACRN User VM PREEMPT_RT Kernel in Docker
$ cp x86-64_defconfig .config
$ docker run -u`id -u`:`id -g` --rm -v $PWD:/workspace \
- acrn/clearlinux-acrn-builder:latest \
+ clearlinux-acrn-builder:latest \
bash -c "make clean && make olddefconfig && make && make modules_install INSTALL_MOD_PA... |
Update build-gtest.sh
Use new Google Test on Ubuntu 20.04 | #!/usr/bin/env bash
cd `dirname $0`
+
+# Use latest Google Test
+if [ -f /etc/os-release ]; then
+ source /etc/os-release
+ # Use new Google Test on latest Ubuntu 20.04 : old one no longer compiles on 20
+ if [ "$VERSION_ID" == "20.04" ]; then
+ rm -rf googletest
+ git clone https://github.com/google/googletest
+ fi
+f... |
pmalloc: fix shared mappings | @@ -290,7 +290,7 @@ pmalloc_map_pages (clib_pmalloc_main_t * pm, clib_pmalloc_arena_t * a,
return 0;
}
- mmap_flags = MAP_FIXED | MAP_ANONYMOUS;
+ mmap_flags = MAP_FIXED;
if ((pm->flags & CLIB_PMALLOC_F_NO_PAGEMAP) == 0)
mmap_flags |= MAP_LOCKED;
@@ -307,10 +307,12 @@ pmalloc_map_pages (clib_pmalloc_main_t * pm, clib_p... |
core/minute-ia: Setup GDT
Setup GDT for main ISH FW
BRANCH=none
TEST=Verify that main ISH FW runs fine when loaded through host FW load flow.
Commit-Ready: Caveh Jalali | @@ -286,12 +286,38 @@ interrupt_descriptor
interrupt_descriptor
interrupt_descriptor # 255
+__gdt:
+ # Entry 0: Null descriptor
+ .word 0x0000
+ .word 0x0000
+ .byte 0x00
+ .byte 0x00
+ .byte 0x00
+ .byte 0x00
+ # Entry 1: Code descriptor
+ .word 0xffff # Limit: xffff
+ .word 0x0000 # Base: xxxx0000
+ .byte 0x00 # Base... |
DSA: fix the DSA parameter logic in test. | @@ -1263,11 +1263,14 @@ static int test_EVP_PKEY_CTX_get_set_params(void)
|| !TEST_ptr(p)
|| !TEST_ptr(q)
|| !TEST_ptr(g)
- || !TEST_ptr(pub)
- || !DSA_set0_pqg(dsa, p, q, g)
+ || !DSA_set0_pqg(dsa, p, q, g))
+ goto err;
+ p = q = g = NULL;
+ if (!TEST_ptr(pub)
+ || !TEST_ptr(priv)
|| !DSA_set0_key(dsa, pub, priv))
got... |
fix(memory leak):
free http2Res of fabricHttp2res in BoatHlfabricTxExec() . | @@ -241,8 +241,13 @@ __BOATSTATIC BOAT_RESULT BoatHlfabricTxExec(BoatHlfabricTx *tx_ptr,
BoatLog(BOAT_LOG_CRITICAL, "[http2]http2SubmitRequest failed.");
continue;
}
+ if(fabricHttp2res.httpResLen < 5){
+ BoatLog(BOAT_LOG_CRITICAL, "[http2]http2SubmitRequest failed.");
+ continue;
+ }
parsePtr = &(tx_ptr->endorserRespo... |
[chainmaker]free para malloc' | @@ -40,8 +40,6 @@ const BCHAR * chainmaker_user_cert ="-----BEGIN CERTIFICATE-----\n"
"a1azgQ44SZFRowIhAOSqB0T6fjVYc6owMKfUtUJpEC1XSO/tlHDD0NpdLCWk\n"
"-----END CERTIFICATE-----\n";
-
-
const BCHAR *chainmaker_org_tls_ca_cert = "-----BEGIN CERTIFICATE-----\n"
"MIICaDCCAg2gAwIBAgIDASOLMAoGCCqGSM49BAMCMIGKMQswCQYDVQQGEwJ... |
Fixed typo on date. | @@ -2,7 +2,7 @@ Copyright (C) 2009-2020
Gerardo Orellana <goaccess@prosoftcorp.com>
* Version history:
- - 1.4.3 [Friday, December 03, 2020]
+ - 1.4.3 [Friday, December 04, 2020]
. GoAccess 1.4.3 Released. See ChangeLog for new features/bug-fixes.
- 1.4.2 [Monday, November 16, 2020]
. GoAccess 1.4.2 Released. See Chang... |
tweak to image in README.md | [](https://dev.azure.com/openexr/OpenEXR/_build/latest?definitionId=1&branchName=master)
[](https... |
SOVERSION bump to version 7.6.5 | @@ -72,7 +72,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_
# with backward compatible change and micro version is connected with any internal change of the library.
set(SYSREPO_MAJOR_SOVERSION 7)
set(SYSREPO_MINOR_SOVERSION 6)
-set(SYSREPO_MICRO_SOVERSION 4)
+set(SYSREPO_MICRO_SO... |
adding nrv led, button and pin values to bsp.h | @@ -37,8 +37,44 @@ extern uint8_t _ram_start;
#define RAM_SIZE 0x8000
/* LED pins */
-#define LED_BLINK_PIN (21)
-#define LED_2 (22)
+#define LED_1 (17)
+#define LED_2 (18)
+#define LED_3 (19)
+#define LED_4 (20)
+#define LED_BLINK_PIN (LED_1)
+
+/* Buttons */
+#define BUTTON_1 (13)
+#define BUTTON_2 (14)
+#define BUTT... |
Wait to finish all the transmission before switching baudrate avoiding to reset UART in the middle of a transmission. | @@ -392,6 +392,9 @@ static error_return_t Robus_MsgHandler(msg_t *input)
return SUCCEED;
break;
case SET_BAUDRATE:
+ // We have to wait the end of transmission of all the messages we have to transmit
+ while (MsgAlloc_TxAllComplete() == FAILED)
+ ;
memcpy(&baudrate, input->data, sizeof(uint32_t));
LuosHAL_ComInit(baudr... |
[bsp][CME_M7] update lwIP config. | /* Enable DHCP */
// #define RT_LWIP_DHCP
-/* the number of simulatenously active TCP connections*/
-#define RT_LWIP_TCP_PCB_NUM 3
+#define RT_MEMP_NUM_NETCONN 12
+#define RT_LWIP_PBUF_NUM 3
+#define RT_LWIP_RAW_PCB_NUM 2
+#define RT_LWIP_UDP_PCB_NUM 4
+#define RT_LWIP_TCP_PCB_NUM 8
+#define RT_LWIP_TCP_SEG_NUM 40
+#de... |
Fixed macro error
ATCA_SLOT_CONFIG_WIRTE_KEY_MASK -> ATCA_SLOT_CONFIG_WRITE_KEY_MASK | @@ -578,7 +578,7 @@ CK_RV pkcs11_key_write(CK_VOID_PTR pSession, CK_VOID_PTR pObject, CK_ATTRIBUTE_P
{
uint8_t key_buf[36] = { 0, 0, 0, 0 };
uint16_t write_key_id = cfg_ptr->SlotConfig[obj_ptr->slot];
- write_key_id &= ATCA_SLOT_CONFIG_WIRTE_KEY_MASK;
+ write_key_id &= ATCA_SLOT_CONFIG_WRITE_KEY_MASK;
write_key_id >>= ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.