-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 2306 b: refs/heads/master c: 3f7a87d h: refs/heads/master v: v3
- Loading branch information
Frank Filz
authored and
David S. Miller
committed
Jun 20, 2005
1 parent
78f8e6a
commit 6969f70
Showing
77 changed files
with
1,189 additions
and
1,984 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 91b90475e793e84a57d956af8c52645e292badcb | ||
refs/heads/master: 3f7a87d2fa9b42f7aade43914f060df68cc89cc7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* linux/arch/arm/kernel/arch.c | ||
* | ||
* Architecture specific fixups. | ||
*/ | ||
#include <linux/config.h> | ||
#include <linux/init.h> | ||
#include <linux/types.h> | ||
|
||
#include <asm/elf.h> | ||
#include <asm/page.h> | ||
#include <asm/setup.h> | ||
#include <asm/mach/arch.h> | ||
|
||
unsigned int vram_size; | ||
|
||
#ifdef CONFIG_ARCH_ACORN | ||
|
||
unsigned int memc_ctrl_reg; | ||
unsigned int number_mfm_drives; | ||
|
||
static int __init parse_tag_acorn(const struct tag *tag) | ||
{ | ||
memc_ctrl_reg = tag->u.acorn.memc_control_reg; | ||
number_mfm_drives = tag->u.acorn.adfsdrives; | ||
|
||
switch (tag->u.acorn.vram_pages) { | ||
case 512: | ||
vram_size += PAGE_SIZE * 256; | ||
case 256: | ||
vram_size += PAGE_SIZE * 256; | ||
default: | ||
break; | ||
} | ||
#if 0 | ||
if (vram_size) { | ||
desc->video_start = 0x02000000; | ||
desc->video_end = 0x02000000 + vram_size; | ||
} | ||
#endif | ||
return 0; | ||
} | ||
|
||
__tagtable(ATAG_ACORN, parse_tag_acorn); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
/* gcclib.h -- definitions for various functions 'borrowed' from gcc-2.95.3 */ | ||
/* I Molton 29/07/01 */ | ||
|
||
#include <linux/types.h> | ||
#define BITS_PER_UNIT 8 | ||
#define SI_TYPE_SIZE (sizeof (SItype) * BITS_PER_UNIT) | ||
|
||
#define BITS_PER_UNIT 8 | ||
#define SI_TYPE_SIZE (sizeof(s32) * BITS_PER_UNIT) | ||
typedef unsigned int UQItype __attribute__ ((mode (QI))); | ||
typedef int SItype __attribute__ ((mode (SI))); | ||
typedef unsigned int USItype __attribute__ ((mode (SI))); | ||
typedef int DItype __attribute__ ((mode (DI))); | ||
typedef int word_type __attribute__ ((mode (__word__))); | ||
typedef unsigned int UDItype __attribute__ ((mode (DI))); | ||
|
||
#ifdef __ARMEB__ | ||
struct DIstruct { | ||
s32 high, low; | ||
}; | ||
struct DIstruct {SItype high, low;}; | ||
#else | ||
struct DIstruct { | ||
s32 low, high; | ||
}; | ||
struct DIstruct {SItype low, high;}; | ||
#endif | ||
|
||
typedef union { | ||
struct DIstruct s; | ||
s64 ll; | ||
typedef union | ||
{ | ||
struct DIstruct s; | ||
DItype ll; | ||
} DIunion; | ||
|
Oops, something went wrong.