Dev of Acver.

linux/kernel programming

1건
ioctl에서 unsigned long arg 활용하기
이번 4-1학기동안 임베디드시스템소프트웨어라는 수업을 듣게 되었다. 하지만 처음 해보는 임베디드, 커널 프로그래밍은 꽤나 진입 장벽이 높았다. 그래도 같이 수업 듣는 어떤 은인분을 통해 과제에서 막혔던 부분을 손쉽게 해결할 수 있었다 (감사합니다ㅠㅠㅠ 기프티콘 하나쯤은 받아 주시지...) 기존 코드는 static long ipc_ioctl(struct file *file, unsigned int cmd, unsigned long arg){ struct param *user_buf; int ret; user_buf = (struct param*)arg switch (cmd){ case READ: // recv : read ret = ku_ipc_read(user_buf->qid , user_buf->msg..
2020.04.30
1
  • 홈
  • 태그
  • 방명록
카테고리
  • 분류 전체보기
    • Project
      • nano jetson(졸업프로젝트)
      • 쓰담
    • Programming
      • Java
      • Python
      • node.js
      • html-css
      • android
      • Flutter
      • Cloud
      • DB
    • study
      • network
      • coding test
      • Algorithm
      • git
      • CS
    • linux
      • setting
      • error
      • kernel programming
    • retrospect
    • review
    • etc
업데이트
인기 글
(C) 2019 Dev of Acver. Design by BHB

티스토리툴바