@startuml

participant drv as "drv-ns16550"
participant mtty
participant user

activate mtty

ref over mtty: デバイスファイル読込機能

mtty -> mtty: 制御コード文字変換

opt 出力文字有
    drv <<- mtty: LibmvfsWrite()
    activate drv

    drv -->> mtty:
    deactivate drv
end
deactivate mtty

@enduml
