Fix example header links that were left empty
This commit is contained in:
11
README.adoc
11
README.adoc
@@ -210,6 +210,16 @@ Source: link:min.S[]
|
||||
|
||||
Outcome: QEMU window opens up, prints a few firmware messages, and hangs.
|
||||
|
||||
Here is an equivalent example using our mini-library:
|
||||
|
||||
....
|
||||
./run template
|
||||
....
|
||||
|
||||
Source: link:template.S[]
|
||||
|
||||
You can use that file as a quick template to start new tests.
|
||||
|
||||
==== Infinite loop
|
||||
|
||||
Go into an infinite loop instead of using `hlt`:
|
||||
@@ -1489,6 +1499,7 @@ TODO: are there performance considerations when designing CPUs?
|
||||
|
||||
Bibliography: http://superuser.com/questions/703695/difference-between-port-mapped-and-memory-mapped-access
|
||||
|
||||
[[ps2-keyboard]]
|
||||
=== PS/2 keyboard
|
||||
|
||||
Whenever you press a key down or up, the keyboard hex scancode is printed to the screen:
|
||||
|
||||
2
paging.S
2
paging.S
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#paging.S */
|
||||
|
||||
#include "common.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#pc-speaker */
|
||||
|
||||
#include "common.h"
|
||||
|
||||
|
||||
2
pit.S
2
pit.S
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#pit */
|
||||
|
||||
#include "common.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#pit */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#idt */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#protected-mode */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#ps2-keyboard */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#real-mode-segmentation */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
2
reboot.S
2
reboot.S
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#reboot */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
2
rtc.S
2
rtc.S
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#rct */
|
||||
|
||||
/* TODO what do those numbers mean? Where is this all documented? */
|
||||
.equ RTCaddress, 0x70
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#protected-mode-segmentation */
|
||||
|
||||
#include "common.h"
|
||||
|
||||
|
||||
2
smp.S
2
smp.S
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#smp */
|
||||
|
||||
/* Must be a multiple of 0x1000. */
|
||||
.equ STARTUP_CODE_ADDRESS, 0x1000
|
||||
|
||||
2
ss.S
2
ss.S
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#ss */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#minimal-gas-example */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#pit_sleep_ticks */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#pit_sleep_ticks */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#print_bytes */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples# */
|
||||
/* https://github.com/cirosantilli/x86-bare-metal-examples#unit-tests */
|
||||
|
||||
#include "common.h"
|
||||
BEGIN
|
||||
|
||||
Reference in New Issue
Block a user