RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

RISCOS_Start

Hardware Abstraction Layer
» RISC OS entry points from HAL
» RISCOS_Start

RISCOS_Start

(OS entry #2)
void RISCOS_Start(unsigned int flags, int *riscos_header,
                  int *hal_descriptor, void *ref)
Entry
flags Bit 0: power on reset
Bit 1: CMOS reset inhibited (eg protection link on Risc PC)
Bit 2: perform a CMOS reset (if bit 1 clear and bit 0 set – eg front panel button held down on an NC)
Bit 3: there is no CMOS (the Kernel must use a RAM cache)
Bit 4: the RAM has already been cleared to zero
riscos_header Pointer to OS image header
hal_descriptor Pointer to HAL descriptor
ref Reference value that was returned by the last call to RISCOS_AddRAM
SVC32 mode
MMU and data caches off
IRQs and FIQs disabled
Exit
- This call does not return

Use

This routine must be called after all calls to RISCOS_AddRAM have been completed. It does not return. Future calls back to the HAL are via the HAL entry table, after the MMU has been enabled.

Information sources: Kernel.Docs.HAL.HAL_API, Kernel.hdr.OSEntries in CVS
Revised on September 4, 2012 13:50:50 by Jeffrey Lee (213) (195.72.173.131)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: RISCOS_AddRAM, RISCOS_InitARM, RISC OS entry points from HAL by number, How to port RISC OS to new hardware, OMAP3 HAL, HAL OS layout and headers, RISC OS entry points from HAL, HAL_SMPStartup

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 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