Import Tristan Gingold's ia64 port

(based on patch sent to grub-devel by Tristan in 2008-01-28)
This commit is contained in:
Robert Millan committed 2010-01-18 14:17:47 +00:00
1 parent 11cc30ac40
commit 2c40cc7868
32 files changed
+3791 -38

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2008 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
.text
.psr abi64
.psr lsb
.lsb
.proc __ia64_trampoline
.global __ia64_trampoline
__ia64_trampoline:
// Read address of the real descriptor
ld8 r2=[r1],8
;;
// Read chain
ld8 r15=[r1]
// Read pc
ld8 r3=[r2],8
;;
// Read gp
ld8 r1=[r2]
mov b6=r3
br.many b6
.endp __ia64_trampoline