Commit graph

21 commits

Author SHA1 Message Date
cinap_lenrek ac88ce4f7f make bind(2) error handling consistent
The mount() and bind() syscalls return -1 on error,
and the mountid sequence number on success.

The manpage states that the mountid sequence number
is a positive integer, but the kernels implementation
currently uses a unsigned 32-bit integer and does not
guarantee that the mountid will not become negative.

Most code just cares about the error, so test for
the -1 error value only.
2020-05-02 17:32:01 +02:00
aiju f75bbcdd45 5e: byte access incorrectly checked for long; brk has to round up addresses 2018-09-28 22:53:24 +00:00
cinap_lenrek d63cc467d8 5e: fix special bitshift and rotations 2017-05-01 20:22:23 +02:00
cinap_lenrek fcb9abccbb 5e: enable VFP emulation by default, doubles only need to be 4 byte aligned
this adds -F flag to 5e (same as 5l) to disable VFP emulation
and makes VFP emulation the default.
2015-07-08 02:13:16 +02:00
cinap_lenrek e2a6e622c7 5e: approximate LL/SC with cas() 2015-07-07 06:30:34 +02:00
cinap_lenrek fcfc849dd5 5e: make sure stack base is aligned to avoid unaligned memory trap on arm 2015-07-07 06:26:56 +02:00
cinap_lenrek 6b4a9c5d8d 5e: implement DSB,DMB,ISB and CLREX instructions 2015-06-19 14:43:32 +02:00
cinap_lenrek 3a322e9f32 5e: fix signed long multiply 2014-09-04 22:53:54 +02:00
cinap_lenrek e890c3d943 5e: push ERRMAX for note message on stack avoiding unaligned stack pointer 2014-09-03 19:23:55 +02:00
cinap_lenrek 760b3d0667 5e: remove newline from suicide string 2014-03-10 23:20:01 +01:00
cinap_lenrek 3aeca15d3c 5e: trap unaligned memory access 2014-03-10 23:16:47 +01:00
cinap_lenrek f05af31f36 5e: fix amd64 2014-03-08 21:07:57 +01:00
jpathy f166778ce3 5e: vfp support 2013-06-11 00:30:16 +05:30
aiju 3a8e788bef 5e: added semacquire/semrelease 2011-08-07 19:14:26 +02:00
aiju cebce1be70 5e: fix _tos->pid / libthread bug 2011-06-26 13:37:14 +02:00
aiju b051663043 5e: changed argument behaviour 2011-06-25 21:48:28 +02:00
aiju a4436018f1 5e: added FPA support 2011-06-25 20:48:25 +02:00
aiju 0b22dfd1f6 5e: added note support
added wstat / fwstat / alarm
2011-06-25 16:17:20 +02:00
aiju 81d393942d updated 5e 2011-06-24 15:10:22 +02:00
aiju 62ff14fb4a fixed 5e mkfile 2011-06-16 18:45:51 +02:00
aiju 2acb5433d8 added 5e (not finished) 2011-06-16 17:49:24 +02:00