Subversion Repositories HelenOS-historic

Rev

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

Rev 1 Rev 50
Line 42... Line 42...
42
.global exception_entry
42
.global exception_entry
43
 
43
 
44
.org 0x0
44
.org 0x0
45
kernel_image_start:
45
kernel_image_start:
46
tlb_refill_entry:
46
tlb_refill_entry:
47
    j tlb_refill_handler
47
	j tlb_refill_handler
48
    nop
48
	nop
49
 
49
 
50
.org 0x100
50
.org 0x100
51
cache_error_entry:
51
cache_error_entry:
52
    j cache_error_handler
52
	j cache_error_handler
53
    nop
53
	nop
54
    
54
    
55
.org 0x180
55
.org 0x180
56
exception_entry:
56
exception_entry:
57
exception_handler:
57
exception_handler:
58
    sub $29, STACK_SPACE
58
	sub $29, STACK_SPACE
59
    REGISTERS_STORE $29
59
	REGISTERS_STORE $29
60
    
60
    
61
    jal exception
61
	jal exception
62
    nop
62
	nop
63
    
63
    
64
    REGISTERS_LOAD $29
64
	REGISTERS_LOAD $29
65
    add $29, STACK_SPACE
65
	add $29, STACK_SPACE
66
 
66
 
67
    eret
67
	eret
68
 
68
 
69
tlb_refill_handler:
69
tlb_refill_handler:
70
    sub $29, STACK_SPACE
70
	sub $29, STACK_SPACE
71
    REGISTERS_STORE $29
71
	REGISTERS_STORE $29
72
    
72
    
73
    jal tlb_refill
73
	jal tlb_refill
74
    nop
74
	nop
75
    
75
    
76
    REGISTERS_LOAD $29
76
	REGISTERS_LOAD $29
77
    add $29, STACK_SPACE
77
	add $29, STACK_SPACE
78
    
78
    
79
    eret
79
	eret
80
 
80
 
81
cache_error_handler:
81
cache_error_handler:
82
    sub $29, STACK_SPACE
82
	sub $29, STACK_SPACE
83
    REGISTERS_STORE $29
83
	REGISTERS_STORE $29
84
 
84
 
85
    jal cache_error
85
	jal cache_error
86
    nop
86
	nop
87
    
87
    
88
    REGISTERS_LOAD $29
88
	REGISTERS_LOAD $29
89
    add $29, STACK_SPACE
89
	add $29, STACK_SPACE
90
 
90
 
91
    eret
91
	eret