TechiePi
7fa7137b39
Apply suggestions (III)
2 years ago
TechiePi
5ddc8e9906
Change example filename to ``system-configuration.rs``
2 years ago
TechiePi
509e9308f5
Change ``repr(u8)`` to ``repr(u32)`` to match ctru-sys
2 years ago
TechiePi
149ab391d5
Apply suggestions (II)
2 years ago
TechiePi
358e2bca46
Apply suggestions
2 years ago
TechiePi
1e8c6ccacb
Fix issues with ``Fs`` docs
2 years ago
TechiePi
87b222a71a
Apply simple ``rustdoc`` suggestions
2 years ago
TechiePi
53d35dd7d9
Fix example
2 years ago
TechiePi
b8618907e5
Add example
2 years ago
TechiePi
650ba42b35
Implement debug and make function names consistent
2 years ago
TechiePi
e371addd66
Initial CFGU implementation
2 years ago
Ian Chamberlain
eb1f112c81
Handle #[must_use] errors where needed
3 years ago
Ian Chamberlain
042d5602ce
Add a new enum variant for already redirected
...
Also add libc errno error helper and an errno function in ctru_sys.
3 years ago
Ian Chamberlain
89c6d84a0e
Restore previous test behavior
3 years ago
Ian Chamberlain
cdb7e45500
Add doc comment for usage + clear screen
3 years ago
Ian Chamberlain
172c3c260e
Add 3dslink redirection to Soc service
...
- Add example of usage
- Fix broken thread-info compilation
3 years ago
Ian Chamberlain
3cff0c2a77
Make stack bigger by default
...
Add a Cargo feature to allow users to set the stack size if desired, but
default to 2MB to handle more use cases.
3 years ago
Mark Drobnak
a2fc98cb5c
Update imports
3 years ago
Mark Drobnak
8484aa614d
network-sockets example: More gracefully handle ErrorKind::WouldBlock
3 years ago
Mark Drobnak
13f5a76bc1
Update libc to 0.2.121 (upstream)
...
All of our 3DS changes have been upstreamed. If in the future we need
to use the fork again, we can edit the top-level Cargo.toml and adjust
the patches (replace upstream with fork).
3 years ago
Andrea Ciliberti
0f781ce7d7
Fixed nits and oversight in Soc
3 years ago
Mark Drobnak
143434ce87
Fix unused import warning
3 years ago
Andrea Ciliberti
1e03d8c6b7
Fixed issues in normal builds
3 years ago
Andrea Ciliberti
f5234432ee
Hid working normally in panic_hook
3 years ago
Andrea Ciliberti
9d9dd8f90d
Reverted non-needing services and fixed issues
3 years ago
Andrea Ciliberti
6f15e54da9
Fixed nits and such
3 years ago
Andrea Ciliberti
9da34bd050
Using Mutexes and ServiceHandler
3 years ago
Andrea Ciliberti
dda1706dc9
Missed ordering changes
3 years ago
Andrea Ciliberti
447ef1eaa2
Fixed typos, nits and small issues
3 years ago
Andrea Ciliberti
060b14f068
Fixed duplicate services and constistency in naming
3 years ago
Andrea Ciliberti
2f82d867c0
Typo in hashmaps example
3 years ago
Andrea Ciliberti
c9e67cdf33
Removed Ps struct references in examples
3 years ago
Andrea Ciliberti
ea854215f8
Static init of the PS service
3 years ago
AzureMarker
e04eb50559
Remove thread list feature from thread-info example
...
The thread list syscall has a bug which causes the process to become a
zombie. See #48 .
3 years ago
AzureMarker
ad444a51c9
Rename ThreadBuilderExt to BuilderExt
3 years ago
AzureMarker
c787475e55
Rename "ideal_processor" to "processor_id"
3 years ago
AzureMarker
353b6c1c77
Add thread-info example
3 years ago
AzureMarker
2d49cd91ec
Use the new current_processor std function (in the os module)
...
This lets us delete the ctru-rs thread module.
3 years ago
Andrea Ciliberti
d9dd716a82
Typo in romfs example
3 years ago
Andrea Ciliberti
c79aeeac76
Basic port of the romfs example
3 years ago
AzureMarker
ac68bf099d
Use the new current_priority std function (in the os module)
3 years ago
AzureMarker
e891b8839b
Use the new way of getting the priority value
3 years ago
Ian Chamberlain
74992326e6
Use `fs::read_to_string()` and add st_mode
...
Just for fun, display file mode as well as size, and simplify code with
`fs::read_to_string()`, which works with the corresponding libc changes.
3 years ago
AzureMarker
debf941bc3
Rename affinity to "ideal processor"
3 years ago
Ian Chamberlain
6b409cdcae
Add support for reading files to file-explorer
3 years ago
AzureMarker
12ba4278c6
Remove stack size overrides now that std defaults to 2MiB
3 years ago
AzureMarker
15763bac1d
Use the new ThreadBuilderExt trait
3 years ago
AzureMarker
e2a0e61742
Fix HashMap test referring to old thread builder
3 years ago
AzureMarker
e986a5a1da
Remove sysconf stub since it's now implemented in linker-fix
3 years ago
AzureMarker
a6b102f156
Update to use std threads
...
Yay! Deleting code is nice.
3 years ago