Skip to content
Richard Nusser edited this page Jan 8, 2018 · 1 revision

Requires a 64 bit x86 processor.

Features

Displays:

  • the CPU's vendor ID
  • a few of the CPU's capability flags
  • the CPU's APIC base address

Additionally the application will attempt to register and call an interrupt handler.

Does not support any special command line characters, just the usual logging and help stuff.

Technical Details

This application contains 64 bit x86 assembly. Even if you were to tweak the edk2 build settings the application won't work on other architectures.

This application demonstrates that (and how) it's possible to:

  • use inline assembly if need be
  • register and trigger interrupt handlers

Sources are in apps/cpuid.c.

Clone this wiki locally