Skip to content
View KilianKegel's full-sized avatar
  • Munich

Organizations

@tianocore

Block or report KilianKegel

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
KilianKegel/README.md


Visitor

Latest NEWS

EDK2 Emulator 64Bit + 32Bit + EDK2 StdLibc + toro C Library

enable Windows 64 full DEBUG support (including toro C Library source code)

toroCVS (C-Validation-Suite) report math.h

All C90/ANSI C functions of math.h compared against original Microsoft C Library implementation:

20250830, v0.9.5 Build 755



IEEEx87

"Credit must be given to those people who played key roles in the development of the 8087.
The 8087 would not have been possible without the clear insight and strong guidance offerred by
Prof. W. Kahan at UC Berkeley.
We did not do as well as he wanted, but we did better than he expected."
[0] [1] [2]


The 8087 successor 80387 is fully IEEE 754 compliant.

The Math-Coprocessor is the foundation of this math library, providing a space-optimized, ROM-able implementation of C's MATH.H functions while maintaining the precision and correctness already established in earlier x87-based math libraries.

Since the traditional math coprocessor 80387 is still present in current x86 processors and is also not deprecated in the X86S specification .PDF, it can be safely used here, now and in the future on x86-based platforms.

The 80387 processor has various improvements over its 8087 predecessor, such as

  • range extension for transcendental function:

    Instruction function
    FPTAN Partial tangent
    FPATAN Partial arctangent
    F2XM1 2x - 1
    FYL2X Y * log2X
    FYL2XP1 Y * log2(X + 1)
  • new instructions, e.g.

    Instruction function
    FXAM Examine Floating-Point
    FSIN sine
    FCOS cosine

That has reduced the programming effort dramatically and made algorithms very simple and easy to implement.

toro C Library source code
builds with LLVM/CLANG tool chain in Visual Studio 2022

About

The content on this page is all about developing of UEFI applications and drivers using Microsoft Visual Studio 2022 for x86 platforms.

The toro C Library introduced here is written independently of any other source code.
It is a new, independent implementation of the ANSI C89 / ISO C90+C95 Standard C Library.
(Only floating point print/scan-support is currently missing — Instead MATH.H functions are available !!!)

toro C Library binary is free to use like the GLIBC runtime library

Developers are free to use toro C Library binary to compile any program, regardless of its license.

    Copyright (c) 2017-2025, Kilian Kegel. All rights reserved.
    SPDX-License-Identifier: GNU General Public License v3.0

Flagship Projects based on toro C Library

Flagship Project Content
toro C Library
source code
ANSI C for UEFI Shell getting started with simple programs LLVM/CLANG support

ACPICA Intel ACPI COMPONENT ARCHITECTURE

Original Intel reference implementation running in UEFI Shell:
- AslCompiler.EFI
- AcpiBin.EFI
- AcpiDump.EFI
UEFI-SHELL Build original UEFI SHELL from latest available EDK2 drop

1. integrate Tianocore EDK2 build tools into project (portable build)
2. introduce ♉toro-UEFI-SHELL with plugins and other improvements build with VS2022.
TSCSync TimeStampCounter-Synchronizer

1. Introduce TUI TextUserInterface, a menu driven UEFI application — that looks not so bad...
2. Introduction of multi chart Excel .XLSX file generation using open source libxlsxwriter
3. Introduce reliable speed measurement to enable TSC for timer and wallclock usage AcpiClkWait() vs. InternalAcpiDelay()
Visual-LIBXLSXWRITER-for-UEFI-Shell Create XLSX tables in UEFI and Windows applications
libxlsxwriter-port to Visual Studio

Also for Windows.
EDK2 Emulator Get started with the original TianoCore UEFI/BIOS Framework in the Windows Emulator.

Understand UEFI software, configuration and build architecture from the ground up.

HOWTO

Repo name Repo name

Repo name Repo name

Repo name Repo name

Projects

Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name Repo name

keywords

ANSI C for UEFI, ISO C for UEFI, ANSI C UEFI, ISO C UEFI, Standard C for UEFI, UEFI LIBC, EFI LIBC, LIBC UEFI , LIBC EFI , UEFI application, UEFI driver, Visual Studio UEFI, Visual Studio 2022 UEFI, UEFI Standard C Library, Standard C Library UEFI,Standard LIBC UEFI, C LIB UEFI, C LIBRARY UEFI, UEFI C, C UEFI, UEFI C Library, LIBC UEFI, programming uefi, uefi programming, UEFI, programming efi, efi programming, uefi app, app uefi, efi app, app efi,
👺 SCLIBnot Standard C LIBrary neat odd thing

Pinned Loading

  1. papers-bugs-miscellaneous-...- papers-bugs-miscellaneous-...- Public

    papers, bugs, miscellaneous ...

    1

  2. 4KPAGES 4KPAGES Public

    four thousand pages