wake-0 / fhvOS

This repository contains an os for the arm cortex a8 in combination with beaglebone.
GNU General Public License v2.0
7 stars 1 forks source link

[Driver] Implement a CPU driver #38

Closed trylimits closed 9 years ago

trylimits commented 9 years ago

We should implement a CPU driver which wraps specific functions into the ioctl(..) function.

trylimits commented 9 years ago

Implemented driver for CPU which allows ioctl with commands DRIVER_CPU_COMMAND_INTERRUPT_MASTER_IRQ_ENABLE and DRIVER_CPU_COMMAND_INTERRUPT_RESET_AINTC (defined in driver_cpu.h) which call the functions InterruptMasterIRQEnable() and InterruptResetAINTC().

Additional functions which are wrapped in ioctl(..) should follow the same concept.

This ticket should stay open until most of the functions are moved to the cpu driver.