自作osを作っている間に作ったxhciのinterrupt inについてプログラムの流れを載せたいと思います。 まず大枠の流れについて書きます。1,pciからxhciコントローラを取得する。2,msiを設定する。3,barを取得する。4,各種registerを取得する。5,xhc controllerを設定する。6,xhc controllerを開始する。 [各portについて](1からcapability registerのmax portsまで)7,接続しているか確認する。8,(接続しているportについて)resetする。9,enabledか確認する。10,enable slot com…