RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

HAL_ExtMachineID

Hardware Abstraction Layer
HAL entry points from RISC OS
ยป HAL_ExtMachineID

HAL_ExtMachineID

(HAL entry #115)
unsigned int HAL_ExtMachineID(void *buf)
Entry
buf Pointer to word-aligned buffer, or 0 to read required size
Exit
- Returns size of extended ID, or if 0 extended ID not present/corrupt
- Extended ID copied to buffer, if applicable

Use

This is an internal call for OS use only, and its specifications are subject to change without warning. User software should use OS_ReadSysInfo 12 (and friends) instead of calling this function directly.

This call allows HALs to expose their machine ID in a way that is free of the constraints of HAL_MachineID. Callers should first call with a null buffer pointer to determine the required buffer size, and then call again with a valid pointer in order to read the ID.

If a HAL provides an extended ID then there is no need for HAL_MachineID to be implemented. The kernel will instead use the extended ID to synthesise an old-style ID, for use with OS_ReadSysInfo 2/OS_ReadSysInfo 5.

See also

  • HAL_MachineID
  • OS_ReadSysInfo 12
Revised on February 8, 2012 13:54:41 by Jeffrey Lee (213) (195.72.173.130)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: HAL entry points from RISC OS, HAL entry points by number, HAL_MachineID, OS_ReadSysInfo 12

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys