[OpenBIOS] r209 - in openbios-devel: arch/sparc64 config/examples
svn at openbios.org
svn at openbios.org
Fri Jul 18 12:29:48 CEST 2008
Author: blueswirl
Date: 2008-07-18 12:29:47 +0200 (Fri, 18 Jul 2008)
New Revision: 209
Modified:
openbios-devel/arch/sparc64/entry.S
openbios-devel/config/examples/cross-sparc64_rules.xml
openbios-devel/config/examples/sparc64_rules.xml
Log:
Set up tick_cmpr, update assembly flags
Modified: openbios-devel/arch/sparc64/entry.S
===================================================================
--- openbios-devel/arch/sparc64/entry.S 2008-07-17 19:12:23 UTC (rev 208)
+++ openbios-devel/arch/sparc64/entry.S 2008-07-18 10:29:47 UTC (rev 209)
@@ -45,6 +45,9 @@
wrpr %g0, 0, %canrestore
wrpr %g0, 0, %otherwin
wrpr %g0, 0, %wstate
+ ! 100 Hz timer
+ set 10 * 1000 * 1000, %g1
+ wr %g1, 0, %tick_cmpr
! Disable I/D MMUs and caches
stxa %g0, [%g0] ASI_LSU_CONTROL
Modified: openbios-devel/config/examples/cross-sparc64_rules.xml
===================================================================
--- openbios-devel/config/examples/cross-sparc64_rules.xml 2008-07-17 19:12:23 UTC (rev 208)
+++ openbios-devel/config/examples/cross-sparc64_rules.xml 2008-07-18 10:29:47 UTC (rev 209)
@@ -20,12 +20,12 @@
STRIP := sparc64-linux-strip
RANLIB := sparc64-linux-ranlib
CFLAGS := -Os -Wall -W -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH -USWAP_ENDIANNESS -g
-CFLAGS+= -Wa,-xarch=v9 -Wa,-64 -m64 -mcpu=ultrasparc -mcmodel=medany
+CFLAGS+= -Wa,-xarch=v9b -Wa,-64 -m64 -mcpu=ultrasparc -mcmodel=medany
CFLAGS+= -fno-builtin -nostdlib -ffreestanding
CFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
CFLAGS+= -Wundef -Wendif-labels -Wstrict-aliasing
INCLUDES := -Iinclude -Ikernel/include -I$(ODIR)/target/include
-AS_FLAGS := -Wa,-xarch=v9 -Wa,-64 -g
+AS_FLAGS := -Wa,-xarch=v9b -Wa,-64 -g
#
# pre rules
Modified: openbios-devel/config/examples/sparc64_rules.xml
===================================================================
--- openbios-devel/config/examples/sparc64_rules.xml 2008-07-17 19:12:23 UTC (rev 208)
+++ openbios-devel/config/examples/sparc64_rules.xml 2008-07-18 10:29:47 UTC (rev 209)
@@ -29,11 +29,11 @@
endif
CFLAGS := -Os -Wall -W -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH -USWAP_ENDIANNESS -fno-builtin -g
-CFLAGS+= -Wa,-xarch=v9 -Wa,-64 -m64 -mcpu=ultrasparc -mcmodel=medany
+CFLAGS+= -Wa,-xarch=v9b -Wa,-64 -m64 -mcpu=ultrasparc -mcmodel=medany
CFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
CFLAGS+= -Wundef -Wendif-labels -Wstrict-aliasing
INCLUDES := -Iinclude -Ikernel/include -I$(ODIR)/target/include
-AS_FLAGS := -Wa,-xarch=v9 -Wa,-64 -g
+AS_FLAGS := -Wa,-xarch=v9b -Wa,-64 -g
#
# pre rules
More information about the OpenBIOS
mailing list