timsong1

@timsong1

Joined on Aug 19, 2024

  • contributed by < timsong1 > 閱讀〈因為自動飲料機而延畢的那一年〉的啟發 提問 : concurrent-programs/coro/coro.c 提問 1 : 之前在寫作業 kxo 的時候,修改其使用者程式的部分,使用 setjmp()和 longjmp() 使其任務排程採用 coroutine 方式,經過測試可以順利運行,並且通過 valgrind 測試,沒有記憶體洩漏的問題 Stopping the kernel space tic-tac-toe game... ==4281== ==4281== HEAP SUMMARY:
     Like  Bookmark
  • contributed by < timsong1 > Linux 核心專題: 虛擬無線網路裝置驅動程式 研讀筆記 vwifi 是個程式碼約~三千行,具體而微的 WiFi 裝置驅動程式,採用 cfg80211 框架。目前 vwifi 支援 scan, connect, disconnect 等 cfg80211 的介面操作,並得以正確處理 Tx/Rx 封包。 FullMAC vs. SoftMAC 主要就是差在 MLME (MAC layer management entity) 是在硬體還是軟體上實現 image
     Like  Bookmark
  • 引入若干 coroutine 分別對應到 AI, AI2 和鍵盤事件處理 規範針對下棋 AI 的 load 機制 對弈的過程中,螢幕顯示當下的時間 (含秒數),並持續更新 使棋盤畫面呈現的部分全部在使用者層級,且善用 bitops,降低核心和使用者層級之間的通訊成本 自 jserv/ttt 移植 reinforcement learning (RL) 到 kxo 核心模組
     Like  Bookmark
  • contributed by < timsong1 > 開發環境 :::spoiler 展開 $ gcc --version gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     Like  Bookmark
  • contributed by < timsong1 > Review 第一周測驗題 測驗 1 本題的 單向鏈結串列資料結構: typedef struct list_item { int value; struct list_item *next; } list_item_t;
     Like  Bookmark