mkeykernel | A kernel that can read from keyboard and print

 by   arjun024 C Version: Current License: GPL-2.0

kandi X-RAY | mkeykernel Summary

kandi X-RAY | mkeykernel Summary

mkeykernel is a C library. mkeykernel has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

A kernel that can read from keyboard and print on-screen
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mkeykernel has a low active ecosystem.
              It has 646 star(s) with 99 fork(s). There are 27 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 2 have been closed. On average issues are closed in 2 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of mkeykernel is current.

            kandi-Quality Quality

              mkeykernel has 0 bugs and 0 code smells.

            kandi-Security Security

              mkeykernel has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mkeykernel code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              mkeykernel is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              mkeykernel releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mkeykernel
            Get all kandi verified functions for this library.

            mkeykernel Key Features

            No Key Features are available at this moment for mkeykernel.

            mkeykernel Examples and Code Snippets

            No Code Snippets are available at this moment for mkeykernel.

            Community Discussions

            QUESTION

            Multiboot keyboard driver triple faults with GRUB (works with QEMU) - why?
            Asked 2020-Jul-14 at 03:09

            I've been reading a ton of tutorials about OS development on x86, and so far all has gone well - until now. I can't figure out what the solution is for the life of me.

            My goal is to write the simplest possible keyboard driver for x86. Things work well with QEMU, but not with GRUB.

            I did my best to emulate mkeykernel based on the article by Arjun Sreedharan. Unfortunately, this problem also exists for mkeykernel.

            When running my compiled kernel using qemu-system-i386 -kernel kernel.bin, everything works as expected: I type, and letters are displayed on the screen.

            However, when I create and run a GRUB ISO using grub-mkrescue, the system reboots whenever I hit a key.

            When running with qemu-system-i386 -cdrom build/myos.iso -d int --no-reboot, I was able to find out that the CPU exception is 0xd General Protection Fault. At first, I thought this was because the GDT was set in an unexpected way by GRUB. But as you'll see below, I added my own GDT and it did not fix the problem.

            I also found a close match on StackOverflow here. I followed pretty much all of the advice in that article, especially the one about packing the structs, to no avail.

            This is the first time I've ever been so stumped to the point that I wrote a StackOverflow question :) Hopefully someone will be able to see the issue here!

            I have included the source code for all relevant files and instructions to build them / recreate the problem below.

            First file: kernel.asm

            ...

            ANSWER

            Answered 2020-Jul-14 at 03:09

            The solution (thanks to @MichaelPetch) was to setup segment registers after loading the GDT. My new entry point:

            Source https://stackoverflow.com/questions/62885174

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mkeykernel

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/arjun024/mkeykernel.git

          • CLI

            gh repo clone arjun024/mkeykernel

          • sshUrl

            git@github.com:arjun024/mkeykernel.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link