How Linux Kernel Prints Text on Screen

In this video we will dive into a simple call to the printf function and see what happens in the kernel and how it gets eventually printed on screen.
For more information about setting up an environment for kernel dev, checkout the welcome link on my channel.
Docs used in video:
- docs.kernel.org/dev-tools/gdb...
- wiki.osdev.org/Text_UI

Пікірлер: 185

  • @nirlichtman
    @nirlichtman21 күн бұрын

    - The display mechanism the kernel chooses depends on the setup, this is what it chose in the case of standard QEMU config & x86_64, but on other machines it may use something else for example a framebuffer. VGA mode 3 is a common x86/x64 choice, especially for older machines, but modern ones may not support it at all.

  • @ericlindell3777
    @ericlindell377721 күн бұрын

    ”we’re gonna have to dive in a little bit to the assembly”. What a madlad ❤

  • @Scoopta
    @Scoopta21 күн бұрын

    You're making one of the nerdiest linux videos I've seen on windows using MS edge...saying I'm confused is an understatement

  • @namanchhabra4136
    @namanchhabra413621 күн бұрын

    I always wanted to know kernel that deep 🙂

  • @ismbks
    @ismbks21 күн бұрын

    this feels like i'm watching paid content for free

  • @2204happy
    @2204happy21 күн бұрын

    I am unreasonably triggered by you calling the hyphen "minus"

  • @eitantal726
    @eitantal72621 күн бұрын

    What happens when you have a console window, rather than raw VGA as your tty? How does it "know" that stdout is mapped to VGA in this case? is it done during process creation?

  • @maciej.opalinski
    @maciej.opalinski21 күн бұрын

    no unnecessary talking, straight to the point, extremely well explained, this is why I pay for internet, thank you brother

  • @x3voo
    @x3voo21 күн бұрын

    Now try doing that on Windows 😂

  • @nathanielthomas4437
    @nathanielthomas443714 күн бұрын

    Driver devs can get a lot of hate sometimes, but if it weren't for them, we wouldn't get to see the hard work of printf()!

  • @TSW3585
    @TSW358514 сағат бұрын

    Bro. Are you operative system developer ? how the hell can I learn that stuffs ?. This is a serius question. What books did you read about this ?

  • @FernandoMumbach
    @FernandoMumbach21 күн бұрын

    This video is a tutorial on:

  • @katiagalkina4607
    @katiagalkina460721 күн бұрын

    The rabbit hole is much deeper than I was thinking!

  • @gustawitresh
    @gustawitresh21 күн бұрын

    WTF, bro just said. "I don't really like AT&T

  • @OrangeDied
    @OrangeDied21 күн бұрын

    kys_write?? how rude...

  • @lukelee2075
    @lukelee207521 күн бұрын

    The magic behind a standard library function-and the POSIX system calls-is what every CS student would have wondered about for once. Thank you for making this video. It brought back memories of being curious about how a computer works.

  • @GrittyMaholmes
    @GrittyMaholmes21 күн бұрын

    I love the confidence in your voice , i wana be this confidence when coding .

  • @CornThatLefty
    @CornThatLefty21 күн бұрын

    This series of videos is awesome. Just explains and explores a low-level topic quickly and without any fluff.

  • @CookieGod24
    @CookieGod2421 күн бұрын

    I don’t know why but the way you say ‘config’ sounds satisfying

  • @nickdaria
    @nickdaria21 күн бұрын

    Excellent video as always. Love seeing well-made low level computing content that does deep dives into while keeping it just dense enough to watch in your free time.