This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crosscompiler:hardware [2018/11/06 11:23] – ursgraf | crosscompiler:hardware [2020/12/10 15:29] (current) – ursgraf | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Accessing the Hardware ====== | ====== Accessing the Hardware ====== | ||
| - | Java was developed as a save language. It does not allow direct access and manipulation of absolute memory locations. Nevertheless this is essential for embedded programming. We therefore include this possibility by the use a special java class '' | + | Java was developed as a safe language. It does not allow direct access and manipulation of absolute memory locations. Nevertheless this is essential for embedded programming. We therefore include this possibility by the use a special java class '' |
| By using '' | By using '' | ||
| * read from absolute memory locations (1, 2, 4, 8 bytes) | * read from absolute memory locations (1, 2, 4, 8 bytes) | ||
| Line 12: | Line 12: | ||
| Depending on the processor architecture there are some more unsafe capabilities. | Depending on the processor architecture there are some more unsafe capabilities. | ||
| ==== On the PowerPC platform ==== | ==== On the PowerPC platform ==== | ||
| - | '' | + | '' |
| * read and write directly to machine registers (GPRs, FPRs, SPRs) | * read and write directly to machine registers (GPRs, FPRs, SPRs) | ||
| - | * | ||
| * enable the use of floats for exception routines | * enable the use of floats for exception routines | ||
| - | The API of US.java can be found under: | + | ==== On the ARM platform ==== |
| + | '' | ||
| + | * read and write directly to machine registers (GPRs, EXTRs, CPRs) | ||
| + | * enable the use of floats for exception routines | ||
| + | |||
| + | The API of US can be found under: | ||