Subversion Repositories HelenOS-historic

Rev

Rev 901 | Rev 923 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 901 Rev 919
Line 122... Line 122...
122
	movl r12 = stack0;;
122
	movl r12 = stack0;;
123
	
123
	
124
	add r12 = - 16, r12	/* allocate a scratch area on the stack */
124
	add r12 = - 16, r12	/* allocate a scratch area on the stack */
125
 
125
 
126
	# initialize gp (Global Pointer) register
126
	# initialize gp (Global Pointer) register
127
	movl r1 = _hardcoded_load_address	;;
127
	movl r1 = _hardcoded_load_address
128
 
128
 
129
	/*
129
	/*
130
	 * Initialize hardcoded_* variables.
130
	 * Initialize hardcoded_* variables.
131
	 */
131
	 */
132
	movl r14 = _hardcoded_ktext_size
132
	movl r14 = _hardcoded_ktext_size
133
	movl r15 = _hardcoded_kdata_size
133
	movl r15 = _hardcoded_kdata_size
134
	movl r16 = _hardcoded_load_address
134
	movl r16 = _hardcoded_load_address ;;
135
	addl r17 = @gprel(hardcoded_ktext_size), gp
135
	addl r17 = @gprel(hardcoded_ktext_size), gp
136
	addl r18 = @gprel(hardcoded_kdata_size), gp
136
	addl r18 = @gprel(hardcoded_kdata_size), gp
137
	addl r19 = @gprel(hardcoded_load_address), gp
137
	addl r19 = @gprel(hardcoded_load_address), gp
138
	;;
138
	;;
139
	st8 [r17] = r14
139
	st8 [r17] = r14