libarm.h File Reference

The main LIBARM header file.

More...

#include <stdlib.h>


Functions

void  libarm_set_irq (int enable)
  Enables or disables IRQ interrupts.
void  libarm_set_fiq (int enable)
  Enables or disables FIQ interrupts.
void  libarm_enable_irq (void)
  Enable IRQ interrupts.
void  libarm_disable_irq (void)
  Disable IRQ interrupts.
void  libarm_enable_fiq (void)
  Enable FIQ interrupts.
void  libarm_disable_fiq (void)
  Disable FIQ interrupts.
void  libarm_enable_irq_fiq (void)
  Enable IRQ and FIQ interrupts.
int  libarm_disable_irq_fiq (void)
  Disables IRQ and FIQ interrupts and return the previous enable state.
void  libarm_restore_irq_fiq (int disable_irq_fiq_return)
  Restores the IRQ and FIQ interrupt enable state.
void  libarm_isr_enable_irq (void)
  Re-enable ARM's global interrupts from within an IRQ interrupt service routine.
void  libarm_isr_disable_irq (void)
  Re-disable ARM's global interrupts from within an IRQ interrupt service routine.
void  libarm_set_cpsr (unsigned long cpsr)
  Set the value of the CPSR.
unsigned long  libarm_get_cpsr (void)
  Get the value of the CPSR.
void  libarm_dcc_write (unsigned long data)
  Write a word of data to the host over JTAG using the ARM's debug comms comms channel.
unsigned long  libarm_dcc_read (void)
  Read a word of data from the host over JTAG using the ARM's debug comms channel.
void  libarm_run_dcc_port_server (void)
  Serve commands from the ARM's debug communication channel.
void  libarm_mmu_flat_initialise_level_1_table (void *translation_table)
  Create a flat mapped level 1 translation table.
void  libarm_mmu_flat_initialise_level_2_small_page_table (void *translation_table, void *start, size_t size, void *coarse_page_tables)
  Create a level 2 small page table for an address range.
void  libarm_mmu_flat_set_level_1_cacheable_region (void *translation_table, void *start, size_t size)
  Mark region of memory described by level 1 section descriptors as cacheable.
void  libarm_mmu_flat_set_level_2_small_page_cacheable_region (void *translation_table, void *start, size_t size)
  Mark region of memory described by level 2 small page table descriptors as cacheable.


Detailed Description

The main LIBARM header file.

This header file contains all the definitions and declarations for the LIBARM library.