HAHA w.

@TuXxxNNaTNyVNvTjxRRR1Q

Joined on Oct 7, 2022

  • Q1 測驗 list_insert_before 先考量鏈結串列: #include <stddef.h> typedef struct list_item { int value; struct list_item *next; } list_item_t;
     Like  Bookmark
  • contributed by <miaoshahaha> 開發環境 $ gcc --version gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 $lscpu rchitecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 46 bits physical, 48 bits virtual
     Like  Bookmark
  • contributed by <miaoshahaha>
     Like  Bookmark
  • Kernel Version Ubuntu 22.04.2 LTS Kernel Version 5.19 virtual box 6.1.38 :hammer: Description Requirement : In this project, you need to write a new system call void * my_get_physical_addresses(void *) so that a process can use it to get the physical address of a virtual address of a process. The return value of this system call is either 0 or an address value. 0 means that an error occurs when executing this system call. A non-zero value means the physical address of the logical address submitted to the system call as its parameter.
     Like  Bookmark
  • 12345 [12312312] hahaha 333333
     Like  Bookmark
  •  Like  Bookmark