• Aucun résultat trouvé

SYSTEM CALLS IIIItIP " SI'SI'EItI tl.4US

Dans le document LITERATURE To (Page 77-81)

Nlltl£EIlS

JN~_

RQ$CR~ATI<:$JOB Creates an environment (job) within which related tasks run (memory pool limited to 1MB)

RQI<:$CRI<:AmSJOB Creates an environment (lob) within which related tasks run (memory pool up to 16 MB)

ROSDI<:LI<:TI<:$JOB Deletes a job .

ROSO~'f'SPRING Provides tokens uf the child jobs uf the

specified jobs .

ROI<:SOFFSPRING Provides a list of tokens for the child jubs of the specified job in a user supplied data structure

Returns the static priority or a lask Changes a task's priority Returns to the caller a token for the specified task

Increases a task's suspension depth by one; suspends the task if it Is not already suspended

Decreases a task's suspension depth by one; resumes the task if the suspensiun dcpth becomes zero Places the calling task In tbe asleep state for a specified amount or time

Owr the last decade. Intel has steadily improved the performaOl:ll and functlonalily of the iRMX operating systems, You can count nn continued improvements in the future.

Thr iRMX II software runs compatibly nn 80286 and 3B6~

microproet.'ss(lrs. and iRMX operating systems will run on future advanet.)d micrupnlcessurs from Intel. Owr die IIIIII"'r

~n &lie III!rr • ...aaee oIll!IId'. 8088 'MIlly tlIIlaepro.-n IU8I11c:re11eed 4""", When you're using the iRMX operating systems. you benefit frum these tremendous perfurmance impnJliements with iI high degree 01 real time application portability,

fJlJI'SI'.4NDING

I'EtlllNlfJtI£ SllrPOllI'

With IRMX II software you're not alone when you're developing a real time application, Intel has the best technical sales support In the real time business. If you run Into a snag; training, consulting, and design advice are availablt· close at hand.

/8,,~'"

_.Ier

""'uce--RQ$G~T$I<:XC~PTION$HANDLI<:R Returns the current values of the caller's exception handler ROSSI<:T$I<:XCI<:PTIONSIlANDLI<:R Sets exception handler and

exception mode attributes

"""IN"

RQSCR),;ATI<:SMAILBOX ""'~III Creates a mailbox which ran bold up ROSDI<:LI<:TI<:SMAILBOX

RQSSI<:NDSDATA

RQ(O;SR~CI<:IVgSDATA '

to 160 message.~

Deletes a mailhox Sends a message to a mailbox Allows the calling task to receive a message from· a mailbox; the task can optionally wait

RQ$SI<:ND$MI<:SSACI<: Sends an object to a mailbox RQSRI<:CI<:IVI<:SMI<:SSACI<: Allows the calling task to receive an

object; the task can optionally wait If . no Objt'ltS are present

'.errtIfIl

RQ$I<:NABLI<:

""'''"e-'

I<:nables an interrnpt level RQ$DISABL)'; Disables an interrupt level RQSSI<:TSINTI':RRUPT Assigns an interrupt handler and an

interrupt task to an interrupt level

RO$RI<:SI<:T$INT~:RRlIPT Deletes the interrupt task for an interrupt level

RQ$GET$LI<:VI<:L Returns the interrupt level or highest priority which an Interrupt handler has slarted but not completed RQSI<:ND$INITSTASK Informs root task that a synchronous

initialization process has completed RQSI<:NTI<:RSINTI<:RRUPT Sets up a data segment base address

for an Interrupt handler

SI'STEltI CALLS

11l!fl~ " SYSTEM IJII££S NIlIJl.EIlS

''''urrI''

".~", (eo.".lIefIj

RQ$SIGNAL$INTJ;RRUPT Used by interrupt handlers UJ invukr Interrupt tasks

RQ$)<;.XIT$INTJ;RRLJPT Used by interrupt handlers to send an end,o[,interrupt signal to hardware

RQ~:$TIMEJ)$INTJo:RRlIPT Puts Ihe c<llling interrllpt task til sleejluntil it is awakent'd hy an interrlll)!. handler, or a spt'Cined timt' Iwrim) elapses

R()$W .. \IT$INT~:~~lIPT Puts the railing inwrllpt Wsk to slet'jl until it is UIIUkt'IWd 11Y un intt'rrtlilt IlundltT

Se ... 1IIIorr 1tIa_~~.,

RI)$CRf:'\n:$S~:MAPIIOR~: en'11tt's a munting ,.'m11)1hor,' RI)$J)~:I.~:T~:$S~:~1.,\PIIOR~: IMt1t's a ,.'maphort' . RI)$S~;\,jD$IINITS Adds 11 slwciFie numl.'r of units 10

a st'maphurt'

RI)$K~;C~;I\ ~;$l NITS .\s's for a spt'eiFir numllt'r of 1I11lis from (l spmaphon.>

1fr«1e. MalNltlJe~.'

R!)$CRK'\m$R~:GIOI\ Creatt's a region R!)$Df:Lf:n;$Rf:GION flt>letes a rt'gion

RI)$S~;ND$CONTR()L Rt'linquishes ('ontr()1 lolhe nt"1 task

\loiling at the regioll R!)$:\(;C~:PT$CONTR()L Causes the railing task to accept

cuntrol from a re.gion if control is immediately availahle

R!)$Rr;C~:I\,E$CONTROL Causes the calling task to wait at tht' region unlil the task reeeives ('(Intml

Me_ry SeIJ~" aN Me_ry"'" ltIa.a~_, RQ$CREATE$SEGMENT Creates a memory segmt'llt RQ$DEL~TE$SEGM~NT Rrturns a segmem to the memory RQ$GET$SIZE Returns memory pt~ll aUrih"les of the caller's loh

Ret."rns information ahoul a joh with more t.han I megahytt' of memory

R(.)~:$CR~:ATf:$D~:SCRIPT()R Cr"atrs a deseripUlr in the Glohal Descriptor Tahle drscrihing a memory segmt'nt

~Q~:$DEI,~:T~:$D~:SCRIPTOR Removt's a descriptor t'ntry from tht' Glol,al IkstTiptor Talllt' RQE$eHANG~:$IJ~:SCRIPT()~ Changes thr physical add"rss or

Hizt' of a mt'mory ~wgrnl'nl hjt modifying its lit'''Tipto,' in Ihe (;Iollal Descriptor Talllt' KQ$eRr:!VI'~:$llln'~;R$I'()()L Estahlishes a huflt'r pool anti

<t'turns a token for' it RQ$D~:L~:Tr:SIWFmR$PO(JL Dt'lett's a huffer pool R<)$,,\TTI\CH$lllWF~:R$P[)OL Associates a huffer pool With one

or more ports

R<)$[Jr;TACIl$BUFFER$P()()L ~:nds the as,.,eiation hrtwt't'n a huffer pml anti a port RQSREQlIf:ST$Hl!f'FER Grts [l Ilufft'r Irom an ,'xisting

hulfer pool

RQ$RELI>ASE$lll1FFr:R Rrturns a buffer tu the specified hulfer p<Kll

MIl£TlPIlOIJESSIN6 SllrPOIlT-NIlIJl.EIlS IJOMMIlNIIJIITIONS SERJlIIJE

li0ii1'11_111 rerl ID ,4881«. _ _

~'orwards all mt'ssagrs rrcrivt'd at a port to. anuther port Entls mrssage forwartling R,~urlls tht' l~lSt III 01 tilt' hoard on whicll til<' task is running

~!)$C~:T$I'ORT$ATTRIIll!n:S Rt~urns informulitln UIKlUt how tilt' port is set up

I.ureea_ s,.ace

RO$Gr:T$INn:R<:ONN,;CT Kt'trit'vt's lilt' ('Olltt'(\ts "f the sp"t'illt,d illtel't'olln",'t r,'gislt'l'

~O$S~:T$IYn:RC:ONN~:CT AIWrs tht' mlltrnts 01 all intt'f'('olH1<'rt 1·t'~ISlt'['

RQ$BROADCAST Bro<Hh'asI.S a mntrol mt'ssagt' to aJllloarcJs

RRQ$Kr:C:EIV~:$~'RA(;M~:NT 1\('{X'pts a pan (fragmrnt) 01 a r"(jut'sl. (RSVPI data mt'ssag"

R,)$S~:ND$Kr:I'I,Y St'nt in response to thl' RQ$SEND$RSVP system call R,)$R~:Cr:IV~:$Rr:I'IX A,~~'pts a messagr that is a rt'ply

to an t'arlit'r rt'(jUt'Sl

R,)$S~:ND$Sj(;NAI, St'llds a signal (,Iatul"ss nH'ssagl') til 11 rt'moLt' port

RQ$R~:C~:IV~:$SIC;NAI. Rt't't'iv"s 11 signal from a rmlOte port

RQ$C()NN~:CT Cr"aWslcJ"It'tes a connt'ct.ion h"l.wt't'n th" st'nding I.ask ami u rt'lnOW Ilorl.

SYSTEM

~"LLS

OBJECT ORIENTED PROGRAMMING SfJPPORT 0111«1 MII.qe..e., calalogued namt' of an ollj(l['l Rrttlrns tht' arress Iype of an oiljert

Chang"s the aret'ss typt' of an oiljert

Rettlrns tht' physical ",Idress 01 an nhit>rl

Retul'ns thl' type {'otll' of ,nl oiljret

BUr.8". Ollleel MIINwe_r.,

Rt)$CREYI'E$f:\Tf:NSION e,ratt'S a llew I; po of ohjert RO$DfU:Tr;$r;XTENSION Dell't!'s the m'w tYl!t' oj' ohjl'l'l anll

all ill~lallres of that IYIW Inspect default prrflx Sl'1 default "SI'I' 1'01' joh Inspect offallit 115el'

~~Ill'I)dt's uSt:'t' pas~i\\(I['d

RO$\SPH\ SIC\L$\THCH$DI-:\·ICI-: \sy·nrhronou5 attarh dp\"ic'P

RC}$\$PH\ SIr,\L$OEHCH$OE\ICr: \s\nchronons ((PWch ((e;ice

R(,lS\$SPf:CI \1,

I'Ilr£e~rl ROS.\$CRK\TI-:$FILr:

ROS.\$CRKWf:$DI R Ee,1 JR\

ROS.\$DELETESFILE

\srnchronous !Iata fill' creation l,~;'nchron(Jus C'rt'alt' a directory .\::;ynl'hronous (it:,lt'lt' a dulH fill' or a directory

.. \synchronous attach file .. \synchronous cielt'te filt' conllt'ction

Asynchnmous chang«' a{'('t'~s rights to a file

:\synrhronllus rt'nHnlt' fiJI' Asynchronous truncate filt.' :\s;·nchronous open file .\sy·nchronous close file

\synrhronous rearl file 'synchronolls write file -\synrhronotls rnilVf rilr ptlinlc'l'

\synrhronous finish w riling to olltput (Iplirt'

Svnchl'onous wait fol' status after InpuliOulput

(;o_/t08/.e O"/ee. IfIIINwe..e ••

~1)$CRf:'Wf:$CO~II'OSITr: Creates a IIl'W Oiljl'!'t of a I; IW tiefim'tillY

R~I$CR~::Wf;$E'\TEN~IIJN RI,I$Ilr:I.~:n:SCmll'OSITI': Ilt'lett's a new oiljert of a tYllt'

tiefillt'tll"

RQSCRf:.\TE$EXTf:NSH J~

RI)$:\I:r(o;R$C()~II'OSln: Replan's t'Olllllllnents oj t'IIlllposilt' (Ihil'ets

RI)$IN~l'f:CT$CO~II'OSITr: Rt'tlll'l1s a list of the rtHnpoJlt'1I1 't,kl'ns "Ililtaill('ll in n l'ompositl' olllt't't

U/lClVlI.t: Sys'r .. ~'Ue.,do. MIIN~r.r ••

RI)E$Sf:T$OS$I,:\n:NSION ·\lIarllt's a IIs!'r written svstt'm ('[111 to tilt' ollt'rmlng systt'm . RI)$SICN.\L$K\CJo:I'TIO~ Signals tht' Offllrrt'llt"eOr an

1'\t'I'plioll to a user written system -('jIll 10 Iht' opt'r;)ling S~'slplll

Dr'r'''.

(;o.'I'O/,U".""r.e.,

Ri.l$IlIS·IIlI.ESIlEL~;TIII" ,lla,,'s all fllljt'rt illllllUlll' to ordinary dt'lt'tion

RI)$I':~·\IlI.E$IlEI.I';T10N "laht'S an olljt'rt sust't')llIhll' to onlillal'Y dt'lt'tion

RI,I$FllkC~;$IlI':I.I':T1': 1lt'It'lt'S ohjt'rts "ho,t' tii,alliing

dl'plh~ al'(' zt't'O 01' om'

RI)$!I$(;r:T$CI IN Nf:t :'1'11 IN$S'I"I'I'l'S 1,;lIrhl'olloOS gt't ronnt'Ction sta!llS KI)$ .. \$(;r:T$11IK~;CTi IK\ $r:NTK\ ·ISYlll'ill'lltlflUS inspt't't

din'l'!ol'; t'llIr, RI,l$\$(;r:T$FILI':$STSrl'S ·Isynrhronflus gt't hit'

slll 1 U!'t

kl)$\$(;f:T$PITII$CmIl'ONIWI' ·Isy·nchronous oiltain )lotll nall1t' from t'onlwction tok"n

liNer Ob/e€IS

KI,J$CRI'::\TI':$\'SI':R Cn'att' a IISt'I" ohjt'rt K()$IlEI.I':TI':$['Sr:R Ildt'tt' a IISt'1" oiJit't't RO$INSPECT$['SI':R (;t't Ills ill a IISt'1" IIhil'!'t Bx'r.8loa Billa

~1)$:\$Sr:TSE'\Tr:NSION$1l I'n .lsYII!'lmltlous ston' a filt's

!''\tension data

RI,l$·I$I:r:'I'$K\TI':NSHINSIl\T .. I IS;Ilt'lm,"olls n'cdle II file's t'\tt'llsion data

T1.r/B"'r

R(,I$Sf:nTIW': St't dalt'Ailllt' lalut' in illternally-slol'{'d fOl'lIIat

K(,I$m:T$'I'I~IE eet dall'ililllt' laille in illlel'tlally' ston'd fllnlH.ll

RI,l$Sr:TSI;LlIIlO\L$TI~Ir: St'ts tilt' iJattl'l'y llal'kt'd·up hm'tlwure .-Iork to a Slw!'ifteti time RI,l$(;~:T$(;Wfl.\I.$T1"lf: Ohtains tilt' tilllt' of day from thl'

lJattl'ry hil{,~I'(f'IIP hanlwart> clock fAIIlclll

'0

rllYNlaI' """reNH (;o."rl'H".

KI)$IlI()S$(;~:'I'$AIlIlR~:SS Kt'illl'tls the phys;ral arltll'l'", Ill' a St'lt'ClOr

SYSTEM f:ALLS

'"SIC 110 SfSFBItI

(co." ••

e4)

IIIIJU'IIIIJS" ..."".."" 1IIIIMIer,.". BS$GIo:TSI:'<ITIo:RCONNIo:CT Reads the specified interconnect

BSSSENO Send a message to a remote port r~.gister

BSSRIo:CIo:IVIo: Receives a data message

BSSSIo:NOSRSVP Sends a message to a remote port The bootstrap loader also inciudes 41 marro proredures for and requests a reply Initializing both MULTI BUS I and MULTIBUS II systems, BSSBROAOCAST Broadcasts a control meRl\llge 1.0 all

boards

BSSSETSINTERCON:'<IECT Writes to the specified InteI'ConlW't register

EXFBNDBD I/O SfSFBItI

~"...

RQ$CREATIo:$IO$.IOB CI'I'.ates an 1/0 job with a memory pool of up to 1 M bytes

RQESCREATESIOSJOB Creates an 110 joh with a memory pool of up to 16M bytes

RQSSTARTSIOSJOB Starts (makes ready) the initial task in an 110 lob

RQSEXITSIOSJOB sends a message to a mailbox and deletes the calling task.

, . " , . . ,

-RQSLOCICALSATTACHSOEVICE Creates and catalogs a logical name for a device ROSHYBRIDSOETACHSOEVICIo: Temporarily removes the correspondence between a logical name and a physical device established via LOGICALSATTACHSOJ<:VICE ROSLOGICALSDJ<:TACHSDEVICI!: Deletes a logical name

create(l with LOCICALS ATTACHSDI!:VICE RQSS$CATALOG$CONNJ<:CTION Creates a logical name for a

connection

ROSSSLOOKSUPSCONNI!:CTION Searches through an 110 job's object directories to find the connection associated with a logical name

ROSSSUNCATALOCSCONNJ<:CTION Deletes a logical name from the object directory of a joh SIaI_

RQ$GETSLOGICALSOJ<:VICJ<:SSTATUS Provides status information ahout logical devices

RQSSSGJ<:TSCONNJ<:CTIONSSTATlIS Provides status information ahout file anll device connections RQSSSGJ<:TSFILIo:SSTATUS Allows a task to obtain

information about a file IJ8er8

RO$GI!:TSUSI!:RSlDS Returns the user 1D as defined in the User Definition ~'ile

RQSVJ<:RWYSUSJ<:R ~rifjes a user's name and password

H.

RQSS$CREATI!:SOIRJ<:CTORY

Creates a new directory Creates a new physical, stream, or named data file

Delp,tes a stream, physical, or named file

Creates a conneclioll to an existing file

DelelE's a file conneclion, Opens a connection to a me Closes an open connection to a file

Reads a number of byies from H

filr to a buffer

Writes a collection of bytes from a buffer to a file

Mm'l's the file pointer Rl'moves informaLion from the rnd of a named data file Changes the access list for a named rile

Changes the path of a named

file .

, RO$S$SPJ<:CIAL Allows a task to perform functions that are lX'culiar tu a specific devlre

tlrrU€tlFION UMDB.

RQ$ASI.OAD Loads object rode or data into memory RQ$ASLOAO$IO$.IOB Creates an I/O job asynchronously with a memory pool of up tu I M bytes, loads tbe job's code, and causes the jub's task to run

ROJ<:SASLOAOSIOSJOB Cl'!'ates an 110 job asynchronously with a memory p(NII uf up to 16M bytes, and loads t~ job's code, and causes the

lub'K task to run .

ROSSSLOAD$IO$J()B CrealE'K an 110 lob synchronously with a memllry p(NII of up to 1 M bytes, loads the lob's code, and causes the lob's task

to run .

KI,lI!:SSSI.OAD$IOSJOB Creates an 110 lob synchronously with a memory puol uf liP to 16M bytes, loads ,the jub's code, and causes the lob's task

to run

RQ$SSOVJ<:RLAY Luads ari overlay into memory

Dans le document LITERATURE To (Page 77-81)