forked from PX4/NuttX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename CONFIG_LIBC_AIO to CONFIG_FS_AIO since it is now an OS property
- Loading branch information
1 parent
018cf33
commit 652d3ed
Showing
15 changed files
with
51 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# | ||
# For a description of the syntax of this configuration file, | ||
# see misc/tools/kconfig-language.txt. | ||
# | ||
|
||
config FS_AIO | ||
bool "Asynchronous I/O support" | ||
default n | ||
depends on SCHED_LPWORK | ||
---help--- | ||
Enable support for aynchronous I/O. This selection enables the | ||
interfaces declared in include/aio.h. | ||
|
||
if FS_AIO | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
############################################################################ | ||
# fs/aio/Make.defs | ||
# libc/fs/Make.defs | ||
# | ||
# Copyright (C) 2014 Gregory Nutt. All rights reserved. | ||
# Author: Gregory Nutt <[email protected]> | ||
|
@@ -33,7 +33,7 @@ | |
# | ||
############################################################################ | ||
|
||
ifeq ($(CONFIG_LIBC_AIO),y) | ||
ifeq ($(CONFIG_FS_AIO),y) | ||
|
||
# Add the asynchronous I/O C files to the build | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**************************************************************************** | ||
* fs/aio/aio_cancel.c | ||
* libc/aio/aio_cancel.c | ||
* | ||
* Copyright (C) 2014 Gregory Nutt. All rights reserved. | ||
* Author: Gregory Nutt <[email protected]> | ||
|
@@ -48,7 +48,7 @@ | |
|
||
#include "aio/aio.h" | ||
|
||
#ifdef CONFIG_LIBC_AIO | ||
#ifdef CONFIG_FS_AIO | ||
|
||
/**************************************************************************** | ||
* Pre-processor Definitions | ||
|
@@ -164,4 +164,4 @@ int aio_cancel(int fildes, FAR struct aiocb *aiocbp) | |
return ret; | ||
} | ||
|
||
#endif /* CONFIG_LIBC_AIO */ | ||
#endif /* CONFIG_FS_AIO */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**************************************************************************** | ||
* fs/aio/aio_fsync.c | ||
* libc/aio/aio_fsync.c | ||
* | ||
* Copyright (C) 2014 Gregory Nutt. All rights reserved. | ||
* Author: Gregory Nutt <[email protected]> | ||
|
@@ -43,13 +43,13 @@ | |
#include <aio.h> | ||
#include <assert.h> | ||
#include <errno.h> | ||
#include <debug.h> | ||
|
||
#include <nuttx/wqueue.h> | ||
|
||
#include "lib_internal.h" | ||
#include "aio/aio.h" | ||
|
||
#ifdef CONFIG_LIBC_AIO | ||
#ifdef CONFIG_FS_AIO | ||
|
||
/**************************************************************************** | ||
* Pre-processor Definitions | ||
|
@@ -225,4 +225,4 @@ int aio_fsync(int op, FAR struct aiocb *aiocbp) | |
return OK; | ||
} | ||
|
||
#endif /* CONFIG_LIBC_AIO */ | ||
#endif /* CONFIG_FS_AIO */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**************************************************************************** | ||
* fs/aio/aio_read.c | ||
* libc/aio/aio_read.c | ||
* | ||
* Copyright (C) 2014 Gregory Nutt. All rights reserved. | ||
* Author: Gregory Nutt <[email protected]> | ||
|
@@ -44,13 +44,13 @@ | |
#include <aio.h> | ||
#include <assert.h> | ||
#include <errno.h> | ||
#include <debug.h> | ||
|
||
#include <nuttx/wqueue.h> | ||
|
||
#include "lib_internal.h" | ||
#include "aio/aio.h" | ||
|
||
#ifdef CONFIG_LIBC_AIO | ||
#ifdef CONFIG_FS_AIO | ||
|
||
/**************************************************************************** | ||
* Pre-processor Definitions | ||
|
@@ -273,4 +273,4 @@ int aio_read(FAR struct aiocb *aiocbp) | |
return OK; | ||
} | ||
|
||
#endif /* CONFIG_LIBC_AIO */ | ||
#endif /* CONFIG_FS_AIO */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**************************************************************************** | ||
* fs/aio/aio_signal.c | ||
* libc/aio/aio_signal.c | ||
* | ||
* Copyright (C) 2014 Gregory Nutt. All rights reserved. | ||
* Author: Gregory Nutt <[email protected]> | ||
|
@@ -48,7 +48,7 @@ | |
|
||
#include "aio/aio.h" | ||
|
||
#ifdef CONFIG_LIBC_AIO | ||
#ifdef CONFIG_FS_AIO | ||
|
||
/**************************************************************************** | ||
* Pre-processor Definitions | ||
|
@@ -145,4 +145,4 @@ int aio_signal(FAR struct aiocb *aiocbp) | |
return OK; | ||
} | ||
|
||
#endif /* CONFIG_LIBC_AIO */ | ||
#endif /* CONFIG_FS_AIO */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**************************************************************************** | ||
* fs/aio/aio_write.c | ||
* libc/aio/aio_write.c | ||
* | ||
* Copyright (C) 2014 Gregory Nutt. All rights reserved. | ||
* Author: Gregory Nutt <[email protected]> | ||
|
@@ -45,13 +45,13 @@ | |
#include <aio.h> | ||
#include <assert.h> | ||
#include <errno.h> | ||
#include <debug.h> | ||
|
||
#include <nuttx/wqueue.h> | ||
|
||
#include "lib_internal.h" | ||
#include "aio/aio.h" | ||
|
||
#ifdef CONFIG_LIBC_AIO | ||
#ifdef CONFIG_FS_AIO | ||
|
||
/**************************************************************************** | ||
* Pre-processor Definitions | ||
|
@@ -304,4 +304,4 @@ int aio_write(FAR struct aiocb *aiocbp) | |
return OK; | ||
} | ||
|
||
#endif /* CONFIG_LIBC_AIO */ | ||
#endif /* CONFIG_FS_AIO */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/******************************************************************************** | ||
* include/signal.h | ||
* | ||
* Copyright (C) 2007-2009, 2011, 2013 Gregory Nutt. All rights reserved. | ||
* Copyright (C) 2007-2009, 2011, 2013-2014 Gregory Nutt. All rights reserved. | ||
* Author: Gregory Nutt <[email protected]> | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
|
@@ -101,7 +101,7 @@ | |
# endif | ||
#endif | ||
|
||
#ifdef CONFIG_LIBC_AIO | ||
#ifdef CONFIG_FS_AIO | ||
# ifndef CONFIG_SIG_POLL | ||
# define SIGPOLL 5 /* Sent when an asynchronous I/O event occurs */ | ||
# else | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters