12.07.2015 Views

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MICROSEQ (9) <strong>NetBSD</strong> <strong>Kernel</strong> Developer’s <strong>Manual</strong> MICROSEQ (9)3 SELECTIN inverted and driven asparallel port nSelectin signal2 nINIT driven asparallel port nInit signal1 AUTOFEED inverted and driven asparallel port nAutoFd signal0 STROBE inverted and driven asparallel port nStrobe signalMICROINSTRUCTIONSDescriptionMicroinstructions are either parallel port accesses, program iterations, submicrosequence or C calls. Theparallel port must be considered as the logical model described in ppbus(4).Av ailable microinstructions are:#define MS_OP_GET 0 /∗ get , ∗/#define MS_OP_PUT 1 /∗ put , ∗/#define MS_OP_RFETCH 2 /∗ rfetch , , ∗/#define MS_OP_RSET 3 /∗ rset , , ∗/#define MS_OP_RASSERT 4 /∗ rassert , ∗/#define MS_OP_DELAY 5 /∗ delay ∗/#define MS_OP_SET 6 /∗ set ∗/#define MS_OP_DBRA 7 /∗ dbra ∗/#define MS_OP_BRSET 8 /∗ brset , ∗/#define MS_OP_BRCLEAR 9 /∗ brclear , ∗/#define MS_OP_RET 10 /∗ ret ∗/#define MS_OP_C_CALL 11 /∗ c_call , ∗/#define MS_OP_PTR 12 /∗ ptr ∗/#define MS_OP_ADELAY 13 /∗ adelay ∗/#define MS_OP_BRSTAT 14 /∗ brstat , , ∗/#define MS_OP_SUBRET 15 /∗ subret ∗/#define MS_OP_CALL 16 /∗ call ∗/#define MS_OP_RASSERT_P 17 /∗ rassert_p , ∗/#define MS_OP_RFETCH_P 18 /∗ rfetch_p , , ∗/#define MS_OP_TRIG 19 /∗ trigger , , ∗/Execution contextThe execution context of microinstructions is:• the program counter which points to the next microinstruction to execute either in the mainmicrosequence or in a subcall• the current value of ptr which points to the next char to send/receive• the current value of the internal branch registerThis data is modified by some of the microinstructions, not all.MS_OP_GET and MS_OP_PUTare microinstructions used to do either predefined standard IEEE1284-1994 transfers or programmed non-standardI/O.MS_OP_RFETCH - Register FETCHis used to retrieve the current value of a parallel port register, apply a mask and save it inabuffer.Parameters:<strong>NetBSD</strong> 3.0 December 29, 2003 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!