Gregory Nutt
|
64ab35b399
|
There used to be two ways to pass parameters to new tasks, depending upon the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing.
|
2014-09-01 15:39:34 -06:00 |
|
Gregory Nutt
|
23147c40a5
|
Remove final traces of the 8015 from the NuttX source tree
|
2014-09-01 13:21:15 -06:00 |
|
Gregory Nutt
|
45c31d633c
|
Completes the implementation of sbrk() (untested)
|
2014-09-01 10:46:51 -06:00 |
|
Gregory Nutt
|
a33c0533f4
|
ARMv7 address environment: Static functions not marked static
|
2014-09-01 08:49:08 -06:00 |
|
Gregory Nutt
|
f8a8ce4b18
|
Initial implementatino of sbrk()
|
2014-09-01 07:37:54 -06:00 |
|
Gregory Nutt
|
205260d5e2
|
Reanem kzalloc to kmm_zalloc for consistency
|
2014-08-31 17:34:44 -06:00 |
|
Gregory Nutt
|
1780810d3d
|
Rename kmalloc to kmm_malloc for consistency
|
2014-08-31 17:26:36 -06:00 |
|
Gregory Nutt
|
54fa3b0b59
|
Rename kfree to kmm_free for consistency with other naming conventions
|
2014-08-31 17:04:02 -06:00 |
|
Gregory Nutt
|
9aca0c1c84
|
Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency with other naming
|
2014-08-31 16:24:24 -06:00 |
|
Gregory Nutt
|
9ad7dae4c1
|
Rename kufree to kumm_free for consistency with other naming
|
2014-08-31 16:15:11 -06:00 |
|
Gregory Nutt
|
9cd1ddada4
|
Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming
|
2014-08-31 15:27:37 -06:00 |
|
Gregory Nutt
|
5a488475a8
|
Rename kmemalign to kmm_memalign for consitency with other naming
|
2014-08-31 14:57:31 -06:00 |
|
Gregory Nutt
|
ecdb5120dd
|
Add low-level memory management hooks that will be needed to support brk() and sbrk()
|
2014-08-31 14:42:45 -06:00 |
|
Gregory Nutt
|
2904fb0420
|
Clean up some kernel build heap allocation issues. The Cortex-A kernel build now compiles without errors (but cannot link until brk() and sbrk() are implemented).
|
2014-08-31 12:50:05 -06:00 |
|
Gregory Nutt
|
b0246d0b7d
|
mm: Break up mm_user.c and mm_kernel.c into separate files for better symmetry
|
2014-08-31 11:46:47 -06:00 |
|
Gregory Nutt
|
3c1a70c9dc
|
Remove CONFIG_MM_MULTIHEAP. Non-multiheap operation is no longer supported
|
2014-08-31 10:54:55 -06:00 |
|
Gregory Nutt
|
0571a59e12
|
Need to condition out standard allocators in kernel build. More to be done
|
2014-08-31 08:10:15 -06:00 |
|
Gregory Nutt
|
fc7bd31e07
|
last change alters semantics of __HAVE_KERNEL_GLOBALS
|
2014-08-30 14:44:48 -06:00 |
|
Gregory Nutt
|
2029236ed0
|
Back out and replace recent kludges for errno and clock_systimer. There is a cleaner way
|
2014-08-30 14:26:56 -06:00 |
|
Gregory Nutt
|
4864b4c8c1
|
Upate ChangeLog
|
2014-08-30 13:29:25 -06:00 |
|
Gregory Nutt
|
a5cfd5deba
|
clock_systimer needs the same fix as fore get/set_errno when used with system calls
|
2014-08-30 13:26:45 -06:00 |
|
Gregory Nutt
|
2906ff6a4a
|
Cosmetic: Fix all comments, defaults, etc. that references the defunct name user_start
|
2014-08-30 11:14:51 -06:00 |
|
Gregory Nutt
|
0c7e97658e
|
Yet more issues with errno access via syscalls fixed
|
2014-08-30 08:43:10 -06:00 |
|
Gregory Nutt
|
0f5dc2fc65
|
Various changes/fixes to get configs/stm32f4discovery/kostest working after the big configuration renaming (and after a long period of bit rot)
|
2014-08-29 16:23:46 -06:00 |
|
Gregory Nutt
|
faf16f229c
|
Some initial clean-up in verifying the CONFIG_BUILD_PROTECTED configuration change
|
2014-08-29 15:07:35 -06:00 |
|
Gregory Nutt
|
e3ff0689bb
|
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
|
2014-08-29 14:47:22 -06:00 |
|
Gregory Nutt
|
beaa2e1c97
|
include/sys/syscall.h: System definitions should depend on CONFIG_LIB_SYSCALL not CONFIG_NUTTX_KERNEL
|
2014-08-28 17:03:54 -06:00 |
|
Gregory Nutt
|
fe35751ec2
|
g_system_timer must be handler in a special way if there are external modules
|
2014-08-28 17:02:53 -06:00 |
|
Gregory Nutt
|
42e0c5329d
|
errno must be handled in a special way if there are external modules
|
2014-08-28 17:01:57 -06:00 |
|
Gregory Nutt
|
7ba9ddee7f
|
STM32 FLASH fixes: use size_t instead of uint16_t, make interface more generic. From Freddie Chopin
|
2014-08-28 09:11:20 -06:00 |
|
Gregory Nutt
|
a2463148fc
|
Can't used task_create() if address environments enabled
|
2014-08-27 14:19:41 -06:00 |
|
Gregory Nutt
|
ad53cabf34
|
ADDRENV: Use a group flag to determine if there is an address environment (instead of the thread type)
|
2014-08-27 09:37:28 -06:00 |
|
Gregory Nutt
|
af22f273d3
|
Add group_addrenv() which will be called during context switches in order to change address environments. Not yet hooked in
|
2014-08-26 14:54:39 -06:00 |
|
Gregory Nutt
|
0db7da1858
|
Add up_addrenv_coherent which will be called before address environment switches
|
2014-08-26 14:53:19 -06:00 |
|
Gregory Nutt
|
b13d9b4161
|
Rename up_addrenv_assign() to up_addrenv_clone() and generalize its arguments so that can be used for other purposes
|
2014-08-26 12:16:05 -06:00 |
|
Gregory Nutt
|
1725946447
|
Misc changed to get the SAMA5 ELF configuration with address environments working
|
2014-08-25 13:28:13 -06:00 |
|
Gregory Nutt
|
e1799b0423
|
Cortex-A/SAMA5 address environment support is code complete (untested)
|
2014-08-25 11:18:32 -06:00 |
|
Gregory Nutt
|
e0a48b60b6
|
Change naming of ELF interfaces from arch_ to up_ for consistency
|
2014-08-25 06:47:14 -06:00 |
|
Gregory Nutt
|
7aea220ebf
|
After cached related fix, the ELF example is now functional
|
2014-08-24 14:12:45 -06:00 |
|
Gregory Nutt
|
241a7e17bd
|
addrenv interface changes: up_addrenv_create() may need to create .text and .bss/.data separately because of differing access privileges (read/execute vs read/write). And, as a consequence, up_addrenv_vaddr() needs to be split into up_addrenv_vtext(0 and up_addrenv_vdata().
|
2014-08-24 11:54:14 -06:00 |
|
Gregory Nutt
|
2cb9d5c7b0
|
Add addrenv.h; First cut at Cortex-A address environment structures; Add configuration options to setup address enviornment
|
2014-08-24 09:57:53 -06:00 |
|
Gregory Nutt
|
1624e2fbcf
|
Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support
|
2014-08-24 06:42:11 -06:00 |
|
Gregory Nutt
|
b028fb31e9
|
include/nuttx/pgalloc.h and mm/mm_pgalloc.c: Add a simple page allocator based on the existing NuttX granule allocator. I am not certain if the granule allocator is sufficiently deterministic for long range use, but it gets get a page allocator in place for testing very quickly.
|
2014-08-23 16:37:16 -06:00 |
|
Gregory Nutt
|
7cd8db9425
|
gran_reserve(): Add a new function to reserve unallocatable regions in the granule heap
|
2014-08-23 12:43:21 -06:00 |
|
Gregory Nutt
|
e79d6e3c8b
|
A few fixes for compilation errors due to recent address environment fixes
|
2014-08-22 15:55:00 -06:00 |
|
Gregory Nutt
|
1d586e6136
|
An address environment is the property of a task group, not of a thread
|
2014-08-22 12:32:34 -06:00 |
|
Gregory Nutt
|
fd484c4de9
|
Add support for statically allocated watchdog timer structures
|
2014-08-22 08:46:34 -06:00 |
|
Gregory Nutt
|
ad9b3f8ab8
|
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
|
2014-08-21 11:16:55 -06:00 |
|
Gregory Nutt
|
cf242fbeb4
|
SAM4E-EK: Add ILI9341-based LCD driver
|
2014-08-20 11:45:01 -06:00 |
|
Gregory Nutt
|
9f5299522f
|
Add missing include file. From Kosma
|
2014-08-20 06:34:34 -06:00 |
|
Gregory Nutt
|
703d4bca7b
|
Add a register definition header file for the ILI9341 LCD
|
2014-08-19 17:31:10 -06:00 |
|
Gregory Nutt
|
4bba611dc6
|
Move some internal networking function protoypes out of the public include/nuttx/net/arp.h into to the private net/arp/arp.h
|
2014-08-18 16:35:20 -06:00 |
|
Gregory Nutt
|
004788d7c0
|
Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires
|
2014-08-17 16:51:56 -06:00 |
|
Gregory Nutt
|
e04ab2bcfc
|
In order to get PHY interrupts, they must be enabled at the PHY (still don't get PHY interrupts)
|
2014-08-17 13:03:18 -06:00 |
|
Gregory Nutt
|
dcfc76336a
|
Add some helper macros to make the code a little more compac
|
2014-08-17 09:46:03 -06:00 |
|
Gregory Nutt
|
716aec39bf
|
Cosmetic
|
2014-08-17 09:45:38 -06:00 |
|
Gregory Nutt
|
057af36c1d
|
More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic
|
2014-08-16 15:04:09 -06:00 |
|
Gregory Nutt
|
eb5e2e4b20
|
Finishes the ioctl definition to subscribe to PHY events. Revamp network ioctl signature to support arguments other than struct mii_ioctl_data.
|
2014-08-16 14:08:04 -06:00 |
|
Gregory Nutt
|
8428a58bdc
|
Add support for an ioctl that can be used to notify an application when there is a change in the network status signalled by a PHY interrupt
|
2014-08-16 12:56:02 -06:00 |
|
Gregory Nutt
|
cde108efc6
|
Move SLIP prototypes from net.h to new slip.h
|
2014-08-16 10:28:45 -06:00 |
|
Gregory Nutt
|
79e098b20e
|
Clean missing function headers
|
2014-08-16 10:24:06 -06:00 |
|
Gregory Nutt
|
4beb3c0ad7
|
Move SLIP prototypes from net.h to new slip.h
|
2014-08-16 10:23:17 -06:00 |
|
Gregory Nutt
|
c52f634b79
|
Standardize a PHY interrupt attachment interface
|
2014-08-16 08:34:36 -06:00 |
|
Gregory Nutt
|
eed1d6c619
|
When reading the system timer, don't read a struct timespec, convert it to a fake tick count, then back to a timespec. Remove CLOCK_ACTIVETIME.. it is non-standard, unused, and gets in the way of changes like this
|
2014-08-15 03:55:41 -06:00 |
|
Gregory Nutt
|
686e5d7e3d
|
Tickless: If using an ALARM, then really should report time of expiration
|
2014-08-12 10:00:32 -06:00 |
|
Gregory Nutt
|
66803d0db6
|
Define interfaces to use an alarm instead of an interval timer with the tickless option
|
2014-08-12 07:28:41 -06:00 |
|
Gregory Nutt
|
7025465109
|
Adds support for localtime. From Max Neklyudov
|
2014-08-12 06:18:22 -06:00 |
|
Gregory Nutt
|
219c1a68d3
|
Update comments
|
2014-08-10 11:38:08 -06:00 |
|
Gregory Nutt
|
320707fdfa
|
SAMA5: Fix bugs in timer/counter interrupts and one-shot timer
|
2014-08-10 10:47:38 -06:00 |
|
Gregory Nutt
|
5803fb78b8
|
SAMA5 T/C: Can now handle non-constant BOARD_MCK_FREQUENCY. Also now supports methods to attach user interrupt handlers
|
2014-08-09 10:30:45 -06:00 |
|
Gregory Nutt
|
da0de3284e
|
Fix errors in documentation and comments related to the Tickless OS. From Vijay Kumar
|
2014-08-09 06:41:38 -06:00 |
|
Gregory Nutt
|
cb79407ced
|
Move all pthread files from sched/ to sched/pthread
|
2014-08-08 12:55:02 -06:00 |
|
Gregory Nutt
|
6e0acd7cd4
|
WM8904: Don't use MSEC2TICK in timeout calculation
|
2014-08-08 11:02:45 -06:00 |
|
Gregory Nutt
|
5ee57bda59
|
Some final tickless OS bugfixes. No longer EXPERIMENTAL. Update some comments
|
2014-08-07 19:11:22 -06:00 |
|
Gregory Nutt
|
c9661ad5a7
|
Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors
|
2014-08-07 18:00:38 -06:00 |
|
Gregory Nutt
|
0aa7209765
|
Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK. This gives more options for system timers in general, but more importantly, let's us realize higher resolution for the case of CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new interger overvflow problems
|
2014-08-07 13:42:47 -06:00 |
|
Gregory Nutt
|
caba61999a
|
Remove CONFIG_DISABLE_CLOCK
|
2014-08-07 12:35:24 -06:00 |
|
Gregory Nutt
|
520a51a3e1
|
Implements the tickless OS
|
2014-08-07 11:39:16 -06:00 |
|
Gregory Nutt
|
c8a60b2916
|
Added another tickless OS interface to get the timer remaining on the interval timer.
|
2014-08-06 18:28:33 -06:00 |
|
Gregory Nutt
|
0452b1555b
|
if CONFIG_SCHED_TICKLESS is defined, then the global variable g_system_timer does not exist
|
2014-08-06 18:26:16 -06:00 |
|
Gregory Nutt
|
736d3c169a
|
Rename up_timerinit() to up_timer_initailize(); Add prototypes for candidate interfaces for the tickless OS; Don't build existing timer initialization logic if CONFIG_SCHED_TICKLESS is defined.
|
2014-08-06 16:26:01 -06:00 |
|
Gregory Nutt
|
b305f9186a
|
WM8904 interface enable method now returns the previous interrupt state
|
2014-08-04 14:52:59 -06:00 |
|
Gregory Nutt
|
72b739fbcb
|
WM8904: Add logic to analyze BCLK setup
|
2014-08-03 17:11:38 -06:00 |
|
Gregory Nutt
|
36f8e23c12
|
WM8904 driver: Fix wm8904_dump_registers macro: Wrong number of parameters.
|
2014-08-02 14:28:30 -06:00 |
|
Gregory Nutt
|
a2d6c0c2b4
|
WM8904: Add logic to program the FLL to achieve the bitrate
|
2014-08-02 12:40:57 -06:00 |
|
Gregory Nutt
|
f4bc0ad99a
|
WM8904: Add an option to control WM8904 register dumping
|
2014-08-02 06:52:42 -06:00 |
|
Gregory Nutt
|
1f2428c087
|
WM8904: Ad the MCLK frequency to the interface definition. The WM8904 driver needs to know this frequency in order to configure the FLL to generate the correct bitrate
|
2014-08-01 18:37:56 -06:00 |
|
Gregory Nutt
|
e59bb45b33
|
Add debug logic to dump WM8904 registers
|
2014-08-01 18:07:20 -06:00 |
|
Gregory Nutt
|
e214382264
|
Audio: Change how the end of the audio stream is detected by the leaf audio component. This used by be done by looking for the first partial buffer. That does not work with the in-place sub-sampling performed by the PCM decoder: That always reduces the size of the buffer so that all buffers only partially filled by the time they get to the leaf. Now, a flag is set in the audio buffer flags set to indicate the final buffer in the stream.
|
2014-07-31 16:36:09 -06:00 |
|
Gregory Nutt
|
376a7bcc12
|
Costmetic: Update TODO list, README files, refreshed configuration, updated comments
|
2014-07-30 14:26:50 -06:00 |
|
Gregory Nutt
|
a826adb679
|
The SAMA5D4-EK NSH and NxWM configurations now have the auto-mounter configured to automatically mount the FAT file system on HSMCI0 at /mnt/sdcard
|
2014-07-29 16:36:15 -06:00 |
|
Gregory Nutt
|
7b1b915226
|
SAMA5D4: Add auto-mounter support for HSMCI0
|
2014-07-29 15:34:31 -06:00 |
|
Gregory Nutt
|
31d21640af
|
Update the automounter so that it will handle the initial insertion state
|
2014-07-29 13:00:35 -06:00 |
|
Gregory Nutt
|
8e506be4dd
|
Add support for an automounter that will automatically mount and unmount a file system a media is inserted and removed
|
2014-07-29 12:50:08 -06:00 |
|
Gregory Nutt
|
b7227f0088
|
Cosmetic changes, mostly to comments
|
2014-07-29 12:49:40 -06:00 |
|
Gregory Nutt
|
f235f95e52
|
Misc bugfixes while integrating fast forward by sub-sampling
|
2014-07-27 19:32:07 -06:00 |
|
Gregory Nutt
|
0cc9b06eca
|
Add definitions to support fast forward and rewind configuration
|
2014-07-27 12:25:40 -06:00 |
|
Gregory Nutt
|
123efe6e23
|
Move subsampling rate definitions from nxplayer.h to audio.h
|
2014-07-27 11:05:25 -06:00 |
|
Gregory Nutt
|
2ef656c227
|
More removal of EXTERN on function prototypes
|
2014-07-24 15:04:50 -06:00 |
|
Gregory Nutt
|
22f8503d0a
|
Convert ac_format and ac_controls to unions to make access a little cleaner
|
2014-07-24 10:21:04 -06:00 |
|