Changed spinlock mechananisim
authorJohn Hodge <[email protected]>
Sun, 22 Aug 2010 02:25:26 +0000 (10:25 +0800)
committerJohn Hodge <[email protected]>
Sun, 22 Aug 2010 02:25:26 +0000 (10:25 +0800)
commit7d881c2e5fef91a6570e46ef69a5d4a5cf0e8b4d
tree5529cda9c6a26b519fb514f10427a3dd1c5d3687
parent73e8ed89c011abce9b0ae2c5a3eb232bdbe8660e
Changed spinlock mechananisim
- LOCK, TIGHTLOCK and VTIGHTLOCK have been removed
- Replaced by SHORTLOCK and Mutex_Acquire
 > SHORTLOCK disables interrupts and busy polls the lock waiting for other CPUs
 > Mutex_Acquire puts the thread to sleep if the lock is in use, and is given the
   lock when woken.
32 files changed:
Kernel/Makefile
Kernel/arch/x86/include/arch.h
Kernel/arch/x86/mm_phys.c
Kernel/arch/x86/mm_virt.c
Kernel/arch/x86/proc.c
Kernel/arch/x86/vm8086.c
Kernel/arch/x86_64/link.ld
Kernel/binary.c
Kernel/drv/iocache.c
Kernel/heap.c
Kernel/include/acess.h
Kernel/include/threads.h
Kernel/logging.c
Kernel/messages.c
Kernel/modules.c
Kernel/threads.c
Kernel/vfs/fs/devfs.c
Kernel/vfs/main.c
Kernel/vfs/mount.c
Kernel/vfs/nodecache.c
Makefile.cfg
Modules/Display/VESA/main.c
Modules/Filesystems/FAT/fat.c
Modules/Filesystems/FAT/fs_fat.h
Modules/IPStack/arp.c
Modules/IPStack/main.c
Modules/IPStack/tcp.c
Modules/IPStack/tcp.h
Modules/IPStack/udp.c
Modules/IPStack/udp.h
Modules/Storage/ATA/io.c
Modules/Storage/FDD/fdd.c

UCC git Repository :: git.ucc.asn.au