Subversion Repositories HelenOS

Rev

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

Rev 5 Rev 6
Line 29... Line 29...
29
#ifndef __TLB_H__
29
#ifndef __TLB_H__
30
#define __TLB_H__
30
#define __TLB_H__
31
 
31
 
32
#ifdef __SMP__
32
#ifdef __SMP__
33
extern void tlb_init(void);
33
extern void tlb_init(void);
34
extern void tlb_shutdown_start(void);
34
extern void tlb_shootdown_start(void);
35
extern void tlb_shutdown_finalize(void);
35
extern void tlb_shootdown_finalize(void);
36
extern void tlb_shutdown_ipi_recv(void);
36
extern void tlb_shootdown_ipi_recv(void);
37
#else
37
#else
38
 
38
 
39
#define tlb_init()      ;
39
#define tlb_init()      ;
40
#define tlb_shutdown_start()    ;
40
#define tlb_shootdown_start()   ;
41
#define tlb_shutdown_finalize() ;
41
#define tlb_shootdown_finalize()    ;
42
#define tlb_shutdown_ipi_recv() ;
42
#define tlb_shootdown_ipi_recv() ;
43
 
43
 
44
#endif /* __SMP__ */
44
#endif /* __SMP__ */
45
 
45
 
46
/* Export TLB interface that each architecture must implement. */
46
/* Export TLB interface that each architecture must implement. */
47
extern void tlb_invalidate(int asid);
47
extern void tlb_invalidate(int asid);
48
extern void tlb_shutdown_ipi_send(void);
48
extern void tlb_shootdown_ipi_send(void);
49
 
49
 
50
#endif
50
#endif