RTEMS: bsps/sparc64/shared/helenos/boot/sparc64/loader/ofwarch.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
ofwarch.c File Reference

Architecture dependent parts of OpenFirmware interface. More...

`#include <boot/ofwarch.h>`
`#include <boot/ofw.h>`
`#include <string.h>`
`#include <boot/register.h>`
`#include <boot/main.h>`

## Functions
int | ofw_translate_failed (ofw_arg_t flag)
int | ofw_cpu (uint16_t mid_mask, uintptr_t physmem_start)
int | ofw_get_physmem_start (uintptr_t *start)

## Detailed Description

Architecture dependent parts of OpenFirmware interface.

## Function Documentation

## ◆ ofw_cpu()

int ofw_cpu | ( | uint16_t | mid_mask,
|  | uintptr_t | physmem_start
| ) |  |

Finds out the current CPU's MID and wakes up all AP processors.

## ◆ ofw_get_physmem_start()

int ofw_get_physmem_start | ( | uintptr_t * | start | ) |

Get physical memory starting address.

Parameters

  start | Pointer to variable where the physical memory starting address will be stored.

Returns
  Non-zero on succes, zero on failure.