1. 20
    1. 2

      A glaring omission from this post is how to handle concurrency. What happens when two concurrent calls to gpu_fb_write() are made? There is no code to handle that case.

      1. 3

        Congrats on making my brain go “well obviously it will… uh… well… hang on, wait, what does happen in that case?”

        1. 3

          This is the second post in a series, in the following post I go into displaying via EFI’s Graphics Output Protocol or the kernel’s framebuffer machinery, which makes the character device unnecessary and removes the need to handle serialization at all :-)