OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [armnommu/] [lib/] [fp_support.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
2
 * linux/arch/arm/lib/fp_support.c
3
 *
4
 * Copyright (C) 1995, 1996 Russell King
5
 */
6
 
7
#include <linux/sched.h>
8
 
9
extern void (*fp_save)(struct fp_soft_struct *);
10
#if 0
11
__asm__(
12
        ".stabs \"fp_printk\", 11, 0, 0, 0\n\t"
13
        ".stabs \"printk\", 1, 0, 0, 0\n\t"
14
        ".stabs \"fp_current\", 11, 0, 0, 0\n\t"
15
        ".stabs \"current_set\", 1, 0, 0, 0\n\t"
16
        ".stabs \"fp_send_sig\", 11, 0, 0, 0\n\t"
17
        ".stabs \"send_sig\", 1, 0, 0, 0\n\t");
18
#endif
19
 
20
void fp_setup(void)
21
{
22
        struct task_struct **p;
23
 
24
        p = task;
25
        do {
26
                if(*p)
27
                        fp_save(&(*p)->tss.fpstate.soft);
28
        }
29
        while (++p < task + NR_TASKS);
30
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.