PALcode

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

In computing, in the Alpha instruction set architecture, PALcode (Privileged Architecture Library code)[1][2] is the name used by DEC for a set of functions in the SRM or AlphaBIOS firmware, providing a hardware abstraction layer for system software, covering features such as cache management, translation lookaside buffer (TLB) miss handling, interrupt handling and exception handling.

PALcode is Alpha machine code, running in a special mode[3] that also allows access to internal registers specific to the particular Alpha processor implementation. It is thus somewhere between the role of microcode and of a hardware emulator.

PALcode is operating system-specific;[4] different versions of PALcode are required by OpenVMS, Tru64 UNIX, and Windows NT. Tru64 UNIX PALcode is also used by NetBSD, FreeBSD, OpenBSD and Linux.

References[edit]

  1. ^ Alpha Architecture Reference Manual. 2014. ISBN 1483294331. PALcode—Alpha's Very Flexible Privileged Software Library A Privileged Architecture Library (PALcode) is a set of subroutines that ...
  2. ^ "PALcode for Alpha Microprocessors System Design Guide" (PDF). May 2, 1996. PALcode for Alpha Microprocessors. System Design Guide. May 1996. This guide explains how to use the Privileged Architecture Library code.
  3. ^ "PALcode - ES40 Emulator". PALcode is Alpha machine code, running in a special mode that allows access to internal registers specific to the particular Alpha processor
  4. ^ "The Alpha AXP Processor". The Alpha AXP architecture uses a set of subroutines, call privileged architecture library code (PALcode). PALcode is specific to the operating system, the CPU ...

External links[edit]