mpi.h
ubixos/types.h
ubixos/sched.h
src/sys/include/ubixfs/ubixfs.h
src/sys/kernel/syscall.c
src/sys/kernel/systemtask.c
src/sys/mpi/message.c
src/sys/mpi/system.c
sys/thread.h
ubixos/sched.h
ubixos/types.h
sys/_types.h
vfs/file.h
sys/tss.h
src/sys/include/mpi/mpi.h
vfs/mount.h
ubixfs/dirCache.h
ubixos/tty.h
src/sys/pci/hd.c
src/sys/mpi/message.c
src/sys/mpi/system.c
src/sys/ubixfs/directory.c
src/sys/kernel/systemtask.c
src/sys/ubixfs/block.c
src/sys/include/mpi/mpi.h
src/sys/ubixfs/dirCache.c
src/sys/ubixfs/ubixfs.c
src/sys/init/main.c
src/sys/include/ubixfs/ubixfs.h
src/sys/kernel/syscall.c
src/sys/include/pci/hd.h
src/sys/ubixfs/thread.c
src/sys/include/ubixos/init.h
mpi_mbox
mpi_message
MESSAGE_LENGTH
248
mpi_fetchMessage
mpi_postMessage
mpi_spam
mpi_mbox typedef struct mpi_mbox mpi_mbox_t mpi_mbox_t
mpi_message typedef struct mpi_message mpi_message_t mpi_message_t
int int mpi_createMbox (char *) mpi_createMbox char * _current taskStruct::id kmalloc mboxList mpi_findMbox mpiSpinLock mpi_mbox::name mpi_mbox::next mpi_mbox::pid mpi_mbox::prev spinLock spinUnlock sprintf sysMpiCreateMbox systemTask ubixfs_thread
int int mpi_destroyMbox (char *) mpi_destroyMbox char * _current taskStruct::id kfree mboxList mpiSpinLock mpi_mbox::name mpi_mbox::next mpi_mbox::pid mpi_mbox::prev spinLock spinUnlock strcmp sysMpiDestroyMbox
int int mpi_fetchMessage (char *, mpi_message_t *) mpi_fetchMessage char * mpi_message_t * _current mpi_message::data mpi_message::header taskStruct::id kfree memcpy MESSAGE_LENGTH mpi_findMbox mpiSpinLock mpi_mbox::msg mpi_message::next mpi_mbox::pid mpi_message::pid spinLock spinUnlock sysMpiFetchMessage systemTask ubixfs_thread
int int mpi_postMessage (char *, uInt32, mpi_message_t *) mpi_postMessage char * uInt32 mpi_message_t * _current mpi_message::data mpi_message::header taskStruct::id kmalloc memcpy MESSAGE_LENGTH mpi_findMbox mpiSpinLock mpi_mbox::msg mpi_mbox::msgLast mpi_message::next mpi_message::pid spinLock spinUnlock x1 sysMpiPostMessage
int int mpi_spam (uInt32, void *) mpi_spam uInt32 void * mpi_message::data mpi_message::header kmalloc mboxList memcpy MESSAGE_LENGTH mpiSpinLock mpi_mbox::msg mpi_mbox::msgLast mpi_mbox::next mpi_message::next spinLock spinUnlock sysMpiSpam

    /*****************************************************************************************
    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: mpi_8h.xml 88 2016-01-12 00:11:29Z reddawg $

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

    #ifndef_MPI_H
    #define_MPI_H

    #include<ubixos/types.h>
    #include<ubixos/sched.h>

    #defineMESSAGE_LENGTH248

    structmpi_message{
    chardata[MESSAGE_LENGTH];
    uInt32header;
    pidTypepid;
    structmpi_message*next;
    };

    structmpi_mbox{
    structmpi_mbox*next;
    structmpi_mbox*prev;
    structmpi_message*msg;
    structmpi_message*msgLast;
    charname[64];
    pidTypepid;
    };

    typedefstructmpi_mboxmpi_mbox_t;
    typedefstructmpi_messagempi_message_t;

    intmpi_createMbox(char*);
    intmpi_destroyMbox(char*);
    intmpi_postMessage(char*,uInt32,mpi_message_t*);
    intmpi_fetchMessage(char*,mpi_message_t*);
    intmpi_spam(uInt32,void*);

    #endif

    /***
    $Log: mpi_8h.xml,v $
    Revision 1.6  2006/12/19 14:12:52  reddawg
    rtld-elf almost workign

    Revision1.1.1.12006/06/0112:46:14reddawg
    ubix2

    Revision1.22005/10/1200:13:36reddawg
    Removed

    Revision1.1.1.12005/09/2617:23:42reddawg
    nomessage

    Revision1.82004/08/1411:23:02reddawg
    Changes

    Revision1.72004/05/2803:52:56reddawg
    mpi:tookafewsuggestionsfromTCA

    Revision1.62004/05/2518:33:11reddawg
    Wenowuse128bytemessagesIcanincreaselater

    Revision1.52004/05/2518:29:57reddawg
    Wenowlockontoapid

    Revision1.42004/05/2516:52:22reddawg
    WenowhavempiDestroyMbox(char*)Thiswillofcoursedestroyamailbox

    Revision1.32004/05/2516:28:21reddawg
    MadempiFindMbox()static

    Revision1.22004/05/2515:42:19reddawg
    EnabledmpiSpam();

    Revision1.12004/05/2514:07:01reddawg
    Sorrywecan'tforgettheheadersfiles

    END
    ***/