From 33f01fc324cbdbed29bd891a994a31221b349417 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 24 Nov 2025 10:20:38 +0100 Subject: hotpatch: fix messaging parser uses invalid soh. Signed-off-by: Amlal El Mahrouss --- include/ocl/core/chunk_string.hpp | 2 +- include/ocl/core/error_handler.hpp | 2 +- include/ocl/core/includes.hpp | 8 ++++++-- include/ocl/fix/fix.hpp | 3 ++- include/ocl/memory/allocator_system.hpp | 2 +- include/ocl/simd/basic_simd.hpp | 2 +- include/ocl/simd/simd.hpp | 2 +- 7 files changed, 13 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/ocl/core/chunk_string.hpp b/include/ocl/core/chunk_string.hpp index 1d922de..ccbc10a 100644 --- a/include/ocl/core/chunk_string.hpp +++ b/include/ocl/core/chunk_string.hpp @@ -8,7 +8,7 @@ #ifndef OCL_UTILITY_CHUNK_STRING_HPP #define OCL_UTILITY_CHUNK_STRING_HPP -#include +#include #include #include diff --git a/include/ocl/core/error_handler.hpp b/include/ocl/core/error_handler.hpp index f761d63..717b522 100644 --- a/include/ocl/core/error_handler.hpp +++ b/include/ocl/core/error_handler.hpp @@ -8,7 +8,7 @@ #ifndef _OCL_ERROR_HANDLER_HPP #define _OCL_ERROR_HANDLER_HPP -#include +#include #include namespace ocl diff --git a/include/ocl/core/includes.hpp b/include/ocl/core/includes.hpp index 9ed8ffb..8d94cc0 100644 --- a/include/ocl/core/includes.hpp +++ b/include/ocl/core/includes.hpp @@ -1,12 +1,16 @@ /* - * File: core/includes.hpp - * Purpose: Core includes of the OCL. + * File: core/config.hpp + * Purpose: Config file of the OCL. * Author: Amlal El Mahrouss (amlal@nekernel.org) * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License. */ #pragma once +#include +#include +#include + #include #include #include diff --git a/include/ocl/fix/fix.hpp b/include/ocl/fix/fix.hpp index 0c6685d..85a8b70 100644 --- a/include/ocl/fix/fix.hpp +++ b/include/ocl/fix/fix.hpp @@ -136,7 +136,8 @@ namespace ocl::fix class basic_visitor final { public: - static constexpr const char_type soh = '|'; + /// AMLALE: Yeah... + static constexpr const char_type soh = 0x01; static constexpr const char_type eq = '='; static constexpr uint32_t base = 10U; diff --git a/include/ocl/memory/allocator_system.hpp b/include/ocl/memory/allocator_system.hpp index 67e3266..345b612 100644 --- a/include/ocl/memory/allocator_system.hpp +++ b/include/ocl/memory/allocator_system.hpp @@ -8,7 +8,7 @@ #ifndef _OCL_ALLOCATOR_SYSTEM_HPP #define _OCL_ALLOCATOR_SYSTEM_HPP -#include +#include #include namespace ocl diff --git a/include/ocl/simd/basic_simd.hpp b/include/ocl/simd/basic_simd.hpp index a401dbd..7fba26b 100644 --- a/include/ocl/simd/basic_simd.hpp +++ b/include/ocl/simd/basic_simd.hpp @@ -7,7 +7,7 @@ #pragma once -#include +#include #ifdef __x86_64__ #include diff --git a/include/ocl/simd/simd.hpp b/include/ocl/simd/simd.hpp index 711bf31..92bb713 100644 --- a/include/ocl/simd/simd.hpp +++ b/include/ocl/simd/simd.hpp @@ -7,7 +7,7 @@ #pragma once -#include +#include /// @author Amlal El Mahrouss /// @brief Basic SIMD processor. -- cgit v1.2.3