Lioncash
ec7319a5de
kernel/vm_manager: Use const where applicable
Makes our immutable state explicit.
8 years ago
Lioncash
26e2e7b657
kernel/vm_manager: Use the VAddr type alias in CarveVMA()
These two variables correspond to address ranges.
8 years ago
Lioncash
fa173d1874
kernel/thread: Make GetFreeThreadLocalSlot()'s loop indices size_t
Avoids using a u32 to compare against a range of size_t, which can be a
source of warnings. While we're at it, compress a std::tie into a
structured binding.
8 years ago
Lioncash
12afa56830
kernel/thread: Make GetFreeThreadLocalSlot() reference parameter a const reference
This function only reads the data being referenced, it doesn't modify
it, so we can turn the reference into a const reference.
8 years ago
Lioncash
16c5f5fe1b
kernel/thread: Make GetFreeThreadLocalSlot() internally linked
This function isn't used outside of this translation unit, so we can
make it internally linked.
8 years ago
Lioncash
6ac24e4e5a
service: Add migration services
Adds the basic skeleton for the mig:usr service based off information
provided by Switch Brew.
8 years ago
Lioncash
38c2af9330
kernel: Move object class to its own source files
General moving to keep kernel object types separate from the direct
kernel code. Also essentially a preliminary cleanup before eliminating
global kernel state in the kernel code.
8 years ago
Lioncash
4d9067936c
service: Add psc services
Adds the basic skeleton for the psc services based off the information
provided by Switch Brew.
8 years ago
Lioncash
a155fe49dd
service/ns: Add missing ns services
Implements the basic skeleton of ns:am2, ns:ec, ns:rid, ns:rt, ns:su,
ns:vm, and ns:web based off the information provided by Switch Brew and
SwIPC.
8 years ago
Lioncash
732fe76a41
lm: Amend name of ILogger
Previously this was being registered with the name "Logger". While we're
at it, also change the name of the class to match it.
8 years ago
Lioncash
1d3dfe7e22
service/filesystem: Add fsp:ldr and fsp:pr services
Adds the basic skeleton for the remaining fsp services based off
information provided by Switch Brew.
8 years ago
Lioncash
a267a3cc08
service: Add capture services
Adds the basic skeleton for the capture services based off information
provided by Switch Brew.
8 years ago
Lioncash
2635578300
service: Add bpc and pcv services
Adds the basic skeleton for the remaining pcv-related services based off
information on Switch Brew.
8 years ago
Lioncash
682836d539
kernel/thread: Remove unimplemented function prototype
Given there's no implementation, we may as well remove the code
entirely.
8 years ago
Lioncash
c3deab1f6e
service/audio: Add missing services
Adds the missing audctl service, as well as the :a and :d services for
audin, audout, audrec, and audren.
8 years ago
Lioncash
ea4e7b7fc5
kernel: Remove unused object_address_table.cpp/.h
These source files were entirely unused throughout the rest of the
codebase. This also has the benefit of getting rid of a global variable
as well.
8 years ago
Lioncash
a87d3a4c42
audout_u: Remove std::move in OpenAudioOutImpl()
Previously the code was using the values from params further below after
it was std::moved. Thankfully, given AudoutParams is a trivially
copyable struct, the values would have simply been copied in this
instance and not invalidated to garbage values.
8 years ago
Lioncash
3d2d454c36
kernel: Remove unnecessary includes
Removes unnecessary direct dependencies in some headers and also gets
rid of indirect dependencies that were being relied on to be included.
8 years ago
Lioncash
00ce1994f3
service/am: Add missing am services
Adds the basic skeleton for missing am services idle:sys, omm, and spsm
based off the information provided by Switch Brew.
8 years ago
Lioncash
bdeda001bc
service: Add fgm services
Adds the basic skeleton for the fgm services based off the information
provided by Switch Brew.
8 years ago
Lioncash
e136d94655
service: Add the pcie service
Adds the basic skeleton of the pcie service based off information on
Switch Brew.
8 years ago
Subv
253cd9b5b9
nvhost_gpu: Added checks to ensure we don't read past the end of the entries when handling a GPU command list.
8 years ago
Subv
48df583947
nvhost_ctrl_gpu: Only read the input parameters if they are actually there.
Passing nullptr to memcpy is undefined behavior.
8 years ago
bunnei
fe039386fc
audio_core: Move to audout_u impl.
- This is necessary so streams are created on the same thread.
8 years ago
David
42f8eef8b3
Implemented various hwopus functions ( #853 )
8 years ago
Hexagon12
0c5691e8b4
Add some HID commands ( #843 )
* Added some HID commands
* Addressed comments
8 years ago
Lioncash
cbefbc3c60
service: Add wlan services
Adds the basic skeleton for the wlan services based off the information
on Switch Brew.
8 years ago
Lioncash
2c2461f0e1
service/btm: Add basic implementation of GetCoreImpl()
Based off information on SwIPC and Switch Brew.
8 years ago
Lioncash
82ef74be0b
service: Add btm services
Adds the skeleton for the btm services based off the information on
Switch Brew.
8 years ago
bunnei
3d978dfa4d
audout: Implement IAudioOut interface with AudioCore.
8 years ago
Lioncash
db0eb8968d
service: Add ncm services
Adds the basic skeleton for the ncm services based off information on
Switch Brew.
8 years ago
Lioncash
3d1b71b0a8
service: Add mii services
Adds the skeleton for the mii services based off information provided by
Switch Brew
8 years ago
Lioncash
55d1bcc26b
service/nfc: Implement Create[x]Interface functions
These simply return the respective interface.
8 years ago
Lioncash
171f57b364
service: Add nfc services
Adds the skeleton of the nfc service based off the information provided
on Switch Brew.
8 years ago
Lioncash
995ca4edd0
service/lbl: Implement EnableVrMode, DisableVrMode and GetVrMode
Implements these functions according to the information available on
Switch Brew.
8 years ago
Lioncash
3f4c2ceab2
service: Add the lbl service
Adds the skeleton of the lbl service based off the information provided
by Switch Brew.
8 years ago
Lioncash
9a6bc1e8c9
service: Add the btdrv service
Adds the skeleton for the btdrv service based off the information provided by Switch Brew
8 years ago
Lioncash
b3e0f46ee6
service/hid: Add the hidbus, hid:dbg, hid:sys, and hid:tmp services
8 years ago
Lioncash
3d37adc01f
service/hid: Add the xcd:sys service
8 years ago
Lioncash
8724896db5
service/hid: Add irs services
8 years ago
Lioncash
ad74c3c324
service: Add the grc:c service
Adds the basic skeleton for the grc:c service based off the information
provided by Switch Brew.
8 years ago
Lioncash
9f7550d027
kernel/timer: Make data members private where applicable
Instead, we can just expose functions that return the queryable state
instead of letting anything modify it.
8 years ago
Lioncash
1c50f01de8
service: Add the nim services
Adds the skeleton for the nim services based off information from Switch
Brew.
8 years ago
Lioncash
6116b53dfb
service: Add ldn services
Adds ldn services based off information provided by Switch Brew.
8 years ago
Lioncash
961ee4e3ea
service/sockets: Add ethc:c and ethc:i services
8 years ago
Lioncash
8827701e2a
service/sockets: Add missing bsdcfg socket service
8 years ago
Lioncash
fe262212e1
service: Add ldr services
Adds the skeleton for the ldr-related services based off the information
provided on Switch Brew.
8 years ago
Lioncash
6570f0cd5c
lm: Move LM's class declaration into the cpp file
This isn't used directly outside of this translation unit, so we can
hide it from external use.
8 years ago
Lioncash
24db60566b
lm: Amend names of Initialize() in Logger and Initialize() in LM
Amends these to match the information on Switch Brew.
8 years ago
Lioncash
a35847e520
lm: Add missing function entry to Logger's function table
8 years ago