Git Product home page Git Product logo

sedk's Introduction

SEDK (Simple Extensible Firmware Interface Development Kit)

SEDK is a library that allows you to quickly and easily write your own x64 EFI applications on Windows systems.

Getting Stared

To get started you need:

  • Windows 10/11
  • Clang(Download)
  • Python 3.9+(Download)
  • Visual Studio Code(Just a recommendation)
  • Motivation

After you have done all the things above we can now start to write a simple Hello World application. ๐Ÿ‘

First Application

First of all you should download the latest release of SEDK (Download). After downloading the latest release, you need to unzip the file. Now open a new console in the directory and start the build.py using:

  python build.py

When you are asked how to name certain directories it is important to write only the name of the folder without '/' otherwise it can lead to problems in the build script. The first time you will be asked some important things, after that some new files should have created. Now open any text editor of your choice (I prefer Visual Studio Code). If not already created you can now create a new C-file in the Sources folder, for example main.c. Here you can write all your source code in it.

Our example code to print out a 'Hello, World with SEDK!' message:

#include <sedk.h>

EFI_STATUS efi_entry(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) {

    SystemTable->ConOut->OutputString(SystemTable->ConOut, (CHAR16*)L"Hello, World with SEDK!\n");
   
    return EFI_SUCCESS;
}

Compiling

To compile your EFI application you only have to enter the following:

  python build.py Filename

Change 'Filename' to what you want the finished EFI file to be called, for example hello.efi. That's all, you can now try your EFI file under a UEFI system.

Protocols

Supported protocols:

  • Device Path Protocol
  • Simple Text Input Protocol
  • Simple Text Output Protocol
  • Graphics Output Protocol
  • More coming soon...

Authors

sedk's People

Contributors

rxbin1201 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.