nuttx/arch/sim/src
Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b1.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.

    In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.

    In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.

    sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
..
.gitignore arch/sim/src: 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:36:44 -06:00
board_lcd.c Centralize definitions associated with CONFIG_DEBUG_LCD 2016-06-15 11:40:33 -06:00
Makefile Simulation: Fix building 32-bit simulation on 32-bit X86 2017-09-04 07:56:51 -06:00
nuttx-names.dat Simulator: Protect a few more NuttX symbols from collisions with host symbols. 2017-07-31 15:41:31 -06:00
up_ajoystick.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_allocateheap.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_blockdevice.c ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers. 2016-07-20 14:02:18 -06:00
up_blocktask.c SMP: Back out deferred IRQ locking. This was accidentally merged into master and it looks like it is going to be more work than I thought to get it working again. Changes will go to the irqlock branch. 2016-12-24 19:53:37 -06:00
up_cpuidlestack.c Update some comments; Fix grammatic error in ChangeLog. 2016-05-13 17:36:08 -06:00
up_createstack.c Simulator: x86 stack needs to be aligned to 16-byte boundaries. 2017-08-04 07:03:39 -06:00
up_devconsole.c Squashed commit of the following: 2017-09-30 11:51:37 -06:00
up_deviceimage.c arch/sim/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-14 11:49:55 -06:00
up_exit.c SMP: Back out deferred IRQ locking. This was accidentally merged into master and it looks like it is going to be more work than I thought to get it working again. Changes will go to the irqlock branch. 2016-12-24 19:53:37 -06:00
up_framebuffer.c sim/configs/fb: Add a configuration for non-graphical testing of the frambuffer character driver using apps/example/fb 2017-09-12 09:48:47 -06:00
up_head.c sim SMP: CPU0 should not be the main thread. That introduces an asymmetry since the main thread has no pthread_t ID. Instead, start an additional pthread for CPU0. The main thread will just wait and do nothing in this case 2016-02-18 14:54:48 -06:00
up_hostfs.c hostfs: Add support for fstat(). 2017-02-14 09:54:08 -06:00
up_hostusleep.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_idle.c 6loWPAN: Fix compile errors and warnings when building the complete 6loWPAN configuration. 2017-04-02 17:46:22 -06:00
up_initialize.c IOBs: Move from driver/iob to a better location in mm/iob 2017-05-09 07:35:30 -06:00
up_initialstate.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_internal.h Simulator: Adds necessary functionality to build Simulator under ARM Linux. Tested only on Raspberry3. Currently setjmp/longjmp do not save/restore floating point registers. Patch provided by Bitbucket user nbkolchin. 2017-08-26 11:38:44 -06:00
up_interruptcontext.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_ioexpander.c Update some header commments 2016-08-06 18:16:31 -06:00
up_netdev.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_netdriver.c sim arch: poll for TX frames to speed up driver 2017-07-22 09:01:24 -06:00
up_oneshot.c arch/: Remove dangling space at the end of lines. 2017-06-28 13:16:48 -06:00
up_qspiflash.c Fixes for coding standard: '*' needs to 'snuggle' with following variable name 2017-02-28 18:22:58 -06:00
up_releasepending.c Revert "All CMP platforms: Apply same fix verified on other platforms found on Xtensa." 2016-12-25 07:08:44 -06:00
up_releasestack.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_reprioritizertr.c SMP: Back out deferred IRQ locking. This was accidentally merged into master and it looks like it is going to be more work than I thought to get it working again. Changes will go to the irqlock branch. 2016-12-24 19:53:37 -06:00
up_romgetc.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_schednote.c Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces. 2016-06-20 08:57:08 -06:00
up_schedulesigaction.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_setjmp32.S Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_setjmp64.S Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_setjmp_arm.S Update some comments. 2017-08-26 11:50:41 -06:00
up_simsmp.c Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
up_simuart.c sim arch: Add non blocking read to devconsole driver 2017-07-22 09:01:24 -06:00
up_smphook.c ARMv7-A i.MX6: More SMP logic. Still untested. 2016-05-12 15:04:46 -06:00
up_smpsignal.c SMP: Back out deferred IRQ locking. This was accidentally merged into master and it looks like it is going to be more work than I thought to get it working again. Changes will go to the irqlock branch. 2016-12-24 19:53:37 -06:00
up_spiflash.c Add an instance argument to the SPIDEV definitions. 2017-04-29 12:26:52 -06:00
up_stackframe.c Simulator: x86 stack needs to be aligned to 16-byte boundaries. 2017-08-04 07:03:39 -06:00
up_tapdev.c Fix for a minor typo that I introduced somewhere along the way during my testing. This makes the bridge code actually compile… 2016-05-21 17:09:50 -06:00
up_testset.c Fix a cloned typo 2016-10-19 09:14:21 -06:00
up_tickless.c Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
up_touchscreen.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
up_uartwait.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
up_unblocktask.c SMP: Back out deferred IRQ locking. This was accidentally merged into master and it looks like it is going to be more work than I thought to get it working again. Changes will go to the irqlock branch. 2016-12-24 19:53:37 -06:00
up_usestack.c Simulator: x86 stack needs to be aligned to 16-byte boundaries. 2017-08-04 07:03:39 -06:00
up_wpcap.c Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -06:00
up_x11eventloop.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
up_x11framebuffer.c Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00