Commit Graph

1725 Commits

Author SHA1 Message Date
patacongo
5e1e0b61fb Fix atexit() function being called twice
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4644 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 13:59:31 +00:00
patacongo
675c2e46b2 Fix sched_setscheduler() return value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4629 42af7a65-404d-4744-a932-0658087f49c3
2012-04-18 13:24:39 +00:00
patacongo
1dc41e329b Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4599 42af7a65-404d-4744-a932-0658087f49c3
2012-04-13 14:27:44 +00:00
patacongo
e45c3b97b3 Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4597 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 21:52:04 +00:00
patacongo
35a50c6eb2 Misc STM32 OTF FS driver fixes + More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4590 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 17:13:04 +00:00
patacongo
1ad8ade695 Updated Kconfig files from Lzyy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4569 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 14:50:57 +00:00
patacongo
330b89ca0e Add kconfig documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
4b8c0c41c8 Adding skeleton Kconfig files (part 1 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +00:00
patacongo
3b74716862 Fix read() return value for the case of permissions problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4545 42af7a65-404d-4744-a932-0658087f49c3
2012-03-31 15:13:12 +00:00
patacongo
28752af7d4 NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4532 42af7a65-404d-4744-a932-0658087f49c3
2012-03-28 00:10:43 +00:00
patacongo
1fbe5f3ecf Use const storage class on a few declarations to save SRAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4523 42af7a65-404d-4744-a932-0658087f49c3
2012-03-25 21:05:02 +00:00
patacongo
98f6034444 Updated comments; starting to implement priority protection but backed everything out but some changes to comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4510 42af7a65-404d-4744-a932-0658087f49c3
2012-03-23 20:14:21 +00:00
patacongo
f2df8af310 Add clock_synchronize() which may be used to re-synchonize the system time with an RTC after recovering from a low power state
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4503 42af7a65-404d-4744-a932-0658087f49c3
2012-03-22 14:52:46 +00:00
patacongo
2fe4ad52f8 Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
9294b7d6fd Minor updates for PIC32 USB device driver bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4497 42af7a65-404d-4744-a932-0658087f49c3
2012-03-19 17:56:15 +00:00
patacongo
7f005e2d3c Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
cb823fe147 Add a test to verify that FPU registers are properly saved and restored on context switches.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4421 42af7a65-404d-4744-a932-0658087f49c3
2012-02-24 21:34:55 +00:00
patacongo
9473d2192f Add on_exit(); Re-order some logic in the task shutdown sequence. Sometimes some complex logic needs to execute when closing file descriptors and this needs to happen early while the task is still healthy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4354 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 23:39:12 +00:00
patacongo
e6d521210a Numerous cosmetic changes while debugging a telnet driver issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4353 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 20:32:49 +00:00
patacongo
c3bf42b97b Fix buffer full test in generic CAN driver (plus fixes to comments)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4259 42af7a65-404d-4744-a932-0658087f49c3
2012-01-04 20:49:47 +00:00
patacongo
1121973925 Fix an issue for architectures where interrupt numbers and vector numbers do not match 1-to-1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4258 42af7a65-404d-4744-a932-0658087f49c3
2012-01-04 00:14:45 +00:00
patacongo
b63f8f7fff Fix an PIC32 error in scheduling of signal handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4229 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 16:24:43 +00:00
patacongo
8bf1779001 Re-arrange some files and interfaces to support the STM32 F4 date/time RTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4175 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 14:47:42 +00:00
patacongo
fc138b6158 Fix banding on the R61580 LCD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4136 42af7a65-404d-4744-a932-0658087f49c3
2011-12-05 19:59:10 +00:00
patacongo
655afdb84e mq_notify() was not setting errno on failures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4133 42af7a65-404d-4744-a932-0658087f49c3
2011-12-04 18:08:33 +00:00
patacongo
75ee14b862 Fix handling of NULL pointer in sig_timedwait()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4129 42af7a65-404d-4744-a932-0658087f49c3
2011-11-29 18:21:52 +00:00
patacongo
b2005c1473 Fixes for good C++ link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4054 42af7a65-404d-4744-a932-0658087f49c3
2011-10-19 19:35:21 +00:00
patacongo
28b4cb23b1 Fix typos that cause compilations errors with CONFIG_RTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4015 42af7a65-404d-4744-a932-0658087f49c3
2011-10-03 18:50:53 +00:00
patacongo
387d4afebd Restore CLOCK_ACTIVETIME
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4009 42af7a65-404d-4744-a932-0658087f49c3
2011-10-03 12:21:20 +00:00
patacongo
1d9602b67b Add FAT date/time stamp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4008 42af7a65-404d-4744-a932-0658087f49c3
2011-10-02 17:53:17 +00:00
patacongo
09dd288d5a The lo-res RTC now seems to work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4007 42af7a65-404d-4744-a932-0658087f49c3
2011-10-02 14:53:24 +00:00
patacongo
d8c4138e74 Remove support for UTC time; add support for 64-bit time
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4006 42af7a65-404d-4744-a932-0658087f49c3
2011-10-02 14:16:30 +00:00
patacongo
3f4af2fe30 Add support for lo- and hi-res RTC hardware
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4005 42af7a65-404d-4744-a932-0658087f49c3
2011-10-01 22:09:00 +00:00
patacongo
c374ab8b2c Fix important bugs in mq_timedreceived() and mq_timedsend()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3966 42af7a65-404d-4744-a932-0658087f49c3
2011-09-21 13:28:16 +00:00
patacongo
bc50d2975f More TIFF logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3965 42af7a65-404d-4744-a932-0658087f49c3
2011-09-20 23:10:25 +00:00
patacongo
81ca27c9b0 Fix some timer race conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3949 42af7a65-404d-4744-a932-0658087f49c3
2011-09-11 17:48:52 +00:00
patacongo
455b9336fb Correct error in clock_gettime(); fix wait for STOP in I2C stm32 driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3948 42af7a65-404d-4744-a932-0658087f49c3
2011-09-11 14:55:31 +00:00
patacongo
de0f788a05 Remove executable property from many files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3897 42af7a65-404d-4744-a932-0658087f49c3
2011-08-19 14:51:08 +00:00
patacongo
38009a3772 Fix message queue/signal handling bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3849 42af7a65-404d-4744-a932-0658087f49c3
2011-08-07 12:58:54 +00:00
patacongo
705174b603 Add a NuttX logo image example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3805 42af7a65-404d-4744-a932-0658087f49c3
2011-07-21 00:01:41 +00:00
patacongo
fe4c8b72b0 Fix for sem_timedwait.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3803 42af7a65-404d-4744-a932-0658087f49c3
2011-07-20 13:19:07 +00:00
patacongo
118a2dd458 Setup environment to support multiple fonts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3799 42af7a65-404d-4744-a932-0658087f49c3
2011-07-19 20:08:28 +00:00
patacongo
2928511cce Add sem_timedwait()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3798 42af7a65-404d-4744-a932-0658087f49c3
2011-07-19 13:40:15 +00:00
patacongo
ae8cfb1bf1 atexit() functions now called when task killed by task delete; For MCUs with <= 64Kb of SRAM, CONFIG_MM_SMALL can be defined to reduce the memory allocation overhead
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3648 42af7a65-404d-4744-a932-0658087f49c3
2011-05-28 21:42:18 +00:00
patacongo
0faef6c9f0 Incorporate install app from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3594 42af7a65-404d-4744-a932-0658087f49c3
2011-05-12 14:49:46 +00:00
patacongo
65a6ec4693 Add STM32 FLASH driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3573 42af7a65-404d-4744-a932-0658087f49c3
2011-05-07 16:59:20 +00:00
patacongo
9ecda2e9fa More timer changes from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3572 42af7a65-404d-4744-a932-0658087f49c3
2011-05-06 21:10:00 +00:00
patacongo
12f3097882 Rename uptime to UTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3528 42af7a65-404d-4744-a932-0658087f49c3
2011-04-20 14:12:52 +00:00
patacongo
9076917379 More changes from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3513 42af7a65-404d-4744-a932-0658087f49c3
2011-04-16 13:00:57 +00:00
patacongo
c1c80a723b Add code changes from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3507 42af7a65-404d-4744-a932-0658087f49c3
2011-04-15 16:20:25 +00:00
patacongo
32e6941ed7 Add time and uptime
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3506 42af7a65-404d-4744-a932-0658087f49c3
2011-04-15 14:57:53 +00:00
patacongo
10538a3f2e Macro clock_systimer replaces direct access to g_system_timer variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3500 42af7a65-404d-4744-a932-0658087f49c3
2011-04-13 21:44:24 +00:00
patacongo
c80fb6cbcf LPCXpression console on UART3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3497 42af7a65-404d-4744-a932-0658087f49c3
2011-04-13 03:12:51 +00:00
patacongo
86ffab1b95 Add logic to initialize SAM3U user applications
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3482 42af7a65-404d-4744-a932-0658087f49c3
2011-04-08 15:24:50 +00:00
patacongo
0374d16b98 I2C fixes from Uros; USB serial fix from Sheref; + A little more kernel mode stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3479 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 21:22:06 +00:00
patacongo
9c87c9e93e Add support for kernel-mode threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3478 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 14:39:55 +00:00
patacongo
1001d1f35e Fix AVR build, Add hooks for kernel threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3477 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 01:54:59 +00:00
patacongo
c0e7e4c2ff Remove user_initialize(); Make sure all integer types are signed that need to be
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3474 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 17:48:56 +00:00
patacongo
4388221844 More separation of kernel- and user-memory management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3468 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 17:33:50 +00:00
patacongo
3552ddb5ff Add a layer to redirect kernel-mode memory manager accesses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3466 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 15:50:01 +00:00
patacongo
985929a8c3 Move core of fdopen() logic from lib/stdio to fs/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3464 42af7a65-404d-4744-a932-0658087f49c3
2011-04-04 23:02:00 +00:00
patacongo
797df706c1 Add stub lookup logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3462 42af7a65-404d-4744-a932-0658087f49c3
2011-04-04 12:43:35 +00:00
patacongo
bae9dce323 Move memory manager into user space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3460 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 20:41:49 +00:00
patacongo
f8d30eb9f7 Add SAM3U kernel build logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3456 42af7a65-404d-4744-a932-0658087f49c3
2011-04-02 19:04:44 +00:00
patacongo
1dd25651bb Kernel build mostly successful
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3454 42af7a65-404d-4744-a932-0658087f49c3
2011-04-02 15:25:22 +00:00
patacongo
46314eb2a9 Move more functions out of sched/ to lib/; proxies almost build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3453 42af7a65-404d-4744-a932-0658087f49c3
2011-04-02 01:23:08 +00:00
patacongo
61300c7ae2 Stubs are working/Proxies are close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3451 42af7a65-404d-4744-a932-0658087f49c3
2011-04-01 21:36:17 +00:00
patacongo
db0f306719 Add mksyscall tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3446 42af7a65-404d-4744-a932-0658087f49c3
2011-03-31 04:23:17 +00:00
patacongo
a521443817 Move more files into subdirectories under lib/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3445 42af7a65-404d-4744-a932-0658087f49c3
2011-03-31 01:42:50 +00:00
patacongo
c5ec593bc4 Move helper macro into sched.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3430 42af7a65-404d-4744-a932-0658087f49c3
2011-03-28 13:21:11 +00:00
patacongo
7b69f1af91 Re-organize header files so that file systems can be built outside of the nuttx tree; add a binfs file system to apps/namedapp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3428 42af7a65-404d-4744-a932-0658087f49c3
2011-03-28 00:05:58 +00:00
patacongo
9b1a363c1a Updates from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3424 42af7a65-404d-4744-a932-0658087f49c3
2011-03-27 15:03:49 +00:00
patacongo
349f6aae93 Prep for 6.0 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3408 42af7a65-404d-4744-a932-0658087f49c3
2011-03-21 21:59:35 +00:00
patacongo
715cd48f70 Move NSH to apps/ as library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3393 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 19:46:25 +00:00
patacongo
7e9ace204d apps/ update from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3392 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 18:31:26 +00:00
patacongo
bb9b1d536d Update to apps/build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3391 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 17:22:50 +00:00
patacongo
6ea1e6bceb Prep for 5.19 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3373 42af7a65-404d-4744-a932-0658087f49c3
2011-03-12 22:09:14 +00:00
patacongo
0f7afd2932 More apps/ related changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3372 42af7a65-404d-4744-a932-0658087f49c3
2011-03-12 17:49:47 +00:00
patacongo
78e999dff1 Add SLIP driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3369 42af7a65-404d-4744-a932-0658087f49c3
2011-03-12 03:42:08 +00:00
patacongo
b95aee0348 add apps/ dir
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3360 42af7a65-404d-4744-a932-0658087f49c3
2011-03-10 14:42:28 +00:00
patacongo
8b26af1f4f Experimental version of waitpid()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3359 42af7a65-404d-4744-a932-0658087f49c3
2011-03-10 14:00:04 +00:00
patacongo
1b91975e30 #warning removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3355 42af7a65-404d-4744-a932-0658087f49c3
2011-03-09 03:41:34 +00:00
patacongo
2bd446832b Add NSH kill command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3322 42af7a65-404d-4744-a932-0658087f49c3
2011-02-27 17:26:06 +00:00
patacongo
78d6af1190 Fix more issues detected by CppCheck tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3264 42af7a65-404d-4744-a932-0658087f49c3
2011-01-19 21:17:37 +00:00
patacongo
e9b173f594 Fix error in timer_settime()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3117 42af7a65-404d-4744-a932-0658087f49c3
2010-11-17 12:08:25 +00:00
patacongo
8691e7cc40 Fix errors when there is no console device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3077 42af7a65-404d-4744-a932-0658087f49c3
2010-11-06 01:57:50 +00:00
patacongo
aefdf9657f Some context switch fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3066 42af7a65-404d-4744-a932-0658087f49c3
2010-10-31 17:08:05 +00:00
patacongo
50cea43ee4 No up_en/disable_irq's
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3022 42af7a65-404d-4744-a932-0658087f49c3
2010-10-16 03:22:24 +00:00
patacongo
29325a4b13 Cloned AVR32 code now compiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2965 42af7a65-404d-4744-a932-0658087f49c3
2010-10-04 12:26:48 +00:00
patacongo
d1b6f4fc9a Prep for 5.11 Release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2960 42af7a65-404d-4744-a932-0658087f49c3
2010-10-02 00:55:32 +00:00
patacongo
58e4c4b439 Fix priority inheritance bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2949 42af7a65-404d-4744-a932-0658087f49c3
2010-09-14 13:42:15 +00:00
patacongo
012b9c3dfe Fix race condition when semaphore wait is interrupted by a signl
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2935 42af7a65-404d-4744-a932-0658087f49c3
2010-09-10 02:34:19 +00:00
patacongo
c53d951183 paging debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2922 42af7a65-404d-4744-a932-0658087f49c3
2010-09-05 19:13:48 +00:00
patacongo
cd4dd3b038 Add paging debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2899 42af7a65-404d-4744-a932-0658087f49c3
2010-08-31 02:21:12 +00:00
patacongo
c530bd319a Fix demand-paging compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2879 42af7a65-404d-4744-a932-0658087f49c3
2010-08-22 03:44:18 +00:00
patacongo
2d25eac7bc Add on-demand paging support to ARM9 prefetch abort handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2860 42af7a65-404d-4744-a932-0658087f49c3
2010-08-17 01:37:39 +00:00
patacongo
273f1971d4 Add logic to drop the priority of the page fill task
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2857 42af7a65-404d-4744-a932-0658087f49c3
2010-08-15 16:50:25 +00:00
patacongo
8d933821e4 Minor design improvements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2856 42af7a65-404d-4744-a932-0658087f49c3
2010-08-15 16:23:18 +00:00
patacongo
b1c00675cb Completes demand paging core implementation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2853 42af7a65-404d-4744-a932-0658087f49c3
2010-08-15 15:02:45 +00:00
patacongo
9bd82bd544 paging documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2851 42af7a65-404d-4744-a932-0658087f49c3
2010-08-14 03:51:03 +00:00
patacongo
b829c79382 Beginning to add on-demand paging logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2850 42af7a65-404d-4744-a932-0658087f49c3
2010-08-14 01:56:13 +00:00
patacongo
07634ecb5d Misc improvements from David Hewson
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2697 42af7a65-404d-4744-a932-0658087f49c3
2010-05-26 12:34:59 +00:00
patacongo
e385b1074b Clean-up from big switch to stdint/stdbool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2362 42af7a65-404d-4744-a932-0658087f49c3
2009-12-16 23:23:46 +00:00
patacongo
a350286c7c Switching to C99 stdbool.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2339 42af7a65-404d-4744-a932-0658087f49c3
2009-12-14 21:15:18 +00:00
patacongo
2c2a85f086 Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2337 42af7a65-404d-4744-a932-0658087f49c3
2009-12-14 19:30:18 +00:00
patacongo
12ae4d2bd7 Switching to C99 stdint.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2336 42af7a65-404d-4744-a932-0658087f49c3
2009-12-14 18:39:29 +00:00
patacongo
4686cc55fa types blkcnt_t and off_t should not depend on memory model; Remove non-standard type STATUS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2330 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 18:01:46 +00:00
patacongo
9535a28d7a Eliminate some hcs12 compile errors/warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2329 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 15:13:37 +00:00
patacongo
25826c2bc2 Fix hcs12 compile warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2328 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 01:27:04 +00:00
patacongo
e252d9d752 Fix issues related to work queue timing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2270 42af7a65-404d-4744-a932-0658087f49c3
2009-11-18 00:08:41 +00:00
patacongo
fd34e51e1c Callbacks need to use worker thread; clean up/document configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2268 42af7a65-404d-4744-a932-0658087f49c3
2009-11-17 23:20:08 +00:00
patacongo
bf7555cc4a Fix a potential race condition
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2234 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 13:42:49 +00:00
patacongo
7f84a8bea1 Fix compile error when workqueue disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2233 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 01:07:32 +00:00
patacongo
00e7c5f8ac Integrte work thread
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2232 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 00:44:22 +00:00
patacongo
e9f2ab2b9c Document workqueue configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2231 42af7a65-404d-4744-a932-0658087f49c3
2009-11-05 23:14:34 +00:00
patacongo
64e5bef2f6 Incorporate the work thread
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2230 42af7a65-404d-4744-a932-0658087f49c3
2009-11-05 22:58:36 +00:00
patacongo
86987e3b02 Add beginnings of a work thread
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2229 42af7a65-404d-4744-a932-0658087f49c3
2009-11-05 21:44:33 +00:00
patacongo
b32b7cb4b2 Add gmtime and localtime
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1976 42af7a65-404d-4744-a932-0658087f49c3
2009-07-12 00:41:06 +00:00
patacongo
4f255b5fdf Add gettimeofday()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1974 42af7a65-404d-4744-a932-0658087f49c3
2009-07-11 23:39:33 +00:00
patacongo
631788ece1 mktime/gmtime_r moved and highly simplified
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1973 42af7a65-404d-4744-a932-0658087f49c3
2009-07-11 17:24:14 +00:00
patacongo
a1c828c484 integrating NXFLAT
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1962 42af7a65-404d-4744-a932-0658087f49c3
2009-06-26 17:46:51 +00:00
patacongo
e72dce9e1b Consolidate buffer dumping; fix all occurrences of 'the the'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1951 42af7a65-404d-4744-a932-0658087f49c3
2009-06-25 17:44:35 +00:00
patacongo
f876eb552a Integrate PIC support into context switching
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1900 42af7a65-404d-4744-a932-0658087f49c3
2009-06-17 23:38:05 +00:00
patacongo
2ea9e257cd Straighten out conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1896 42af7a65-404d-4744-a932-0658087f49c3
2009-06-17 21:15:31 +00:00
patacongo
4a1221f35d Add exec_module
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1895 42af7a65-404d-4744-a932-0658087f49c3
2009-06-17 20:25:27 +00:00
patacongo
c344589c85 Added NXFLAT a bit at a time
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1889 42af7a65-404d-4744-a932-0658087f49c3
2009-06-16 22:08:59 +00:00
patacongo
e9711ca1a7 Add logic to clone socket descriptors when a new task is started.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1885 42af7a65-404d-4744-a932-0658087f49c3
2009-06-15 19:50:06 +00:00
patacongo
fdf76b48bc dup() and dup2() support for socket descriptors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1884 42af7a65-404d-4744-a932-0658087f49c3
2009-06-15 18:58:22 +00:00
patacongo
eba07de989 Drastic measures to work around missed interrupts -- must be a better way
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1860 42af7a65-404d-4744-a932-0658087f49c3
2009-06-07 15:48:01 +00:00
patacongo
bf5720f75e Need to set UART interrupt priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1854 42af7a65-404d-4744-a932-0658087f49c3
2009-06-06 01:54:11 +00:00
patacongo
715984992c pthread_create must return a positive errno on failure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1799 42af7a65-404d-4744-a932-0658087f49c3
2009-05-19 19:30:57 +00:00
patacongo
fe701d7084 Debug Cortex-M3 interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1787 42af7a65-404d-4744-a932-0658087f49c3
2009-05-17 17:18:19 +00:00
patacongo
06e367a9e2 Finishes initial verification of priority inheritance logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1600 42af7a65-404d-4744-a932-0658087f49c3
2009-03-14 00:46:02 +00:00
patacongo
e1412760e1 Add debug instrumentation; fix pholder freeing logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1599 42af7a65-404d-4744-a932-0658087f49c3
2009-03-13 22:35:23 +00:00
patacongo
b72d773051 Free holder containers on sem_destroy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1598 42af7a65-404d-4744-a932-0658087f49c3
2009-03-13 11:27:34 +00:00
patacongo
7f1b7c7c75 Add test for CONFIG_SEM_PREALLOCHOLDERS > 0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1597 42af7a65-404d-4744-a932-0658087f49c3
2009-03-13 00:54:10 +00:00
patacongo
264806e5b2 Add test for CONFIG_SEM_PREALLOCHOLDERS > 0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1596 42af7a65-404d-4744-a932-0658087f49c3
2009-03-13 00:25:05 +00:00
patacongo
e09b3b3ecd Fix count initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1595 42af7a65-404d-4744-a932-0658087f49c3
2009-03-12 11:24:26 +00:00
patacongo
b39fb58786 Finishes basic implementation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1594 42af7a65-404d-4744-a932-0658087f49c3
2009-03-12 10:55:26 +00:00
patacongo
dcf1176284 More priority inheritance logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1593 42af7a65-404d-4744-a932-0658087f49c3
2009-03-12 01:53:20 +00:00
patacongo
11cdf4251e Repartition functionality in preparation for nested, pending reprioritization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1592 42af7a65-404d-4744-a932-0658087f49c3
2009-03-11 00:03:58 +00:00
patacongo
367beee228 Repartition functionality in preparation for nested, pending reprioritization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1591 42af7a65-404d-4744-a932-0658087f49c3
2009-03-10 23:52:46 +00:00
patacongo
8e93df66c6 Extend, improve, and partially fix priority inheritance logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1590 42af7a65-404d-4744-a932-0658087f49c3
2009-03-10 11:41:20 +00:00
patacongo
8c8f2bfd43 Make better use of new sched_settcpprio() API
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1588 42af7a65-404d-4744-a932-0658087f49c3
2009-03-10 02:03:24 +00:00
patacongo
327cdee632 Improve internal priority setting logi
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1587 42af7a65-404d-4744-a932-0658087f49c3
2009-03-10 01:13:35 +00:00
patacongo
5baa73f8e8 Use sched_setparam(), not up_reprioritize_rtr()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1586 42af7a65-404d-4744-a932-0658087f49c3
2009-03-10 00:40:09 +00:00
patacongo
7f0c37a469 Fix priority inheritance bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1584 42af7a65-404d-4744-a932-0658087f49c3
2009-03-10 00:24:37 +00:00
patacongo
166b4da551 Add support for priority inheritance
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1581 42af7a65-404d-4744-a932-0658087f49c3
2009-03-08 23:33:41 +00:00
patacongo
8a66212a6d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1494 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 01:56:40 +00:00
patacongo
f3866fb556 Added CONFIG_USERMAIN_STACKSIZE
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1227 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 21:13:53 +00:00
patacongo
dede5077d6 Change configuration name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1226 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 20:37:02 +00:00
patacongo
5d76e17638 Can't use if up_disable_irq if there is not interrupt controller
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1174 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 17:46:36 +00:00
patacongo
7d1a814404 Missing return value with some config options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1164 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:55:56 +00:00
patacongo
ccad3360b1 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1163 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:55:25 +00:00
patacongo
1ca53e706a Check for messages disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1162 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:54:27 +00:00
patacongo
368ef1c0e8 Make sure z16f still builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1154 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 18:16:01 +00:00
patacongo
22c47e5a73 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@937 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 14:53:53 +00:00
patacongo
dccebdea85 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@933 42af7a65-404d-4744-a932-0658087f49c3
2008-09-18 22:56:32 +00:00
patacongo
af1a31d5c6 Fix environment sharing bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@854 42af7a65-404d-4744-a932-0658087f49c3
2008-08-30 14:37:49 +00:00
patacongo
03c3094d99 Misc NSH enhancements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@813 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 22:02:19 +00:00
patacongo
faf168d93c Fix bug: Using unsigned to detect errno<0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@791 42af7a65-404d-4744-a932-0658087f49c3
2008-07-31 00:28:24 +00:00
patacongo
1c9cadf1c3 task_create now dup's all open descriptors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@789 42af7a65-404d-4744-a932-0658087f49c3
2008-07-30 00:28:43 +00:00
patacongo
de003eb9d6 Remove pthread_mutexattrverifytype.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@772 42af7a65-404d-4744-a932-0658087f49c3
2008-06-05 02:07:51 +00:00
patacongo
1f1e6f30a3 Fix recursive mutex bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@770 42af7a65-404d-4744-a932-0658087f49c3
2008-06-05 01:57:49 +00:00
patacongo
e14188b4a1 Add comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@769 42af7a65-404d-4744-a932-0658087f49c3
2008-06-03 10:25:00 +00:00
patacongo
9ccfde456f Put timer_release in a separate file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@768 42af7a65-404d-4744-a932-0658087f49c3
2008-06-03 01:31:13 +00:00
patacongo
d9112fa8b1 Improved timer life control fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@767 42af7a65-404d-4744-a932-0658087f49c3
2008-06-03 01:21:12 +00:00
patacongo
a9b64a7469 Fix problem when timer deleted by timer handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@762 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 17:46:26 +00:00
patacongo
ae5cc87281 Fix memory leak: Contained watchdog not being deleted with POSIX timer deleted
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@756 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 18:33:44 +00:00
patacongo
9a18c880a1 Comments updated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@755 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 18:14:02 +00:00
patacongo
62d058a834 Comment updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@754 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 18:02:49 +00:00
patacongo
b08da21f90 Add support for recursive mutexes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@753 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 17:13:08 +00:00
patacongo
4daf380c0c Fix important task shutdown bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@750 42af7a65-404d-4744-a932-0658087f49c3
2008-05-15 10:50:29 +00:00
patacongo
ad2155cd0c Changes for Z8Encore\! compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@668 42af7a65-404d-4744-a932-0658087f49c3
2008-02-11 19:16:45 +00:00
patacongo
5622797411 Various fixes for buffered R/W I/O and seeking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@630 42af7a65-404d-4744-a932-0658087f49c3
2008-02-05 18:13:13 +00:00
patacongo
ac37ac75e0 errno now defined to be *get_errno_ptr()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@607 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 21:23:19 +00:00
patacongo
aa7ecab89c Function did not match prototype
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@599 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 22:28:47 +00:00
patacongo
ce50defd4c Fixes for SDCC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@598 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 22:25:31 +00:00
patacongo
40f92a9da4 Z16F integration changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@595 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 17:59:22 +00:00
patacongo
1358cc1911 Fix z16f addressing issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@592 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 21:59:12 +00:00
patacongo
9654e2d4b4 errno was clobbered by mm_trysemaphore when task exists
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@591 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 18:49:31 +00:00
patacongo
59451ae6c0 Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@589 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 14:01:22 +00:00
patacongo
675205a5de Misc fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@584 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 23:58:39 +00:00
patacongo
37d20db817 Z16F Debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@579 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 00:50:16 +00:00
patacongo
d15ab7811c Eliminate some Z16F compilation warnings.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@575 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 15:45:39 +00:00
patacongo
6e5c4b2316 Z16F compile/link with all OS features enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@574 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 14:59:21 +00:00
patacongo
0a32f4d20b Passing union parms as const upsets ZDS-II compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@547 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 19:16:50 +00:00
patacongo
291270beb5 Using tool-specific clean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@545 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 18:23:08 +00:00
patacongo
83f36eac7d Changes for ZNeo compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@539 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 14:20:31 +00:00
patacongo
817b284a13 Support C pre-processors without variable-arg macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@535 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 01:13:24 +00:00
patacongo
d8b91b19e5 Make logic reorganized for non-GNU toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@528 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 17:06:21 +00:00
patacongo
71f2d3d25d ZNeo compiler now works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@525 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 13:02:47 +00:00
patacongo
c5a589f25b Add support for tools that can't make dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@522 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 00:19:24 +00:00
patacongo
424eae4cfb Debug z80sim NSH (still doesn't work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@476 42af7a65-404d-4744-a932-0658087f49c3
2008-01-01 14:54:10 +00:00
patacongo
d9080fb256 Debug NSH on z80sim
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@474 42af7a65-404d-4744-a932-0658087f49c3
2007-12-31 23:52:53 +00:00
patacongo
8403a62cdf More SDCC compilation fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@468 42af7a65-404d-4744-a932-0658087f49c3
2007-12-30 23:34:20 +00:00
patacongo
932463210f Changes for SDCC compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@453 42af7a65-404d-4744-a932-0658087f49c3
2007-12-28 01:44:34 +00:00
patacongo
b72a7ab50b Debug can now be selectively enabled by subystem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@404 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 22:32:52 +00:00
patacongo
ea2ca7bfc3 Several webserver bugs fixed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@391 42af7a65-404d-4744-a932-0658087f49c3
2007-11-20 20:32:33 +00:00
patacongo
0e1b8b8b11 Add TCP readahead logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@387 42af7a65-404d-4744-a932-0658087f49c3
2007-11-19 23:09:39 +00:00
patacongo
01207cc66e Added network init; refactored some header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@338 42af7a65-404d-4744-a932-0658087f49c3
2007-09-09 11:58:50 +00:00
patacongo
a3d199f7ac Implemented several options in set/getsockopts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@334 42af7a65-404d-4744-a932-0658087f49c3
2007-09-08 19:50:59 +00:00
patacongo
29aeec7b8a Added support for socket descriptors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@318 42af7a65-404d-4744-a932-0658087f49c3
2007-09-01 18:06:15 +00:00
patacongo
cdd8fe239a Add environment variable test; fix several detected bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@298 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 22:39:20 +00:00
patacongo
475e731751 Add environment variable function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@294 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 19:39:17 +00:00
patacongo
09a3864fd5 Add basic tasking support for environment variables
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@291 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 17:05:44 +00:00
patacongo
aca030153f Add support for custom system timer frequency
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@274 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 15:49:44 +00:00
patacongo
c574123ca4 Fixed nsec calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@269 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:14:35 +00:00
patacongo
637618e8bb Removed redundant interrupt disable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@268 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:08:40 +00:00
patacongo
a54e55c432 Don't build sleep() or usleep() if signals are disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@267 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:03:36 +00:00
patacongo
955bf72f06 Fat dir operations seem to work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@254 42af7a65-404d-4744-a932-0658087f49c3
2007-05-26 22:37:57 +00:00
patacongo
84e1cf94cf Finish FAT directory operations; add option to disable mountpoints; fix ARM compile errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@252 42af7a65-404d-4744-a932-0658087f49c3
2007-05-26 19:22:34 +00:00
patacongo
341cf6f778 Did not re-enable interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@238 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 16:59:40 +00:00
patacongo
28c3d07135 Fix timeslice calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@232 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 15:43:53 +00:00
patacongo
d2410c93c6 Fix another potential pthread_join race condition
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@181 42af7a65-404d-4744-a932-0658087f49c3
2007-03-30 13:11:19 +00:00
patacongo
f29250c671 Correct a race condition in the pthread join logic. Sometimes the join structure was being deallocated while it was still needed.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@180 42af7a65-404d-4744-a932-0658087f49c3
2007-03-30 00:49:11 +00:00
patacongo
b1127822ed Fix bugs detected by timed mqueue test.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@178 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 23:43:54 +00:00
patacongo
63f134f988 Wrong task state
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@175 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 14:22:29 +00:00
patacongo
b1d5b6899a Signal mask is now inherited by both child tasks and threads; this has the side-effect of changing the initia
l state of all signals from blocked to unblocked.


git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@173 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:34:37 +00:00
patacongo
2aab4d3c3a Unmatched sched_lock()/sched_unlock()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@172 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:32:13 +00:00
patacongo
b765d17818 Don't allow signals to wake up blocked task if the signal is blocked.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@171 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:31:08 +00:00
patacongo
54339607da Block signals while pthread exits.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@170 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:29:29 +00:00
patacongo
0c2ff4a47c typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@169 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:28:27 +00:00
patacongo
56f7399200 Added mq_timedsend() and mq_timedreceive()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@166 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:25:18 +00:00
patacongo
5f5d5496d9 Update mq_send() and mq_receive() description
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@165 42af7a65-404d-4744-a932-0658087f49c3
2007-03-28 16:00:57 +00:00
patacongo
3e352ca10b mq_receive/send: Return appropriate errnos and stop waiting if signal received.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@164 42af7a65-404d-4744-a932-0658087f49c3
2007-03-28 14:48:42 +00:00
patacongo
16e8906ed5 Add logic to protect the user task errno when errno access are performed from interrupt handlers.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@141 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:56:27 +00:00
patacongo
768a214d63 Don't all sched_setparam; call up_prrioritize_rtr directly
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@137 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:52:45 +00:00
patacongo
b282cd3f42 Correct errno handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@136 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:51:50 +00:00
patacongo
e689e148e8 Added pthread_setschedprio()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@135 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:51:01 +00:00
patacongo
7a1f5f61bd Add new pthread_* APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@134 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 23:22:22 +00:00
patacongo
1e8eaa90c1 Fix memory leaks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@133 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 16:06:22 +00:00
patacongo
a2c26f080a argv parameter should be 'const'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@130 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 16:03:28 +00:00
patacongo
fb91e7397a timer_gettime was not returning the right value for it_interval
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@116 42af7a65-404d-4744-a932-0658087f49c3
2007-03-21 20:03:32 +00:00
patacongo
b7b7b17b6b This achieves successful DM320 boot with a minimal system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@115 42af7a65-404d-4744-a932-0658087f49c3
2007-03-21 20:02:52 +00:00
patacongo
28a4afaf3a Added support for POSIX timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@111 42af7a65-404d-4744-a932-0658087f49c3
2007-03-21 17:21:26 +00:00
patacongo
30d90deedf Add the framework to support POSIX timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@110 42af7a65-404d-4744-a932-0658087f49c3
2007-03-21 00:56:49 +00:00
patacongo
96edde22e0 Changes for the SDCC compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@109 42af7a65-404d-4744-a932-0658087f49c3
2007-03-20 19:04:01 +00:00
patacongo
8b098e598a Add kill()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@108 42af7a65-404d-4744-a932-0658087f49c3
2007-03-20 19:03:11 +00:00
patacongo
3f1b80218e Restructure header files for POSIX compliance; eliminate compile warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@107 42af7a65-404d-4744-a932-0658087f49c3
2007-03-20 16:51:12 +00:00
patacongo
20970888b7 Keep interrupts disabled until we sample errno
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@97 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 16:39:14 +00:00
patacongo
51a1c4572a Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@96 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 16:38:47 +00:00
patacongo
afefdcd042 Should call free(), not sched_free() in this context
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@91 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:23:58 +00:00
patacongo
50dcba1464 Interrupts must be disabled in all low level context switches
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@89 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 14:22:43 +00:00
patacongo
efa050ddfa Fix botched conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@83 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 22:43:36 +00:00
patacongo
31a5535de1 Fix another backward memcpy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@82 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 22:40:30 +00:00
patacongo
9fb9a09c83 Add test of roundrobin scheduler (still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@81 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 21:32:21 +00:00
patacongo
238334bcd9 Add strerror()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@80 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 16:18:49 +00:00
patacongo
4980389bdb Bad memcpy!
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@71 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 22:03:14 +00:00
patacongo
08199e1216 Add 8052 IRQ test; Fix places where IDLE task could try to wait on semaphores
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@61 42af7a65-404d-4744-a932-0658087f49c3
2007-03-14 18:58:21 +00:00
patacongo
8f7e5ad85e 8052 context switch/interrupt integration; pthread arg setup changed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@60 42af7a65-404d-4744-a932-0658087f49c3
2007-03-13 23:03:12 +00:00
patacongo
b1598a0052 8051 integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@59 42af7a65-404d-4744-a932-0658087f49c3
2007-03-13 14:08:18 +00:00
patacongo
d2b2a82171 Divided _task_init() in several smaller functions that take fewer paramters. This was necessary to reduce the stack usage for the 8051/2 which has a tiny, 256 byte stack
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@58 42af7a65-404d-4744-a932-0658087f49c3
2007-03-11 22:19:01 +00:00
patacongo
38c48d998a Fixed 8051 printf bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@57 42af7a65-404d-4744-a932-0658087f49c3
2007-03-11 21:16:56 +00:00
patacongo
b4fd3cdcf4 task_create now accepts variable number of arguments; 8051 bringup changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@56 42af7a65-404d-4744-a932-0658087f49c3
2007-03-11 17:37:47 +00:00
patacongo
aab0d08d21 Add to nsh, add limits.h, gets, strtok, strtok_r
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@54 42af7a65-404d-4744-a932-0658087f49c3
2007-03-10 14:42:30 +00:00
patacongo
435fe50ea6 Fix IRQ-related bugs, fix serial read logic, add fgets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@51 42af7a65-404d-4744-a932-0658087f49c3
2007-03-10 00:17:29 +00:00
patacongo
31c51190dd Debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@47 42af7a65-404d-4744-a932-0658087f49c3
2007-03-09 15:27:47 +00:00
patacongo
a0dffbf481 Fix c5471 signal handling + deallocation bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@44 42af7a65-404d-4744-a932-0658087f49c3
2007-03-08 18:34:11 +00:00
patacongo
4b1edc8ea5 Add capability to manager memory in discontiguous regions.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@35 42af7a65-404d-4744-a932-0658087f49c3
2007-03-04 15:23:22 +00:00
patacongo
273e5d0d0e 8051 is getting closer. Still have to setup timer and uart.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@32 42af7a65-404d-4744-a932-0658087f49c3
2007-03-02 22:44:29 +00:00
patacongo
9014f894a2 Code complete for 8051 (not tested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@29 42af7a65-404d-4744-a932-0658087f49c3
2007-03-02 21:27:47 +00:00
patacongo
4fdd4c456b Add logic to suppress clock_ APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@27 42af7a65-404d-4744-a932-0658087f49c3
2007-03-01 21:46:29 +00:00
patacongo
bcd6ba97bd This creates a 8051 build that can run in 24Kb of RAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@26 42af7a65-404d-4744-a932-0658087f49c3
2007-03-01 21:05:55 +00:00
patacongo
fb61b0b76b Still working toward clean 8051 link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@25 42af7a65-404d-4744-a932-0658087f49c3
2007-02-28 23:45:56 +00:00
patacongo
bb072cb0d2 Working toward successful link using aslink
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@21 42af7a65-404d-4744-a932-0658087f49c3
2007-02-27 23:59:20 +00:00
patacongo
a60059d9d0 Finally, a clean SDCC compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@20 42af7a65-404d-4744-a932-0658087f49c3
2007-02-27 21:17:21 +00:00
patacongo
b8f3bd857b Progress toward clean SDCC compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@18 42af7a65-404d-4744-a932-0658087f49c3
2007-02-21 21:55:16 +00:00
patacongo
7207076a5d Eliminating SDCC compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@17 42af7a65-404d-4744-a932-0658087f49c3
2007-02-21 02:19:19 +00:00
patacongo
59bd1d6954 Fixes for STDCC compiler (more needed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@16 42af7a65-404d-4744-a932-0658087f49c3
2007-02-20 23:51:56 +00:00
patacongo
4881fed8bf Working toward compiler independence: Removed inline funcs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@15 42af7a65-404d-4744-a932-0658087f49c3
2007-02-20 23:16:24 +00:00
patacongo
3c0e634aee Eliminating GCC dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@14 42af7a65-404d-4744-a932-0658087f49c3
2007-02-20 22:39:56 +00:00
patacongo
e3f52bbeb4 Fix ARM IRQ handling problem + ARM context restore problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@9 42af7a65-404d-4744-a932-0658087f49c3
2007-02-19 22:51:18 +00:00
patacongo
c42c9f4aef Fix problems in state restore logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5 42af7a65-404d-4744-a932-0658087f49c3
2007-02-18 15:28:23 +00:00
patacongo
b08a86171f NuttX RTOS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3 42af7a65-404d-4744-a932-0658087f49c3
2007-02-17 23:21:28 +00:00