Commit Graph

9 Commits

Author SHA1 Message Date
Lioncash
1938ef074f svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo()
So, one thing that's puzzled me is why the kernel seemed to *not* use
the direct code address ranges in some cases for some service functions.
For example, in svcMapMemory, the full address space width is compared
against for validity, but for svcMapSharedMemory, it compares against
0xFFE00000, 0xFF8000000, and 0x7FF8000000 as upper bounds, and uses
either 0x200000 or 0x8000000 as the lower-bounds as the beginning of the
compared range. Coincidentally, these exact same values are also used in
svcGetInfo, and also when initializing the user address space, so this
is actually retrieving the ASLR extents, not the extents of the address
space in general.
2018-10-14 20:11:16 -04:00
greggameplayer
a40ef8d939 Add & correct miscellaneous things (#470)
* add some InfoType

* correct OpenApplicationProxy cmd number

* add IDisplayController functions

* fix clang-format

* add more system languages
2018-05-25 22:31:54 -04:00
bunnei
a41808bab4 svc: Add additional fields to MemoryInfo struct. 2018-01-18 23:37:54 -05:00
Subv
1080d28d0f SVC: Add 4.0.0+ comment to GetInfoType enum values. 2018-01-16 18:44:39 -05:00
David Marcec
e9101d4a69 Added more svcGetInfo pairs 2018-01-16 14:06:45 -08:00
bunnei
17cc648277 yuzu: Update license text to be consistent across project. 2018-01-13 16:22:39 -05:00
Subv
8dee2cc16e Threads: Added enum values for the Switch's 4 cpu cores and implemented svcGetInfo(AllowedCpuIdBitmask) 2018-01-10 01:01:55 -05:00
bunnei
3874af4b6e kernel: Rename Semaphore to ConditionVariable. 2018-01-08 21:41:37 -05:00
bunnei
00ce1a65f6 hle: Move SVC code to kernel namespace. 2018-01-02 20:40:30 -05:00