Fixed typos

pull/4/head
bzt 6 years ago
parent 927d0d0b93
commit 22fc0181a3

@ -1,7 +1,7 @@
Tutorial 02 - Multicore C
=========================
Now let's try something more complex, shall we? By complex I mean stop the CPU cures just like in the first tutorial,
Now let's try something more complex, shall we? By complex I mean stop the CPU cores just like in the first tutorial,
but this time stop one of them from C!
Start

@ -1,7 +1,7 @@
Oktatóanyag 09 - Framebuffer
============================
Rendben, végre valami csicsa-picsa :-) Eddig a képernyő sötét volt. Most be fogjuk állítani a felbontását
Rendben, végre valami parasztvakítás :-) Eddig a képernyő sötét volt. Most be fogjuk állítani a felbontását
egy csomó parancsot tartalmazó üzenettel és egyetlen egy mbox_call hívással, majd kirakunk egy képet. Teleraktam
kommenttel az lfb.c forrást (igaz, angol nyelvűek), hogy segítsenek eligazodni a parancsokban. De végeredményben
nem tesz mást, mint feltölt egy int tömböt és meghívja az mbox_call-t, igazán egyszerű. Ha gondolod, megpróbálhatsz

Binary file not shown.

@ -57,7 +57,7 @@ _start:
mrs x0, hcr_el2
mov x2, #0x0800
movk x2, #0x30d0, lsl #16
msr sctlr_el1, x1
msr sctlr_el1, x2
// change execution level to EL1
mov x2, #0x3c4
msr spsr_el2, x2

@ -101,7 +101,7 @@ Similarily, all peripherals communicates in memory with the CPU. Each has it's d
0x3F000000, but it's not in real RAM (called Memory Mapped IO). Now there's no mailbox for peripherals, instead each
device has it's own protocol. What's common for these devices that their memory must be read and written in 32 bit
units at 4 bytes aligned addresses (so called words), and each has control/status and data words. Unfortunately
Broadcom (the manucafturer of the SoC chip) is legendary bad at documenting their products. The best we've got is the
Broadcom (the manufacturer of the SoC chip) is legendary bad at documenting their products. The best we've got is the
BCM2835 documentation, which is close enough.
There's also a Memory Management Unit in the CPU which allows creating virtual address spaces. This can be programmed

Loading…
Cancel
Save