spinlock.h
ubixos/types.h
src/sys/devfs/devfs.c
src/sys/isa/atkbd.c
src/sys/isa/fdc.c
src/sys/isa/ne2k.c
src/sys/kernel/sched.c
src/sys/kernel/smp.c
src/sys/kernel/spinlock.c
src/sys/kernel/syscall_new.c
src/sys/kernel/tty.c
src/sys/kernel/ubthread.c
src/sys/kmods/kmod.c
src/sys/lib/kmalloc.c
src/sys/mpi/system.c
src/sys/sys/device.c
src/sys/sys/video.c
src/sys/ubixfs/dirCache.c
src/sys/vfs/file.c
src/sys/vmm/copyvirtualspace.c
src/sys/vmm/getfreepage.c
src/sys/vmm/getfreevirtualpage.c
src/sys/vmm/pagefault.c
src/sys/vmm/paging.c
src/sys/vmm/vmm_memory.c
src/sys/include/ubixos/spinlock.h
ubixos/types.h
sys/_types.h
src/sys/include/ubixos/spinlock.h
src/sys/kernel/tty.c
src/sys/kmods/kmod.c
src/sys/mpi/system.c
src/sys/lib/kmalloc.c
src/sys/vmm/paging.c
src/sys/kernel/ubthread.c
src/sys/kernel/sched.c
src/sys/ubixfs/dirCache.c
src/sys/sys/video.c
src/sys/sys/device.c
src/sys/isa/ne2k.c
src/sys/isa/atkbd.c
src/sys/vmm/pagefault.c
src/sys/devfs/devfs.c
src/sys/kernel/smp.c
src/sys/vmm/vmm_memory.c
src/sys/kernel/spinlock.c
src/sys/vfs/file.c
src/sys/vmm/getfreepage.c
src/sys/kernel/syscall_new.c
src/sys/isa/fdc.c
src/sys/vmm/getfreevirtualpage.c
src/sys/vmm/copyvirtualspace.c
SPIN_LOCK_INITIALIZER
0
spinLockInit
int typedef volatile int spinLock_t spinLock_t
void void spinLock (spinLock_t *) spinLock spinLock_t * sched_yield spinTryLock adjustCowCounter cpuInfo devfs_makeNode devfs_open device_add device_find device_remove fclose fdcRead fopen freePage getEmptyDesc kernel_function kfree kmalloc mpi_createMbox mpi_destroyMbox mpi_fetchMessage mpi_postMessage mpi_spam ne2kAllocBuffer schedNewTask smpInit tty_print ubixfs_cacheAdd ubixfs_cacheFind vmm_getFreeMallocPage vmm_pageFault vmm_remapPage vmmCopyVirtualSpace vmmFindFreePage vmmFreeProcessPages vmmGetFreeKernelPage vmmGetFreePage vmmGetFreeVirtualPage
void void spinLock_scheduler (spinLock_t *) spinLock_scheduler spinLock_t * spinTryLock
void void spinLockInit (spinLock_t *) spinLockInit spinLock_t * SPIN_LOCK_INITIALIZER
int int spinLockLocked (spinLock_t *) spinLockLocked spinLock_t * c_ap_boot
int int spinTryLock (spinLock_t *) spinTryLock spinLock_t * keyboardHandler sched spinLock spinLock_scheduler
void void spinUnlock (spinLock_t *) spinUnlock spinLock_t * adjustCowCounter cpuInfo devfs_makeNode devfs_open device_add device_find device_remove fclose fdcRead fopen freePage getEmptyDesc kernel_function keyboardHandler kfree kmalloc mpi_createMbox mpi_destroyMbox mpi_fetchMessage mpi_postMessage mpi_spam ne2kAllocBuffer schedNewTask smpInit tty_print ubixfs_cacheAdd ubixfs_cacheFind vmm_getFreeMallocPage vmm_pageFault vmm_remapPage vmmCopyVirtualSpace vmmFindFreePage vmmFreeProcessPages vmmGetFreeKernelPage vmmGetFreePage vmmGetFreeVirtualPage
spinLock_t spinLock_t Master Master

    /*****************************************************************************************
    Copyright(c)2002-2004TheUbixOSProject
    Allrightsreserved.

    Redistributionanduseinsourceandbinaryforms,withorwithoutmodification,are
    permittedprovidedthatthefollowingconditionsaremet:

    Redistributionsofsourcecodemustretaintheabovecopyrightnotice,thislistof
    conditions,thefollowingdisclaimerandthelistofauthors.Redistributionsinbinary
    formmustreproducetheabovecopyrightnotice,thislistofconditions,thefollowing
    disclaimerandthelistofauthorsinthedocumentationand/orothermaterialsprovided
    withthedistribution.NeitherthenameoftheUbixOSProjectnorthenamesofits
    contributorsmaybeusedtoendorseorpromoteproductsderivedfromthissoftware
    withoutspecificpriorwrittenpermission.

    THISSOFTWAREISPROVIDEDBYTHECOPYRIGHTHOLDERSANDCONTRIBUTORS"ASIS"ANDANY
    EXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THEIMPLIEDWARRANTIESOF
    MERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSEAREDISCLAIMED.INNOEVENTSHALL
    THECOPYRIGHTOWNERORCONTRIBUTORSBELIABLEFORANYDIRECT,INDIRECT,INCIDENTAL,
    SPECIAL,EXEMPLARY,ORCONSEQUENTIALDAMAGES(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENT
    OFSUBSTITUTEGOODSORSERVICES;LOSSOFUSE,DATA,ORPROFITS;ORBUSINESSINTERRUPTION)
    HOWEVERCAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT,STRICTLIABILITY,OR
    TORT(INCLUDINGNEGLIGENCEOROTHERWISE)ARISINGINANYWAYOUTOFTHEUSEOFTHIS
    SOFTWARE,EVENIFADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGE.

    $Id: spinlock_8h.xml 88 2016-01-12 00:11:29Z reddawg $

    *****************************************************************************************/

    #ifndef_SPINLOCK_H
    #define_SPINLOCK_H

    #include<ubixos/types.h>

    #defineSPIN_LOCK_INITIALIZER0

    typedefvolatileintspinLock_t;

    externspinLock_tMaster;

    voidspinLockInit(spinLock_t*);
    voidspinUnlock(spinLock_t*);
    intspinTryLock(spinLock_t*);
    voidspinLock(spinLock_t*);

    voidspinLock_scheduler(spinLock_t*);/*Onlyusethisspinlockinthesched.*/

    intspinLockLocked(spinLock_t*);

    #endif

    /***
    END
    ***/