sys/kern: Add VFS support

- Refactor the libio interface

- Move syscalls into an rtemsbsd location

- Provide a root directory mount point

Update #4475
This commit is contained in:
Chris Johns
2021-08-02 15:09:41 +10:00
parent ac4db4cec5
commit 6514d56158
99 changed files with 14041 additions and 3399 deletions

View File

@@ -85,6 +85,12 @@ extern "C" {
#define RTEMS_BSD_CFGDECL_DOMAIN_PAGE_MBUFS_SIZE RTEMS_BSD_ALLOCATOR_DOMAIN_PAGE_MBUF_DEFAULT
#endif
#if defined(RTEMS_BSD_CONFIG_DOMAIN_BIO_SIZE)
#define RTEMS_BSD_CFGDECL_DOMAIN_BIO_SIZE RTEMS_BSD_CONFIG_DOMAIN_BIO_SIZE
#else
#define RTEMS_BSD_CFGDECL_DOMAIN_BIO_SIZE RTEMS_BSD_ALLOCATOR_DOMAIN_BIO_DEFAULT
#endif
/*
* BSD Kernel modules.
*/
@@ -222,6 +228,12 @@ extern "C" {
uintptr_t rtems_bsd_allocator_domain_page_mbuf_size = \
RTEMS_BSD_CFGDECL_DOMAIN_PAGE_MBUFS_SIZE;
/*
* Configure the block IO buffer memory size.
*/
uintptr_t rtems_bsd_allocator_domain_bio_size = \
RTEMS_BSD_CFGDECL_DOMAIN_BIO_SIZE;
/*
* If a BSP configuration is requested include the Nexus bus BSP
* configuration.