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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [armnommu/] [lib/] [getconsdata.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/getconsdata.c
3
 *
4
 * Copyright (C) 1995, 1996 Russell King
5
 */
6
 
7
#include <linux/config.h>
8
#include <linux/sched.h>
9
#include <linux/mm.h>
10
#include <asm/pgtable.h>
11
#include <linux/unistd.h>
12
 
13
#define OFF_TSK(n) (unsigned long)&(((struct task_struct *)0)->n)
14
#define OFF_MM(n) (unsigned long)&(((struct mm_struct *)0)->n)
15
 
16
#ifndef NO_MM
17
unsigned long tss_memmap = OFF_TSK(tss.memmap);
18
unsigned long pgd = OFF_MM(pgd);
19
#endif
20
unsigned long mm = OFF_TSK(mm);
21
unsigned long tss_save = OFF_TSK(tss.save);
22
unsigned long tss_fpesave = OFF_TSK(tss.fpstate.soft.save);
23
#if defined(CONFIG_CPU_ARM2) || defined(CONFIG_CPU_ARM3)
24
unsigned long tss_memcmap = OFF_TSK(tss.memcmap);
25
#endif

powered by: WebSVN 2.1.0

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