#include <kernel.h>
#include <t_syslog.h>
#include "dve68k.h"
#include "pdic/upd72001/upd72001.h"
#include "target_serial.h"
関数 | |
void | sio_initialize (intptr_t exinf) |
SIOPCB * | sio_opn_por (ID siopid, intptr_t exinf) |
void | sio_cls_por (SIOPCB *p_siopcb) |
void | sio_isr (intptr_t exinf) |
bool_t | sio_snd_chr (SIOPCB *siopcb, char_t c) |
int_t | sio_rcv_chr (SIOPCB *siopcb) |
void | sio_ena_cbr (SIOPCB *siopcb, uint_t cbrtn) |
void | sio_dis_cbr (SIOPCB *siopcb, uint_t cbrtn) |
void | upd72001_irdy_snd (intptr_t exinf) |
void | upd72001_irdy_rcv (intptr_t exinf) |
void sio_cls_por | ( | SIOPCB * | p_siopcb | ) |
target_serial.c の 96 行で定義されています。
参照先 assert, dis_int(), E_OK, INTNO_SIO, upd72001_cls_por(), と upd72001_openflag().
参照元 serial_cls_por().
00097 { 00098 ER ercd; 00099 00100 /* 00101 * デバイス依存のクローズ処理. 00102 */ 00103 upd72001_cls_por(p_siopcb); 00104 00105 /* 00106 * シリアルI/O割込みをマスクする. 00107 */ 00108 if (!upd72001_openflag()) { 00109 ercd = dis_int(INTNO_SIO); 00110 assert(ercd == E_OK); 00111 } 00112 }
target_serial.c の 154 行で定義されています。
参照先 upd72001_dis_cbr().
参照元 sio_irdy_snd().
00155 { 00156 upd72001_dis_cbr(siopcb, cbrtn); 00157 }
target_serial.c の 145 行で定義されています。
参照先 upd72001_ena_cbr().
参照元 serial_opn_por(), と serial_snd_chr().
00146 { 00147 upd72001_ena_cbr(siopcb, cbrtn); 00148 }
void sio_initialize | ( | intptr_t | exinf | ) |
void sio_isr | ( | intptr_t | exinf | ) |
target_serial.c の 66 行で定義されています。
参照先 assert, E_OK, ena_int(), INTNO_SIO, upd72001_openflag(), と upd72001_opn_por().
参照元 serial_opn_por().
00067 { 00068 SIOPCB *p_siopcb; 00069 bool_t opnflg; 00070 ER ercd; 00071 00072 /* 00073 * オープンしたポートがあるかをopnflgに読んでおく. 00074 */ 00075 opnflg = upd72001_openflag(); 00076 00077 /* 00078 * デバイス依存のオープン処理. 00079 */ 00080 p_siopcb = upd72001_opn_por(siopid, exinf); 00081 00082 /* 00083 * シリアルI/O割込みのマスクを解除する. 00084 */ 00085 if (!opnflg) { 00086 ercd = ena_int(INTNO_SIO); 00087 assert(ercd == E_OK); 00088 } 00089 return(p_siopcb); 00090 }
target_serial.c の 136 行で定義されています。
参照先 upd72001_rcv_chr().
参照元 sio_irdy_rcv().
00137 { 00138 return(upd72001_rcv_chr(siopcb)); 00139 }
target_serial.c の 127 行で定義されています。
参照先 upd72001_snd_chr().
参照元 serial_snd_chr(), と sio_irdy_snd().
00128 { 00129 return(upd72001_snd_chr(siopcb, c)); 00130 }
void upd72001_irdy_rcv | ( | intptr_t | exinf | ) |
target_serial.c の 172 行で定義されています。
参照先 sio_irdy_rcv().
参照元 upd72001_isr_siop().
00173 { 00174 sio_irdy_rcv(exinf); 00175 }
void upd72001_irdy_snd | ( | intptr_t | exinf | ) |
target_serial.c の 163 行で定義されています。
参照先 sio_irdy_snd().
参照元 upd72001_isr_siop().
00164 { 00165 sio_irdy_snd(exinf); 00166 }
Copyright © 2008 by Kijineko Inc.