Commit Graph

4450 Commits

Author SHA1 Message Date
James Benton
a1ccf60031 ios/kernel: Fix updating of current thread when switching threads. 2018-06-22 12:30:53 +01:00
James Benton
54b26c4aaf ios/kernel: Fix threads not being put on the scheduler queue when woken. 2018-06-22 12:30:53 +01:00
James Benton
f683e9445c ios/kernel: Fix timer thread using NonBlocking receive message. 2018-06-22 12:30:53 +01:00
James Benton
3e820ad0bc ios/kernel: Fix incorrect stack pointer. 2018-06-22 12:30:53 +01:00
James Benton
c58f402476 ios/net: Add socket device and rip out the remaining OLD ios code!! 2018-06-22 12:30:53 +01:00
James Benton
a20c389910 ios/mcp: Further work on MCP. 2018-06-22 12:30:53 +01:00
James Benton
09400a9bea ios/kernel: Implement IOS_{Get,Set}SecurityLevel. 2018-06-22 12:30:52 +01:00
James Benton
95a3716f29 ios/fs: Add ipc FSARemove, FSAMakeDir, FSAMakeQuota, FSAMount, FSAGetInfoByQuery. 2018-06-22 12:30:52 +01:00
James Benton
98d28c0ea0 ios/fs: Fix missing values in FSAResponseGetInfoByQuery. 2018-06-22 12:30:52 +01:00
James Benton
a490076e87 cpu: Pointer<X> should dereference to be_struct<X>. 2018-06-22 12:30:52 +01:00
James Benton
d375df4ddb ios/auxil: Move config reading/writing to ios_auxil_config.
This is because MCP also wants to read/write config.
2018-06-22 12:30:52 +01:00
James Benton
7c63bfd899 ios/net: Add network, socket and subsys threads. 2018-06-22 12:30:52 +01:00
James Benton
9d096ea116 ios/mcp: Add mcp thread. 2018-06-22 12:30:52 +01:00
James Benton
0c6cefbc1f auxil: Using namespace kernel in usr_cfg service thread. 2018-06-22 12:30:51 +01:00
James Benton
27e6ad11ce ios/kernel: Fix thread exit. 2018-06-22 12:30:51 +01:00
James Benton
5ef8d24a4d ios/auxil: Update auxil to use MCP_RegisterResourceManager. 2018-06-22 12:30:51 +01:00
James Benton
ab8425db30 ios/mcp: Add IPC functions, MCP_{Open,Close,RegisterResourceManager}. 2018-06-22 12:30:51 +01:00
James Benton
e83ebaf1cc ios: Flesh out the NET process creation.
(I started this first then got side-tracked with MCP).
2018-06-22 12:30:51 +01:00
James Benton
b414e8afac ios: Start work on MCP.
Currently includes /dev/pm thread.
2018-06-22 12:30:51 +01:00
James Benton
2957ec9bc9 ios/kernel: Rename IOS_GetTimerTicks to IOS_GetUpTime64.
Because that is what it's real name is.
2018-06-22 12:30:51 +01:00
James Benton
7803014cb7 ios/kernel: Add DeviceId 9 as SysEvent. 2018-06-22 12:30:51 +01:00
James Benton
cc14ad0145 ios/kernel: Rename IOS_SetResourcePermissionGroup to IOS_AssociateResourceManager.
More accurate.
2018-06-22 12:30:51 +01:00
James Benton
b394bf3678 ios/kernel: Add IOS_SetClientCapabilities. 2018-06-22 12:30:51 +01:00
James Benton
048d24ae97 ios/kernel: Add IOS_SetResourceManagerRegistrationDisabled.
What a mouthfull.
2018-06-22 12:30:51 +01:00
James Benton
4cd7b7f157 ios/auxil: Add missing calls to startImThread / stopImThread. 2018-06-22 12:30:50 +01:00
James Benton
bf21e391cc ios/kernel: Add allocProcessStatic(std::string_view) 2018-06-22 12:30:50 +01:00
James Benton
b9622dd0af ios/kernel: Add async IPC functions. 2018-06-22 12:30:50 +01:00
James Benton
9681ccf650 ios/kernel: Add makeMessage, parseMessage utilities. 2018-06-22 12:30:50 +01:00
James Benton
286f839218 cpu: Add be2_struct<Type> operator=(const Type &). 2018-06-22 12:30:50 +01:00
James Benton
571e93361b ios: Add StackArray.
StackObject, but an array!
2018-06-22 12:30:50 +01:00
James Benton
246b71bba6 cpu: Add a constructor for be2_array from std::array 2018-06-22 12:30:50 +01:00
James Benton
01b003f70d ios/auxil: Implement initialisation of IM parameters.
Also, destroy the old /dev/im! 2 more devices to go!!!
2018-06-22 12:30:50 +01:00
James Benton
85195abb24 ios/auxil: Add usr_cfg ipc. 2018-06-22 12:30:50 +01:00
James Benton
967a38a202 ios/auxil: Fix UC{Read,Write}SysConfigRequest arguments. 2018-06-22 12:30:50 +01:00
James Benton
ff77955978 ios/fs: Add ipc FSAOpen, FSAClose. 2018-06-22 12:30:49 +01:00
James Benton
c44bdcc4d5 be2_array: Add operator= string_view for be2_array<char, N>. 2018-06-22 12:30:49 +01:00
James Benton
7d6eaf4689 cpu: Remove BigEndianValue::getAddress as this was removed from Pointer. 2018-06-22 12:30:49 +01:00
James Benton
1dcd8e6e43 ios/auxil: Implement usr_cfg ioctls readSysConfig, writeSysConfig.
Delete the old usr_cfg.
2018-06-22 12:30:49 +01:00
James Benton
001f702edd ios/fs: Add FSAStatFile ipc. 2018-06-22 12:30:49 +01:00
James Benton
e57368357f cpu: Make be2_array great again.
Behaves much more like a std::array.
Instead of .data() use {phys,virt}_addrof.
2018-06-22 12:30:49 +01:00
James Benton
1fa83d5972 ios/kernel: Boot all processes. 2018-06-22 12:30:49 +01:00
James Benton
782797f0ad ios/kernel: Add missing initialisation of interrupt registers. 2018-06-22 12:30:49 +01:00
James Benton
a55f73ad1c ios/kernel: Add missing startIpcThread function. 2018-06-22 12:30:49 +01:00
James Benton
d902be0dbf ios/kernel: Fix allocProcessStatic variadic template. 2018-06-22 12:30:49 +01:00
James Benton
484885e190 ios/kernel: Remove member initialisation in resource manager. 2018-06-22 12:30:49 +01:00
James Benton
3456fac33c ios/kernel: Add makeMessage utility function. 2018-06-22 12:30:48 +01:00
James Benton
a6c9b9c402 ios/kernel: Fix compiler warnings in timer. 2018-06-22 12:30:48 +01:00
James Benton
9eeb297298 ios: Add missing process entry points. 2018-06-22 12:30:48 +01:00
James Benton
ad237f359a ios: Change ProcessId::IOSTEST to ProcessId::TEST 2018-06-22 12:30:48 +01:00
James Benton
e6790d35bd ios: Add a default constructor for IpcRequestArgs.
It won't be generated because union.
2018-06-22 12:30:48 +01:00