Chris Johns
c49985691f
Change all references of rtems.com to rtems.org.
2014-03-21 08:10:47 +11:00
Sebastian Huber
d50acdbb6c
score: Add local context to SMP lock API
...
Add a local context structure to the SMP lock API for acquire and
release pairs. This context can be used to store the ISR level and
profiling information. It may be later used to enable more
sophisticated lock algorithms, e.g. MCS locks.
There is only one lock that cannot be used with a local context. This
is the per-CPU lock since here we would have to transfer the local
context through a context switch which is very complicated.
2014-03-11 10:58:09 +01:00
Sebastian Huber
bab16de267
score: Change debug helper functions
...
Rename rtems_internal_error_description() to
rtems_internal_error_text(). Rename rtems_fatal_source_description() to
rtems_fatal_source_text(). Rename rtems_status_code_description() to
rtems_status_text(). Remove previous implementation of
rtems_status_text().
2014-02-12 09:18:00 +01:00
Daniel Ramirez
35b8f48a4b
libcsupport: Refactor rtems_deviceio_errno
...
Renames rtems_deviceio_errno to rtems_status_code_to_errno and
integrates it into the Classic API Status Handler. This function
can now be called by including status.h
2014-01-08 15:24:09 -06:00
Daniel Ramirez
564ce0f42d
libcsupport: implemented termios functions cfsetspeed and cfmakeraw
2014-01-07 10:34:31 -06:00
Sebastian Huber
c1d8ee4cdc
libcsupport: Accept NULL for zero-length entries
2013-12-20 10:31:53 +01:00
Sebastian Huber
2f68778f08
Filesystem: Add readv/writev handlers
...
The readv() and writev() support was implemented in terms of multiple
calls to the read and write handlers. This imposes a problem on device
files which use an IO vector as single request entity. For example a
low-level network device (e.g. BPF(4)) may use an IO vector to create
one frame from multiple protocol layers each with its own IO vector
entry.
2013-12-20 10:31:53 +01:00
Sebastian Huber
95a57280eb
libcsupport: Add and use rtems_libio_iovec_eval()
2013-12-20 10:31:53 +01:00
Chris Johns
6122cb6af6
PR2158: Add support for dup2.
...
Split the dub call into dup and dup2 in fcntl.c. This requires
a private command which is placed in the internal libio header.
2013-12-10 12:35:29 +11:00
Joel Sherrill
03e54614a3
statvfs filesystem handlers: Remove restrict
2013-11-27 13:06:16 -06:00
Daniel Ramirez
bb81e04ae3
statvfs and ALL filesystem handlers: Add restrict keyword.
2013-11-21 16:56:48 -06:00
Sebastian Huber
8cb28826ff
Filesystem: Add kernel event filter handler
...
This handler is necessary to implement the KQUEUE(2) system calls.
Add <sys/event.h> from FreeBSD 8.4.
2013-11-04 15:22:48 +01:00
Sebastian Huber
1682946057
Filesystem: Add poll() handler
...
This handler is necessary to implement the SELECT(2) and POLL(2) system
calls.
Add <sys/poll.h> from FreeBSD 8.4.
2013-11-04 15:22:47 +01:00
Sebastian Huber
ba120d1aaa
Filesystem: Use ENOTTY for default ioctl() handler
...
This is in line with Linux and FreeBSD.
2013-10-31 14:32:25 +01:00
Sebastian Huber
8d66446c2b
Filesystem: Documentation
2013-10-31 14:32:24 +01:00
Sebastian Huber
5fe19134c0
Filesystem: PR2146: Documentation
2013-10-23 10:59:38 +02:00
Sebastian Huber
b8de8281cb
libcsupport: Updates from latest FreeBSD version
2013-10-16 15:19:30 +02:00
Sebastian Huber
816a9cad30
Filesystem: PR2146: Documentation
2013-10-15 09:10:38 +02:00
Sebastian Huber
3c96bee3f9
JFFS2: Add RTEMS support
2013-09-19 13:16:06 +02:00
Sebastian Huber
d2da61aa0c
Filesystem: Change rtems_filesystem_chown()
...
Implement POSIX requirements in the high-level file system layer. Use
common implementation for all change owner variants.
2013-09-12 15:31:23 +02:00
Sebastian Huber
b6657c3957
Filesystem: Add and use rtems_filesystem_chmod()
...
Implement POSIX requirements in the high-level file system layer.
2013-09-12 15:31:12 +02:00
Sebastian Huber
ef3640f7a7
ringbuf: Add SMP support
2013-08-27 10:48:17 +02:00
Nick Withers
01b0755035
Expose rtems_verror()
2013-08-15 04:57:56 +10:00
Sebastian Huber
4180a9bb04
filesystem: Add SMP support
2013-08-14 11:10:44 +02:00
Sebastian Huber
311ba73f3a
framebuffer: Add and use FRAMEBUFFER_DEVICE_0_NAME
2013-06-29 15:15:49 +02:00
Sebastian Huber
d0d357edeb
heap: Add _Heap_Greedy_allocate_all_except_largest
...
Add rtems_workspace_greedy_allocate_all_except_largest() and
rtems_heap_greedy_allocate_all_except_largest().
2013-06-25 17:03:22 +02:00
Sebastian Huber
65483f807d
termios: SMP support
2013-06-12 16:12:50 +02:00
Sebastian Huber
b7cf1ff717
libcsupport: Delete libc_wrapup()
...
Add and use rtems_libio_exit_helper. Add rtems_libio_exit().
The fclose(stdin) etc. makes no sense during exit. This would use the
_REENT structure of the thread calling _exit().
2013-04-26 10:57:08 +02:00
Sebastian Huber
5fa0e5c5ec
libcsupport: Rename open_dev_console()
...
Rename open_dev_console() to rtems_libio_post_driver(). Rename
rtems_libio_supp_helper to rtems_libio_post_driver_helper.
2013-04-26 10:57:08 +02:00
Sebastian Huber
a290fbe946
libcsupport: Make LibIO helper const
...
Add and use rtems_libio_helper function type. Add and use
rtems_libio_helper_null() instead of NULL pointer.
2013-04-26 10:57:08 +02:00
Joel Sherrill
b697bc6a44
cpukit: Use Consistent Beginning of Doxygen Group Notation
...
This is the result of a sed script which converts all uses
of @{ into a consistent form.
2013-01-10 17:06:47 -06:00
Joel Sherrill
a15eaaf9fd
cpukit: Doxygen group fixes and many warnings addressed
...
The output of the modules.html is much improved. Most
filesystem and POSIX API related groups are properly nested.
Some formatting issues were addressed as were multiple
inconsistencies.
2013-01-10 17:06:47 -06:00
Sebastian Huber
25ba0cd6c0
libcsupport: Documentation
2013-01-09 20:42:58 +01:00
Sebastian Huber
b403c670ae
libcsupport: Documentation
2013-01-09 20:42:58 +01:00
Alex Ivanov
4027e6332c
libcsupport: Doxygen Clean Up Task #1
2013-01-08 06:40:27 -06:00
Alex Ivanov
3cf4031c19
Header File Doxygen Enhancement Task #1
2012-12-28 17:48:12 -06:00
Mathew Kallada
f3255a6f22
Header File Doxygen Enhancement Task #11
2012-12-28 11:30:27 -06:00
Mathew Kallada
c5782a26b3
Header File Doxygen Enhancement Task #7
2012-12-28 11:17:49 -06:00
Mathew Kallada
9ab091e1e4
Header File Doxygen Enhancement Task #2
2012-12-28 10:36:55 -06:00
Joel Sherrill
b8fc260ff3
Miscellaneous Doxygen clean-up
2012-12-28 09:48:37 -06:00
Sebastian Huber
c5d27600f9
libcsupport: Add rtems_resource_snapshot_take()
...
Add rtems_resource_rtems_api, rtems_resource_posix_api,
rtems_resource_snapshot, rtems_resource_snapshot_equal(), and
rtems_resource_snapshot_check().
2012-12-21 15:45:51 +01:00
Gedare Bloom
e79a766fb3
libcsupport: Update file header for termios.h to remove link, add description.
2012-12-15 07:26:34 -05:00
Alex Ivanov
cefc9aea6b
libcsupport: Doxygen Enhancement Task #8
...
http://www.google-melange.com/gci/task/view/google/gci2012/7996208
2012-12-15 07:23:36 -05:00
Sebastian Huber
d0b9295fd9
Fix spelling
2012-12-14 10:17:04 +01:00
Sebastian Huber
6d5ba497b1
Filesystem: Revert documentation changes
2012-12-14 10:13:36 +01:00
Alex Ivanov
41b590f966
libcsupport: Doxygen enhancement task #9
2012-12-13 12:13:19 -06:00
Gedare Bloom
8f005260a9
libcsupport: Revert termios Doxygen. Add file header.
2012-12-13 08:06:31 -05:00
Sebastian Huber
b0da579608
termios: Implement tcflush()
...
New IO control RTEMS_IO_TCFLUSH.
2012-12-13 11:36:37 +01:00
Sebastian Huber
8e3a7f4f8d
libcsupport: Revert documentation changes
2012-12-13 11:34:06 +01:00
Mathew Kallada
c2ae79e93c
misc: Header File Doxygen Enhancement Task #3
...
http://www.google-melange.com/gci/task/view/google/gci2012/8006220
2012-12-12 15:57:49 -05:00