mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-18 16:32:05 +00:00
kern: fix some comment typos
This commit is contained in:
parent
afc0e14556
commit
872c18c501
3 changed files with 4 additions and 4 deletions
|
@ -358,7 +358,7 @@ namespace ams::kern {
|
||||||
void Detach() {
|
void Detach() {
|
||||||
/* Close our object, if we have one. */
|
/* Close our object, if we have one. */
|
||||||
if (T * const object = m_object; AMS_LIKELY(object != nullptr)) {
|
if (T * const object = m_object; AMS_LIKELY(object != nullptr)) {
|
||||||
/* Set our object to a debug sentinel value, which will cause crash if accessed. */
|
/* Set our object to a debug sentinel value, which will cause a crash if accessed. */
|
||||||
m_object = reinterpret_cast<T *>(1);
|
m_object = reinterpret_cast<T *>(1);
|
||||||
|
|
||||||
/* Close reference to our object. */
|
/* Close reference to our object. */
|
||||||
|
|
|
@ -365,7 +365,7 @@ namespace ams::kern::arch::arm64 {
|
||||||
value = 0;
|
value = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set the watchkpoint. */
|
/* Set the watchpoint. */
|
||||||
switch (name) {
|
switch (name) {
|
||||||
case ams::svc::HardwareBreakPointRegisterName_D0: MESOSPHERE_SET_HW_WATCH_POINT( 0, flags, value); break;
|
case ams::svc::HardwareBreakPointRegisterName_D0: MESOSPHERE_SET_HW_WATCH_POINT( 0, flags, value); break;
|
||||||
case ams::svc::HardwareBreakPointRegisterName_D1: MESOSPHERE_SET_HW_WATCH_POINT( 1, flags, value); break;
|
case ams::svc::HardwareBreakPointRegisterName_D1: MESOSPHERE_SET_HW_WATCH_POINT( 1, flags, value); break;
|
||||||
|
|
|
@ -467,7 +467,7 @@ namespace ams::kern {
|
||||||
void KProcess::Exit() {
|
void KProcess::Exit() {
|
||||||
MESOSPHERE_ASSERT_THIS();
|
MESOSPHERE_ASSERT_THIS();
|
||||||
|
|
||||||
/* Determine whether we need to start terminating */
|
/* Determine whether we need to start terminating. */
|
||||||
bool needs_terminate = false;
|
bool needs_terminate = false;
|
||||||
{
|
{
|
||||||
KScopedLightLock lk(m_state_lock);
|
KScopedLightLock lk(m_state_lock);
|
||||||
|
|
Loading…
Reference in a new issue