Add file descriptions to kernel space headers

This commit is contained in:
Sebastian Huber
2022-05-18 10:00:12 +02:00
parent b9926483b1
commit f49ef6b6cb
9 changed files with 53 additions and 3 deletions

View File

@@ -3,7 +3,8 @@
/** /**
* @file * @file
* *
* @brief * @brief This header file provides CPU set definitions for the kernel space
* (_KERNEL is defined before including <sys/cpuset.h>).
*/ */
/* /*

View File

@@ -32,6 +32,13 @@
* $FreeBSD: head/sys/netinet/in.h 326023 2017-11-20 19:43:44Z pfg $ * $FreeBSD: head/sys/netinet/in.h 326023 2017-11-20 19:43:44Z pfg $
*/ */
/**
* @file
*
* @brief This header file provides IPv4 definitions for the kernel space
* (_KERNEL is defined before including <netinet/in.h>).
*/
#if !defined(_NETINET_IN_H_) || !defined(_KERNEL) #if !defined(_NETINET_IN_H_) || !defined(_KERNEL)
#error "must be included via <netinet/in.h> in kernel space" #error "must be included via <netinet/in.h> in kernel space"
#endif #endif

View File

@@ -31,6 +31,13 @@
* $KAME: in6.h,v 1.89 2001/05/27 13:28:35 itojun Exp $ * $KAME: in6.h,v 1.89 2001/05/27 13:28:35 itojun Exp $
*/ */
/**
* @file
*
* @brief This header file provides IPv6 definitions for the kernel space
* (_KERNEL is defined before including <netinet6/in6.h>).
*/
#if !defined(_NETINET6_IN6_H_) || !defined(_KERNEL) #if !defined(_NETINET6_IN6_H_) || !defined(_KERNEL)
#error "must be included via <netinet6/in6.h> in kernel space" #error "must be included via <netinet6/in6.h> in kernel space"
#endif #endif

View File

@@ -1,7 +1,13 @@
/* SPDX-License-Identifier: BSD-2-Clause */ /* SPDX-License-Identifier: BSD-2-Clause */
/** /**
* @file
* *
* @brief This header file provides memory map definitions for the kernel space
* (_KERNEL is defined before including <sys/mman.h>).
*/
/*
* Copyright (C) 2016 embedded brains GmbH * Copyright (C) 2016 embedded brains GmbH
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@@ -3,7 +3,8 @@
/** /**
* @file * @file
* *
* @brief * @brief This header file provides parameter definitions for the kernel space
* (_KERNEL is defined before including <sys/param.h>).
*/ */
/* /*

View File

@@ -34,6 +34,13 @@
* $FreeBSD$ * $FreeBSD$
*/ */
/**
* @file
*
* @brief This header file provides time definitions for the kernel space
* (_KERNEL is defined before including <sys/time.h>).
*/
#if !defined(_SYS_TIME_H_) || !defined(_KERNEL) #if !defined(_SYS_TIME_H_) || !defined(_KERNEL)
#error "must be included via <sys/time.h> in kernel space" #error "must be included via <sys/time.h> in kernel space"
#endif #endif

View File

@@ -1,5 +1,12 @@
/* SPDX-License-Identifier: BSD-2-Clause */ /* SPDX-License-Identifier: BSD-2-Clause */
/**
* @file
*
* @brief This header file provides type definitions for the kernel space
* (_KERNEL is defined before including <sys/types.h>).
*/
/* /*
* Copyright (C) 2016 embedded brains GmbH * Copyright (C) 2016 embedded brains GmbH
* *

View File

@@ -32,6 +32,13 @@
* $FreeBSD: head/sys/sys/uio.h 331621 2018-03-27 15:20:03Z brooks $ * $FreeBSD: head/sys/sys/uio.h 331621 2018-03-27 15:20:03Z brooks $
*/ */
/**
* @file
*
* @brief This header file provides device driver I/O definitions for the
* kernel space (_KERNEL is defined before including <sys/uio.h>).
*/
#if !defined(_SYS_UIO_H_) || !defined(_KERNEL) #if !defined(_SYS_UIO_H_) || !defined(_KERNEL)
#error "must be included via <sys/uio.h> in kernel space" #error "must be included via <sys/uio.h> in kernel space"
#endif #endif

View File

@@ -1,5 +1,12 @@
/* SPDX-License-Identifier: BSD-2-Clause */ /* SPDX-License-Identifier: BSD-2-Clause */
/**
* @file
*
* @brief This header file provides timecounter definitions for the kernel space
* (_KERNEL is defined before including <sys/time.h>) and RTEMS.
*/
/* /*
* Copyright (C) 2016 embedded brains GmbH * Copyright (C) 2016 embedded brains GmbH
* *