aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2017-09-25Merge pull request #2948 from Subv/register_serviceB3n30
HLE/SRV: Implemented RegisterService.
2017-09-25Services/UDS: Added a function to send EAPoL-Start packets (#2920)B3n30
* Services/UDS: Added a function to generate the EAPoL-Start packet body. * Services/UDS: Added filter for beacons. * Services/UDS: Lock a mutex when accessing connection_status from both the emulation and network thread. * Services/UDS: Handle the Association Response frame and respond with the EAPoL-Start frame. * fixup: make use of current_node, changed received_beacons into a list, mutex and assert corrections * fixup: fix damn clang-format
2017-09-24memory: Add GetCurrentPageTable/SetCurrentPageTableMerryMage
Don't expose Memory::current_page_table as a global.
2017-09-24HLE/APT: Always return an error from PrepareToStartNewestHomeMenu so that ↵Subv
the Home Menu doesn't try to reboot the system. As per 3dbrew: "During Home Menu start-up it uses APT:PrepareToStartNewestHomeMenu. If that doesn't return an error(normally NS returns 0xC8A0CFFC for that), Home Menu starts a hardware reboot with APT:StartNewestHomeMenu etc. "
2017-09-24HLE/APT: Prepare the APT Wakeup parameter when the game calls InitializeSubv
We need to know what is being run so we can set the APT parameter destination AppId correctly. Delaying the preparation of the parameter until we know which AppId is running lets us support booting both the Home Menu and normal game Applications.
2017-09-24HLE/SRV: Implemented RegisterService.Subv
Now system modules can do more than just crash immediately on startup.
2017-09-16Merge pull request #2906 from Subv/ns_new_frameworkYuri Kunde Schlesner
Services/NS: Port ns:s to the new service framework.
2017-09-16Services/NS: Port ns:s to the new service framework.Subv
2017-09-15Merge pull request #2842 from Subv/switchable_page_tableB3n30
Kernel/Memory: Give each process its own page table and allow switching the current page table upon reschedule
2017-09-15Kernel/Threads: Don't clear the CPU instruction cache when performing a ↵Subv
context switch from an idle thread into a thread in the same process. We were unnecessarily clearing the cache when going from Process A -> Idle -> Process A, this caused extreme performance regressions.
2017-09-15Kernel/Memory: Changed GetPhysicalPointer so that it doesn't go through the ↵Subv
current process' page table to obtain a pointer.
2017-09-11Merge pull request #2915 from wwylele/font-archive-2bunnei
APT: load different shared font depending on the region
2017-09-10Kernel/Memory: Switch the current page table when a new process is scheduled.Subv
2017-09-10Kernel/Memory: Give each Process its own page table.Subv
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
2017-09-05Merge pull request #2831 from Subv/uds_authWeiyi Wang
Services/UDS: Handle beacon frames and the basic AP connection sequence frames.
2017-09-04Remove _flag in var namesmailwl
2017-09-04Mii Selector Applet: update Mii structuresmailwl
2017-09-03APT: load different shared font depending on the regionwwylele
2017-08-29Merge pull request #2899 from wwylele/touch-refactorbunnei
Refactor touch input into a TouchDevice
2017-08-29Use recursive_mutex instead of mutex to fix #2902danzel
2017-08-27Services/UDS: Remove an old duplicated declaration of WifiPacket.Subv
2017-08-27Services/UDS: Handle the connection sequence packets.Subv
There is currently no stage tracking, a client is considered "Connected" when it receives the EAPoL Logoff packet from the server, this is not yet implemented.
2017-08-27Services/UDS: Store the received beacon frames until RecvBeaconBroadcastData ↵Subv
is called, up to 15 beacons at the same time, removing any older beacon frames when the limit is exceeded.
2017-08-27Services/UDS: Add functions to generate 802.11 auth and assoc response frames.Subv
2017-08-24HID: use TouchDevice for touch padwwylele
2017-08-23Merge pull request #2839 from Subv/global_kernel_lockJames Rowe
Kernel/HLE: Use a mutex to synchronize access to the HLE kernel state between the cpu thread and any other possible threads that might touch the kernel (network thread, etc).
2017-08-22Merge pull request #2893 from Subv/not_schedule_main_threadbunnei
Kernel/Threads: Don't immediately switch to the new main thread when loading a new process.
2017-08-22Kernel/HLE: Use a mutex to synchronize access to the HLE kernel state ↵Subv
between the cpu thread and any other possible threads that might touch the kernel (network thread, etc). This mutex is acquired in SVC::CallSVC, ie, as soon as the guest application enters the HLE kernel, and should be acquired by the aforementioned threads before modifying kernel structures.
2017-08-21Kernel/Threads: Don't immediately switch to the new main thread when loading ↵Subv
a new process. This is necessary for loading multiple processes at the same time. The main thread will be automatically scheduled when necessary once the scheduler runs.
2017-08-21Warnings: Add UNREACHABLE macros to switches that contemplate all possible ↵Subv
values.
2017-08-21HLE/Applets: Fixed some conversion warnings when creating the framebuffer ↵Subv
shared memory objects.
2017-08-19Merge pull request #2861 from wwylele/motion-refactorJames Rowe
Refactor MotionEmu into a InputDevice
2017-08-20HID: fix a comment and a warningwwylele
2017-08-15Merge pull request #2881 from MerryMage/dsp-firm-checkYuri Kunde Schlesner
dsp_dsp: Remove size assertion in LoadComponent
2017-08-15dsp_dsp: Remove size assertion in LoadComponentMerryMage
2017-08-12Merge pull request #2843 from Subv/applet_slotsSebastian Valle
Services/APT: Use an array to hold data about the 4 possible concurrent applet types (Application, Library, HomeMenu, System)
2017-08-11HID: use MotionDevice for Accelerometer and Gyroscopewwylele
2017-08-10Merge pull request #2863 from wwylele/pad-state-zeroWeiyi Wang
HID: zero unused PadState bits
2017-08-10HID: zero unused PadState bitswwylele
2017-08-09Merge pull request #2862 from j-selby/update-cryptoppbunnei
Update CryptoPP (byte ambiguity)
2017-08-09Service/dlp: Update function tables according 3dbrewmailwl
2017-08-08Update cryptoppJames
2017-08-07Services/APT: Use the AppletAttributes union directly when dealing with ↵Subv
applet attrs.
2017-08-07Services/APT: Use an array to hold data about the 4 possible concurrent ↵Subv
applet types (Application, Library, HomeMenu, System). This gives each applet type its own set of events as per the real NS module.
2017-08-03telemetry: Add field for RequiresSharedFont.bunnei
2017-07-27Merge pull request #2840 from Subv/apt_parameterbunnei
Services/APT: Corrected the behavior of the Receive/Send/Glance/CancelParameter functions
2017-07-22Merge pull request #2799 from yuriks/virtual-cached-range-flushWeiyi Wang
Add address conversion functions returning optional, Add function to flush virtual region from rasterizer cache
2017-07-21Service/APT: Log Send/Cancel/Receive/GlanceParameter calls even if they ↵Subv
return an error.
2017-07-21Services/APT: Return the proper error code when calling SendParameter with ↵Subv
an outstanding parameter already in memory.
2017-07-21Services/APT: Reset the APT parameter inside CancelParameter if the ↵Subv
conditions are met.