~ubuntu-branches/ubuntu/karmic/linux-ports/karmic

« back to all changes in this revision

Viewing changes to arch/sparc64/prom/cif.S

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich, Luke Yelavich, Michael Casadevall, Tim Gardner, Upstream Kernel Changes
  • Date: 2009-05-06 18:18:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090506181855-t00baeevpnvd9o7a
Tags: 2.6.30-1.1
[ Luke Yelavich ]
* initial release for karmic
* SAUCE: rebase-ports - adjust for the karmic ports kernel
* SAUCE: rebase-ports - also remove abi dirs/files on rebase
* Update configs after rebase against mainline Jaunty tree
* [Config] Disable CONFIG_BLK_DEV_UB and CONFIG_USB_LIBUSUAL as per
  mainline jaunty
* forward-port patch to drbd for powerpc compilation
* [Config] disable CONFIG_LENOVO_SL_LAPTOP for i386 due to FTBFS
* add .o files found in arch/powerpc/lib to all powerpc kernel header
  packages
* [Config] enable CONFIG_DRM_I915_KMS for i386 as per karmic mainline

[ Michael Casadevall ]

* Disable kgdb on sparc64
* [sparc] [Config] Disable GPIO LEDS
* [ia64] Rename -ia64-generic to -ia64 in line with other architectures
* Correct kernel image path for sparc builds
* [hppa] Fix HPPA config files to build modules for all udebian

Rebase on top of karmic mainline 2.6.30-1.1

[ Tim Gardner ]

* [Config] armel: disable staging drivers, fixes FTBS
* [Config] armel imx51: Disable CONFIG_MTD_NAND_MXC, fixes FTBS

[ Upstream Kernel Changes ]

* mpt2sas: Change reset_type enum to avoid namespace collision.
  Submitted upstream.

* Initial release after rebasing against v2.6.30-rc3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* cif.S: PROM entry/exit assembler trampolines.
2
 
 *
3
 
 * Copyright (C) 1996, 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
4
 
 * Copyright (C) 2005, 2006 David S. Miller <davem@davemloft.net>
5
 
 */
6
 
 
7
 
#include <asm/pstate.h>
8
 
#include <asm/cpudata.h>
9
 
#include <asm/thread_info.h>
10
 
 
11
 
        .text
12
 
        .globl  prom_cif_interface
13
 
prom_cif_interface:
14
 
        sethi   %hi(p1275buf), %o0
15
 
        or      %o0, %lo(p1275buf), %o0
16
 
        ldx     [%o0 + 0x010], %o1      ! prom_cif_stack
17
 
        save    %o1, -192, %sp
18
 
        ldx     [%i0 + 0x008], %l2      ! prom_cif_handler
19
 
        mov     %g4, %l0
20
 
        mov     %g5, %l1
21
 
        mov     %g6, %l3
22
 
        call    %l2
23
 
         add    %i0, 0x018, %o0         ! prom_args
24
 
        mov     %l0, %g4
25
 
        mov     %l1, %g5
26
 
        mov     %l3, %g6
27
 
        ret
28
 
         restore
29
 
 
30
 
        .globl  prom_cif_callback
31
 
prom_cif_callback:
32
 
        sethi   %hi(p1275buf), %o1
33
 
        or      %o1, %lo(p1275buf), %o1
34
 
        save    %sp, -192, %sp
35
 
        TRAP_LOAD_THREAD_REG(%g6, %g1)
36
 
        LOAD_PER_CPU_BASE(%g5, %g6, %g4, %g3, %o0)
37
 
        ldx     [%g6 + TI_TASK], %g4
38
 
        call    prom_world
39
 
         mov    0, %o0
40
 
        ldx     [%i1 + 0x000], %l2
41
 
        call    %l2
42
 
         mov    %i0, %o0
43
 
        mov     %o0, %l1
44
 
        call    prom_world
45
 
         mov    1, %o0
46
 
        ret
47
 
         restore %l1, 0, %o0
48