Gregory Nutt
849df03d22
Update dates on files modified for SIGEV_THREAD support
2015-12-30 13:28:39 -06:00
Gregory Nutt
9835eeb181
signals: Basic framework to support SIGEV_THREAD
2015-12-30 13:20:31 -06:00
Gregory Nutt
e76e8f41c6
pthread: Correct default schedule policy
2015-12-30 12:18:24 -06:00
Manuel Stühn
4350b0ba0c
Move macros timeradd() and friends from time.h to sys/time.h.
2015-12-24 07:09:39 -06:00
Gregory Nutt
7110634a38
Trivial typo fix in a comment
2015-12-23 16:09:49 -06:00
Gregory Nutt
5d84cd5d11
Improve a few comments
2015-12-23 15:17:16 -06:00
Manuel Stühn
3002023798
time.h: Add timeradd(), timersub(), timerclear(), timerisset(), and timercmp() as macros. These are non-POSIX interfaces, but included in most BSD deriviatives, included Linux. From Manuel Stühn
2015-12-23 15:13:01 -06:00
Gregory Nutt
b90da3f27b
waitpid: CRITICAL BUGFIX. Add a reference counting mechansim to prevent wait from using stale memory that was freed by the exiting task
2015-12-22 11:48:17 -06:00
Gregory Nutt
8ab93fdf98
Change name of drivers/discrete back to drivers/ioexpander
2015-12-15 08:40:34 -06:00
Gregory Nutt
78f2ce05f8
drivers: Move discrete user LED drivrs from drivers/discrete to drivers/leds
2015-12-15 08:23:53 -06:00
Gregory Nutt
d62a626703
Adds a driver for the PCA9635PW I2C LED driver IC which can be used to control the intensity of up to 16 LEDs. From Alexander Entinger
2015-12-15 08:05:10 -06:00
Gregory Nutt
e8d0f85c8b
Modules: Add mod_setsymtab to set global symtol table once. Now we can remove symbol table parameters from the insmod call. This will make implementing an NSH insmod command much easier
2015-12-13 08:10:01 -06:00
Gregory Nutt
795ddd7e80
OS modules: Add basic procfs support. A module registry that will eventually be used to support lsmod
2015-12-12 17:42:25 -06:00
Gregory Nutt
a908a61c5a
Various module-related cosmetic changes
2015-12-12 12:55:50 -06:00
Gregory Nutt
303123deb9
Add syscall support for insmod and rmmod
2015-12-12 11:11:09 -06:00
Gregory Nutt
040835de00
Add an implementation of rmmod
2015-12-12 10:51:54 -06:00
Gregory Nutt
49554fe4fc
Move module support from binfmt/ to sched/ so that it can be configured and built independently from binfmt features
2015-12-12 07:09:17 -06:00
Gregory Nutt
44e45f0f91
insmod is code complete and ready for test
2015-12-11 10:55:21 -06:00
Gregory Nutt
05cb7a9043
Call initializer entry point on start-up; do not create a task
2015-12-11 07:27:45 -06:00
Gregory Nutt
251e8395c7
Mostly cosmetic renaming to straighten out namespace
2015-12-10 16:56:10 -06:00
Gregory Nutt
8bcf35ff39
binfmt/libmodule: Add support for kernel modules. Initial commit is just the ELF module support with name changes
2015-12-10 09:53:31 -06:00
Gregory Nutt
8fdb173090
drivers/net/telnet.c: Now works like the loop device. A new interface called telnet_initialize() registers a telnet session "factory" device at /dev/telnet. Via ioctl, the factory device can create instances of the telnet character devices at /dev/telnetN to support Telnet sessions.
2015-12-07 13:48:06 -06:00
Gregory Nutt
057b6aef2c
drivers/net: Move the Telnet driver from apps/netutils/netnetd to drivers/net
2015-12-07 09:26:57 -06:00
Gregory Nutt
7be7579f59
Back out 522f95abe87d71c7025f2f358a8f350134e284b2: What was I thinking?
2015-12-02 10:47:32 -06:00
Gregory Nutt
acd3b47def
Fix problem in last change to the procfs: Forgot to save the reallocated table pointer!
...
Also added warnings: There are some concurrency issues in the current implementation if you try to modify the procfs data structures will the procfs is mounted and possibly busy.
2015-12-02 05:20:02 -06:00
Gregory Nutt
7483ed38ce
Fix some procfs registration typos
2015-12-01 16:31:40 -06:00
Gregory Nutt
ad64c033e7
s/procfs: The procfs file system can now be configured so that it supports a runtime registration of procfs entries with CONFIG_FS_PROCFS_REGISTER=y
2015-12-01 14:56:20 -06:00
Ken Pettit
5821af1bbe
drivers/mtd: Add support for /dev/smart loop device. From Ken Petit
2015-11-28 09:00:26 -06:00
Gregory Nutt
eb8668b0f7
net/: Add procfs support for network device status
2015-11-27 16:39:14 -06:00
Gregory Nutt
5d1557b28d
Fix an error in a network device statistics macro
2015-11-26 14:44:07 -06:00
Gregory Nutt
f41ad9caa1
netdev.h: Fix a typo in a type name
2015-11-26 13:41:57 -06:00
Gregory Nutt
8075a67803
include/nuttx/net/netdef.h: Add a missing macro
2015-11-26 12:51:45 -06:00
Gregory Nutt
2a93c66948
include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics.
2015-11-26 12:08:09 -06:00
Gregory Nutt
603f3afd6d
Some minor clean-up from last changes
2015-11-25 17:52:47 -06:00
Gregory Nutt
ed35eb0f8d
drivers/loop: Add a loop character device that can be used to setup and teardown loop devices
2015-11-25 17:13:56 -06:00
Ken Pettit
d4a58af380
drivers/mtd/mtd/mtd_procfs/c and include/nuttx/mtd/mtd.h: Add an interface to un-regiser an MTD procfs entry.
...
drivers/mtd/filemtd.c: New new MTD conversion layer that will convert a regular file (or driver file) to an MTD device. This is useful for testing on the simulation using the hostfs.
From Ken Petit
2015-11-25 14:46:28 -06:00
Gregory Nutt
e5f27f5865
Fix some conditional compilation. CONFIG_LIBC_LOCALTIME should be checked in most of the same places wehre CONFIG_TIME_EXTENDED is checked
2015-11-25 12:51:45 -06:00
Ken Pettit
c0b9dcf8a9
fs/hostfs: Add a special file system for use with simulator that supports access to the host file system from the simulation. From Ken Petit
2015-11-25 08:26:26 -06:00
Gregory Nutt
cd7c6705a8
mm.h: Use UINT32_MAX vs. SIZE_MAX in definition of MMSIZE_MAX
2015-11-25 08:11:32 -06:00
Gregory Nutt
6230e6e199
size_t should be 64-bits on a 64-bit machine. mmsize_t should be 32-bits (unless CONFIG_MM_SMALL is selected). This commit backs out the last change to stddef.h
2015-11-23 12:03:36 -06:00
Gregory Nutt
25ab59bf80
stddef.h: Use a round-about cast in the definition of offsetof() to avoid warnings on machines with 64 bit addresses and when size_t is less than 64-bits.
2015-11-23 07:11:05 -06:00
Ken Pettit
375419eaf2
mksmartfs: Remove fs/smartfs/fs_mksmartfs.c and related headers. This has been moved to apps/fsutils/mksmartfs. From Ken Petit
2015-11-23 07:05:09 -06:00
Gregory Nutt
54549ef082
Revert "Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'"
...
This reverts commit 96faf0fa3251ca10a17daddc728d931be5a206e0.
2015-11-22 10:15:06 -06:00
Gregory Nutt
64e8f12e2b
Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'
...
directory and build.
2015-11-22 10:07:35 -06:00
Gregory Nutt
006528b144
Add support for freopen()
2015-11-22 08:39:17 -06:00
Gregory Nutt
38c9d42e21
drivers/timers/pcf85263.c: Add a driver for the NXP PCF85263 I2C RTC
2015-11-20 17:36:10 -06:00
Gregory Nutt
db2fe45666
Update some comments
2015-11-20 09:55:18 -06:00
Gregory Nutt
4b29bcee7f
Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces
2015-11-20 08:27:52 -06:00
Gregory Nutt
b60c2519d7
arch.h: Update some comments and conditional compilation
2015-11-20 07:13:16 -06:00
Gregory Nutt
c34b5108a7
RTC: Fix system time initialization when using an exernal RTC. Fix some bugs in the DS1307/DS3231 RTC driver
2015-11-19 14:54:30 -06:00