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
board_lcd.c
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
up_allocateheap.c
up_blockdevice.c
up_blocktask.c
up_cpuidlestack.c
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
up_exit.c
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
up_hostfs.c
up_hostusleep.c
up_idle.c
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
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
up_ioexpander.c
up_netdev.c
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
up_releasepending.c
up_releasestack.c
up_reprioritizertr.c
up_romgetc.c
up_schednote.c
up_schedulesigaction.c
up_setjmp32.S
up_setjmp64.S
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
up_smpsignal.c
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
up_testset.c
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
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
up_x11eventloop.c
up_x11framebuffer.c