Compartilhar via


OAL Code Overview (Compact 2013)

3/26/2014

To help you understand the OAL code, this section explains the OAL code by using the following categories: startup, memory layout, real-time clock (RTC), cache, timer, power management, serial debug messages, and interrupts.

The OAL library is typically named oal.lib and built into an executable image called oal.exe. This image is renamed to a more generic nk.exe as part of the build process. However, you can name it anything you like as long as the final target binary is called nk.exe when the build completes.

In This Section

  • Startup (OAL)
    Provides the location of the OAL startup code, lists the main OAL startup functions, and illustrates the OAL function calls in the startup process.
  • Memory Layout (OAL)
    Specifies the configuration file that you must modify to define the memory layout of the run-time image.
  • Cache (OAL)
    Provides the location of the cache code and lists the main functions.
  • Timer (OAL)
    Provides the location of the timer code and lists the main functions.
  • Power Management (OAL)
    Provides the location of the power management code, lists the main functions, and includes a figure that shows the function calls that suspend and wake the CPU.
  • Serial Debug Messages (OAL)
    Points you to the serial debug message output code used by the boot loader, which you can often use with minor modifications for the OAL.
  • Interrupts (OAL)
    Provides the location of the interrupt code and lists the main functions.

See Also

Concepts

OEM Adaptation Layer