Skip to content

Commit

Permalink
PR review cleanup
Browse files Browse the repository at this point in the history
Co-authored-by: Tharo <[email protected]>
  • Loading branch information
hensldm and Thar0 committed Jun 21, 2024
1 parent 42496a0 commit 0fcd9ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/os/exceptasm.s
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ STAY2(mtc0 k1, C0_SR)
sd $10, THREAD_GP10(k0)
/* Mark FPU as unused */
sw zero, THREAD_FP(k0)
/* this instruction is useless, leftover because of bad placement of an ifdef for the debug version */
/* This instruction is useless, leftover because of bad placement of an ifdef for the debug version */
STAY2(mfc0 t0, C0_CAUSE)
#ifndef _FINALROM
lw t2, __kmc_pt_mode
Expand Down Expand Up @@ -818,8 +818,8 @@ pi:
/**
* Display Processor (DP) Interrupt
*/
/* Test for dp interrupt */
dp:
/* Test for dp interrupt */
andi t1, s1, MI_INTR_DP
beqz t1, NoMoreRcpInts

Expand Down
2 changes: 1 addition & 1 deletion src/os/probetlb.s
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ LEAF(__osProbeTLB)
nop
/* Calculate page size = (page mask + 0x2000) >> 1 */
mfc0 t3, C0_PAGEMASK
addi t3, t3, DCACHE_SIZE
addi t3, t3, 0x2000
srl t3, t3, 0x1
/* & with vaddr */
and ta0, t3, a0
Expand Down

0 comments on commit 0fcd9ec

Please sign in to comment.