rumpk/libs/membrane/include/arch/sys_arch.h

30 lines
723 B
C

// SPDX-License-Identifier: LSL-1.0
// Copyright (c) 2026 Markus Maiwald
// Stewardship: Self Sovereign Society Foundation
//
// This file is part of the Nexus Sovereign Core.
// See legal/LICENSE_SOVEREIGN.md for license terms.
/**
* @file sys_arch.h
* @brief Architecture-specific types for lwIP (NO_SYS mode)
*
* This header provides the minimal type definitions required
* by lwIP's arch.h when SYS_LIGHTWEIGHT_PROT is enabled.
*/
#ifndef LWIP_ARCH_SYS_ARCH_H
#define LWIP_ARCH_SYS_ARCH_H
#include <stdint.h>
/**
* sys_prot_t - Protection state type
*
* In NO_SYS mode, this is unused but must be defined.
* We use a dummy uint32_t.
*/
typedef uint32_t sys_prot_t;
#endif /* LWIP_ARCH_SYS_ARCH_H */