mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 06:25:20 -04:00
kern: clean up majority of TODOs
This commit is contained in:
parent
bea550ebce
commit
e1f3bb10a5
30 changed files with 112 additions and 85 deletions
|
@ -222,8 +222,6 @@ namespace ams::kern::arch::arm64 {
|
|||
const s32 num_interrupts = std::min(32 + 32 * (this->gicd->typer & 0x1F), static_cast<u32>(NumInterrupts));
|
||||
return (0 <= irq && irq < num_interrupts);
|
||||
}
|
||||
|
||||
/* TODO: Implement more KInterruptController functionality. */
|
||||
public:
|
||||
static constexpr ALWAYS_INLINE bool IsSoftware(s32 id) {
|
||||
MESOSPHERE_ASSERT(0 <= id && id < NumInterrupts);
|
||||
|
|
|
@ -266,7 +266,6 @@ namespace ams::kern::arch::arm64 {
|
|||
u32 GetAllocateOption() const { return this->page_table.GetAllocateOption(); }
|
||||
|
||||
KPhysicalAddress GetHeapPhysicalAddress(KVirtualAddress address) const {
|
||||
/* TODO: Better way to convert address type? */
|
||||
return this->page_table.GetHeapPhysicalAddress(address);
|
||||
}
|
||||
|
||||
|
|
|
@ -75,8 +75,8 @@ namespace ams::kern::arch::arm64 {
|
|||
void CloneFpuStatus();
|
||||
|
||||
const u128 *GetFpuRegisters() const { return this->fpu_registers; }
|
||||
|
||||
/* TODO: More methods (especially FPU management) */
|
||||
public:
|
||||
static void OnThreadTerminating(const KThread *thread);
|
||||
};
|
||||
|
||||
void GetUserContext(ams::svc::ThreadContext *out, const KThread *thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue