Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
DDS.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
3// Licensed under the Apache License, Version 2.0 (see LICENSE file)
4// Official repository: https://git.nekernel.org/src
5
6#ifndef _NE_DDK_DDS_H_
7#define _NE_DDK_DDS_H_
8
10
11#ifndef _DDS
12#define _DDS (202605L)
13#endif
14
15#ifndef DDK_UNLOCK_IRQ
16#define DDK_UNLOCK_IRQ ATTRIBUTE(cleanup(ddk_unlock_irq))
17#endif
18
19DDK_EXTERN void ddk_lock_irq(void);
20DDK_EXTERN void ddk_unlock_irq(void);
21
22#endif // _NE_DDK_DDS_H_
DDK_EXTERN void ddk_unlock_irq(void)
DDK_EXTERN void ddk_lock_irq(void)