2005-12-09 Hollis Blanchard <hollis@penguinppc.org>

* configure.ac: Accept `powerpc64' as host_cpu.
	(amd64): Rename to `biarch32'.

	* kern/powerpc/cache.S (grub_arch_sync_caches): Handle
	non-cacheline-aligned addresses.

	* kern/dl.c (grub_dl_load_core): Add grub_dprintf messages.
	(grub_dl_flush_cache): Likewise.  Only call `grub_arch_sync_caches'
	if `size' is non-zero.
This commit is contained in:
hollisb 2005-12-10 05:24:59 +00:00
parent b04216abba
commit be973c1ba6
5 changed files with 148 additions and 72 deletions

View file

@ -22,8 +22,9 @@ AC_CANONICAL_HOST
case "$host_cpu" in
i[[3456]]86) host_cpu=i386 ;;
x86_64) host_cpu=i386 amd64=1 ;;
x86_64) host_cpu=i386 biarch32=1 ;;
powerpc) ;;
powerpc64) host_cpu=powerpc biarch32=1;;
sparc64) ;;
*) AC_MSG_ERROR([unsupported CPU type]) ;;
esac
@ -88,7 +89,7 @@ if test "x$default_CFLAGS" = xyes; then
fi
fi
if test "x$amd64" = x1; then
if test "x$biarch32" = x1; then
tmp_CFLAGS="$tmp_CFLAGS -m32"
fi