[Top] [All Lists]

r2300_switch.S and traps.c

To: "LinuxEmbeddedMailList" <>, "MipsMailList" <>
Subject: r2300_switch.S and traps.c
From: "Greeen-III" <>
Date: Wed, 21 Mar 2001 16:59:17 +0800
Hi all,
I am in the pthread problem.
I guess the reason is context switch.
So I trace the code /arch/mips/kernel/traps.c and /arch/mips/kernel/r2300_switch.S.
I have some question want to ask you.
1. What condition the kernel will simulate the instruction "ll" and "sc"?  (In the traps.c)
2. What is the functional of the variable "ll_bit" ? (In the traps.c)
3. What situation does kernel call the resune ? (In the r2300_switch.S)
4. The traps.c is initialize IDT( interrupt descripter table ), Right?
<Prev in Thread] Current Thread [Next in Thread>