This website requires JavaScript.
Explore
Help
Sign in
sanchayanmaity
/
xv6-cs450
Watch
1
Star
0
Fork
You've already forked xv6-cs450
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
b52151e032
xv6-cs450
/
spinlock.h
8 lines
91 B
C
Raw
Normal View
History
Unescape
Escape
cvs add spinlock.h fix race in schedule()
2006-07-12 11:10:25 +02:00
struct
spinlock
{
interrupts could be recursive since lapic_eoi() called before rti so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
2006-08-11 00:08:14 +02:00
uint
magic
;
open()
2006-07-29 11:35:02 +02:00
char
*
name
;
add uint and standardize on typedefs instead of unsigned
2006-07-17 03:52:13 +02:00
uint
locked
;
add ide_lock for sleep
2006-07-17 07:00:25 +02:00
int
cpu
;
interrupts could be recursive since lapic_eoi() called before rti so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
2006-08-11 00:08:14 +02:00
uint
pcs
[
10
]
;
cvs add spinlock.h fix race in schedule()
2006-07-12 11:10:25 +02:00
}
;
Reference in a new issue
Copy permalink