Michael Scire
ae6f69d339
bsd: fix bsdRegisterClient
2021-02-26 17:43:20 +01:00
Michael Scire
c8f8145195
bsd: allow user-specified tmem backing buffer
2021-02-24 17:41:52 +01:00
yellows8
5e95507cbc
bsd/sockets: Added actual support for recvmsg/sendmsg and sendmmsg/recvmmsg, on [7.0.0+].
2020-04-09 13:15:07 -04:00
fincs
5340c7d7dc
Add multithreaded BSD/socket support; revise BSD service type handling so that bsd:u is the default (since it has 22 worker threads as opposed to bsd:s's 11)
2019-10-26 17:26:04 +02:00
fincs
58e1e7e5b6
bsd: Update for new-ipc
2019-10-25 17:19:30 +02:00
fincs
6ad0042147
Introduce new IPC interface wrapper code, see details:
...
- Service object moved away from sm.h and into its own file (sf/service.h)
- Service object completely redesigned, but a (mostly)
backwards compatible API was kept
- New low level HIPC request/response code
- New CMIF client-oriented code
- New service IPC dispatch functions
- Pointer buffer size automatically retrieved for all sessions
- Removed previous manual pointer buffer size query code
- SM rewritten with new IPC code
- All other services are still pending IPC rewrite
2019-09-19 03:50:28 +02:00
friedkeenan
da4c060278
Add a bunch of GetServiceSession functions ( #305 )
...
* Add a bunch of GetServiceSession functions
2019-07-13 15:09:28 -04:00
yellows8
9f45bb4d7e
Fixed IPC issues with bsdRead.
2019-02-24 22:17:27 -05:00
yellows8
9c7ed03424
Fixed bsdGetSockOpt.
2018-05-09 22:07:54 -04:00
yellows8
2619142d78
Fixed bsdIoctl.
2018-05-09 12:57:07 -04:00
yellows8
468924b730
Fixed static-buf-size issue with _bsdNameGetterCommand.
2018-05-08 16:22:18 -04:00
TuxSH
635599491c
Add ipcAddSendSmart, ipcAddRecvSmart, use where applicable
2018-05-08 16:17:13 -04:00
plutoo
d12e99e3ad
Move ipc.h to kernel/
2018-03-10 14:03:29 +01:00
TuxSH
d33b26016d
Add documentation to bsd.h and sfdnsres.h, etc.
2018-02-27 19:14:44 +01:00
TuxSH
472d305883
Move socket.c definitions around, fix bugs
2018-02-27 19:14:44 +01:00
TuxSH
0b92bb76b0
Add newlib wrapper for sockets...
...
... fix several bugs, etc.
2018-02-27 19:14:44 +01:00
TuxSH
88dbc66d01
Handle result code+errno properly...
...
also make fcntl and ioctl non-variadic for convenience for the newlib wrapper
2018-02-27 19:14:44 +01:00
TuxSH
a3e90d68a0
Add all the needed headers from FreeBSD...
...
... clean them up, also fix some bugs in bsd.c/h, etc.
2018-02-27 19:14:44 +01:00
TuxSH
4d78f12871
Implement most bsd:u/s service commands
2018-02-27 19:14:44 +01:00
TuxSH
5b0de6c054
Move tmem allocation in bsdInitalize...
...
...add bsdExit, change the default config's "version" field to 1.
2018-01-22 22:11:33 +01:00
TuxSH
fb9e126f3a
Make the bsd service work properly
2018-01-22 22:11:33 +01:00
plutoo
6fa8370bfb
This looks better
2018-01-22 20:11:55 +01:00
TuxSH
5abc4873d8
Include only what is really necessary...
...
add pragma once in every header, etc.
2018-01-22 18:42:57 +01:00
plutoo
f70d70f029
Introducing "Service" object, implemented service override, fixing minor formatting mistakes
...
NOT TESTED :(
2018-01-12 23:29:49 +01:00
plutoo
bf89c7526e
Rename ipc functions before it's too late
2018-01-11 21:56:04 +01:00
plutoo
edcf789b6e
C was developed in 1972
2018-01-06 13:54:59 +01:00
plutoo
3ca6e65984
Aligning code style of kernel primitives
2018-01-06 06:10:55 +01:00
shinyquagsire23
3db154a8f0
Add bsdSendTo and bsdSetSockOpt
2017-11-19 01:45:15 -07:00
plutoo
1f1b837004
Improving bsd
2017-09-17 03:07:22 +02:00
plutoo
003e300e83
Introducing ipc domains, bsd stuff
2017-09-15 00:18:52 +02:00
plutoo
22727bcf8d
Got bsdConnect working properly
2017-09-12 01:59:07 +02:00
plutoo
6c2d06f9a8
Fixing bugs. bsdInitialize currently fails with 0xe401, probably due to ipc bug
2017-09-11 04:38:38 +02:00
plutoo
30650b5d69
Implemented heap, transfer memory, bsd cmd0
2017-09-10 23:17:57 +02:00