File: crt0.S

package info (click to toggle)
kernel-source-2.2.1 2.2.1-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 61,788 kB
  • ctags: 188,316
  • sloc: ansic: 1,114,164; asm: 49,922; makefile: 8,185; sh: 1,745; perl: 856; tcl: 409; lisp: 218; cpp: 186; awk: 133; sed: 72
file content (24 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (C) Paul Mackerras 1997.
 *
 * This program 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
 * 2 of the License, or (at your option) any later version.
 */
	.text
	.globl	_start
_start:
	.long	__start,0,0

	.globl	__start
__start:
	lis	9,_start@h
	lis	8,_etext@ha
	addi	8,8,_etext@l
1:	dcbf	0,9
	icbi	0,9
	addi	9,9,0x20
	cmplwi	0,9,8
	blt	1b
	b	start