Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCP_DEST_TYPE が 4 bit しかなく,APID ほどの表現力がない問題 #512

Closed
Tracked by #514
meltingrabbit opened this issue Mar 9, 2023 · 2 comments
Closed
Tracked by #514
Assignees
Labels
help wanted Extra attention is needed priority::high priorityg high

Comments

@meltingrabbit
Copy link
Collaborator

概要

CCP_DEST_TYPE が 4 bit しかなく,APID ほどの表現力がない問題

詳細

  • /**
    * @enum CCP_DEST_TYPE
    * @brief コマンドの解釈の宛先を規定
    * @note TO_ME: 自分自身 → 自分自身の TLC や BC として解釈.コマンド実行時に必要に応じて別 OBC へ配送 (この定義は C2A Core で使うため,どんな C2A でも必須)
    * @note TO_*: 転送先の TL や BC として解釈 (直接指定 OBC へ配送. GS から来たコマンドを自身のキューにいれない)
    * なお,自分自身宛だった場合は,キューに入れる
    * @note 4bit を想定
    */
    typedef enum
    {
    CCP_DEST_TYPE_TO_ME = 0,
    CCP_DEST_TYPE_TO_MOBC = 1,
    CCP_DEST_TYPE_TO_AOBC = 2,
    CCP_DEST_TYPE_TO_TOBC = 3,
    CCP_DEST_TYPE_TO_UNKOWN = 4
    } CCP_DEST_TYPE;
  • コンポが増えると死ぬ
  • 結局キューイングの制御なので CCP_DEST_TYPE_TO_APID_DESTINATION みたいなのを作る?

close条件

考えたら

@meltingrabbit meltingrabbit added help wanted Extra attention is needed priority::high priorityg high labels Mar 9, 2023
@meltingrabbit
Copy link
Collaborator Author

@meltingrabbit
Copy link
Collaborator Author

  CCP_DEST_TYPE_TO_UNKOWN = e
  CCP_DEST_TYPE_TO_APID = f

を追加することに

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed priority::high priorityg high
Projects
None yet
Development

No branches or pull requests

1 participant