[openfirmware] [commit] r2451 - cpu/x86/pc/alex
repository service
svn at openfirmware.info
Tue Aug 9 20:33:11 CEST 2011
Author: wmb
Date: Tue Aug 9 20:33:10 2011
New Revision: 2451
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2451
Log:
Alex - enabled timestamp counter and related timing words.
Modified:
cpu/x86/pc/alex/config.fth
cpu/x86/pc/alex/devices.fth
cpu/x86/pc/alex/fw.bth
Modified: cpu/x86/pc/alex/config.fth
==============================================================================
--- cpu/x86/pc/alex/config.fth Tue Aug 9 20:32:13 2011 (r2450)
+++ cpu/x86/pc/alex/config.fth Tue Aug 9 20:33:10 2011 (r2451)
@@ -7,6 +7,9 @@
create coreboot-qemu
create debug-startup
+create use-timestamp-counter
+create use-tsc-timing
+
create serial-console
\ In virtual mode, OFW runs with the MMU on. The advantages are
Modified: cpu/x86/pc/alex/devices.fth
==============================================================================
--- cpu/x86/pc/alex/devices.fth Tue Aug 9 20:32:13 2011 (r2450)
+++ cpu/x86/pc/alex/devices.fth Tue Aug 9 20:33:10 2011 (r2451)
@@ -16,19 +16,13 @@
fload ${BP}/dev/pciprobe.fth \ Generic PCI probing
-[ifdef] use-timestamp-counter
-\ Use the CPU chip's Time Stamp Counter for timing; it does just what we want
+\ Use the CPU chip's Time Stamp Counter for timing
fload ${BP}/cpu/x86/tsc.fth
-[then]
0 0 " " " /" begin-package
fload ${BP}/cpu/x86/pc/isabus.fth \ ISA Bus Bridge under root node
end-package
-[ifndef] use-timestamp-counter
-fload ${BP}/cpu/x86/pc/getms.fth
-[then]
-
dev /interrupt-controller
h# 20 to vector-base0
h# 28 to vector-base1
@@ -95,9 +89,7 @@
fload ${BP}/dev/pci/isaall.fth
devalias mouse /isa/8042/mouse
-[ifdef] use-timestamp-counter
fload ${BP}/cpu/x86/pc/tsccal1.fth
-[then]
0 0 hex mem-uart-base (u.) " /" begin-package
4 encode-int 0 encode-int encode+ " interrupts" property
Modified: cpu/x86/pc/alex/fw.bth
==============================================================================
--- cpu/x86/pc/alex/fw.bth Tue Aug 9 20:32:13 2011 (r2450)
+++ cpu/x86/pc/alex/fw.bth Tue Aug 9 20:33:10 2011 (r2451)
@@ -177,9 +177,6 @@
fload ${BP}/ofw/inet/http.fth \ HTTP client
end-support-package
-[ifndef] use-timestamp-counter
-fload ${BP}/cpu/x86/pc/mscal.fth
-[then]
fload ${BP}/cpu/x86/pc/boot.fth
fload ${BP}/cpu/x86/pc/linux.fth
More information about the openfirmware
mailing list