Writing a virtual PCI device + driver from scratch in 2 hours and 23 seconds

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024

Комментарии • 15

  • @heh2393
    @heh2393 21 час назад +9

    How is this content free?! Thank you so much for making linux systems programming so much more accessible

  • @abdelHsn
    @abdelHsn День назад +5

    look like a new goated video has been droped by the master. thank you for the videos and yout projects.
    with you i've regained my love for recreationnal programming, just making think and having fun + learning.
    still haven't seen this one obviously it's been 5 minutes after the publication, but just wanted to share my thinking about you and your channel.
    peace and love man, hope you the best, and god bless you

  • @luckybearthing1796
    @luckybearthing1796 22 часа назад +3

    Thank you for the peak educational content.

  • @tyulen-vn6qj
    @tyulen-vn6qj 12 часов назад

    Love you, hope all is well

  • @hri7566
    @hri7566 10 часов назад

    /sys/class/leds just blew my mind

  • @mattanimation
    @mattanimation 11 часов назад

    this is awesome

  • @ved_s
    @ved_s 14 часов назад

    Haven't watched entire vod yet, but found out that sshfs exists, you can use it to mount a dir through ssh sftp

  • @sphaerophoria
    @sphaerophoria  День назад +3

    01:25:43 I think it's possible my initial intuition was right... I think what actually happens here is that ~0 makes a 32bit int of -1, this gets sign extended to an int64_t of negative 1, then cast to a uint64_t? Is that why it works? I feel like i've been bit by this before

  • @harshaljadhav6295
    @harshaljadhav6295 11 часов назад

    Whatta legend

  • @twobob
    @twobob 4 часа назад

    nice Mick

  • @gwentarinokripperinolkjdsf683
    @gwentarinokripperinolkjdsf683 22 часа назад +1

    Hay I have been trying to make my own "Shitty operating system" with the goal of drawing a single 3d accelerated triangle to the screen with intel integrated graphics.
    I am not nearly as experienced as you but I have been having a really hard time trying to work with PCI, I'm not sure if I am doing things right at all because the gpu doesn't seem to respond to just about any of the registers I poke at. What would be the best video of yours to learn more about these things and what diagnostic steps might you take?

    • @sphaerophoria
      @sphaerophoria  19 часов назад +1

      I've never tried integrating with a real graphics card, but depending on where you're stuck, you can watch me struggle with extracting a mac address from the rtl8139 at ruclips.net/video/_fxx7gUohbs/видео.html I don't know how helpful it would be, but it exists

    • @gwentarinokripperinolkjdsf683
      @gwentarinokripperinolkjdsf683 17 часов назад

      @@sphaerophoria Thank you very much

  • @potatopassingby
    @potatopassingby 17 часов назад

    press 4 for a fun surprise

  • @thesquee1838
    @thesquee1838 11 часов назад

    14:00 When learning C I organically came up with this single inheritance model, but yeah it is very dirty. Didn't know about container_of or offsetof macro at the time and it seemed like just the way to do things haha.