Changeset 98000fb in mainline for kernel/arch/sparc64/include
- Timestamp:
- 2009-06-03T19:34:45Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 301ff30
- Parents:
- 69e68e3
- Location:
- kernel/arch/sparc64/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/mm/tlb.h
r69e68e3 r98000fb 323 323 * Register. 324 324 */ 325 static inline uint64_t itlb_data_access_read( index_t entry)325 static inline uint64_t itlb_data_access_read(size_t entry) 326 326 { 327 327 itlb_data_access_addr_t reg; … … 337 337 * @param value Value to be written. 338 338 */ 339 static inline void itlb_data_access_write( index_t entry, uint64_t value)339 static inline void itlb_data_access_write(size_t entry, uint64_t value) 340 340 { 341 341 itlb_data_access_addr_t reg; … … 354 354 * Register. 355 355 */ 356 static inline uint64_t dtlb_data_access_read( index_t entry)356 static inline uint64_t dtlb_data_access_read(size_t entry) 357 357 { 358 358 dtlb_data_access_addr_t reg; … … 368 368 * @param value Value to be written. 369 369 */ 370 static inline void dtlb_data_access_write( index_t entry, uint64_t value)370 static inline void dtlb_data_access_write(size_t entry, uint64_t value) 371 371 { 372 372 dtlb_data_access_addr_t reg; … … 384 384 * @return Current value of specified IMMU TLB Tag Read Register. 385 385 */ 386 static inline uint64_t itlb_tag_read_read( index_t entry)386 static inline uint64_t itlb_tag_read_read(size_t entry) 387 387 { 388 388 itlb_tag_read_addr_t tag; … … 399 399 * @return Current value of specified DMMU TLB Tag Read Register. 400 400 */ 401 static inline uint64_t dtlb_tag_read_read( index_t entry)401 static inline uint64_t dtlb_tag_read_read(size_t entry) 402 402 { 403 403 dtlb_tag_read_addr_t tag; … … 419 419 * Register. 420 420 */ 421 static inline uint64_t itlb_data_access_read(int tlb, index_t entry)421 static inline uint64_t itlb_data_access_read(int tlb, size_t entry) 422 422 { 423 423 itlb_data_access_addr_t reg; … … 434 434 * @param value Value to be written. 435 435 */ 436 static inline void itlb_data_access_write(int tlb, index_t entry,436 static inline void itlb_data_access_write(int tlb, size_t entry, 437 437 uint64_t value) 438 438 { … … 454 454 * Register. 455 455 */ 456 static inline uint64_t dtlb_data_access_read(int tlb, index_t entry)456 static inline uint64_t dtlb_data_access_read(int tlb, size_t entry) 457 457 { 458 458 dtlb_data_access_addr_t reg; … … 470 470 * @param value Value to be written. 471 471 */ 472 static inline void dtlb_data_access_write(int tlb, index_t entry,472 static inline void dtlb_data_access_write(int tlb, size_t entry, 473 473 uint64_t value) 474 474 { … … 489 489 * @return Current value of specified IMMU TLB Tag Read Register. 490 490 */ 491 static inline uint64_t itlb_tag_read_read(int tlb, index_t entry)491 static inline uint64_t itlb_tag_read_read(int tlb, size_t entry) 492 492 { 493 493 itlb_tag_read_addr_t tag; … … 506 506 * @return Current value of specified DMMU TLB Tag Read Register. 507 507 */ 508 static inline uint64_t dtlb_tag_read_read(int tlb, index_t entry)508 static inline uint64_t dtlb_tag_read_read(int tlb, size_t entry) 509 509 { 510 510 dtlb_tag_read_addr_t tag; -
kernel/arch/sparc64/include/mm/tsb.h
r69e68e3 r98000fb 161 161 struct pte; 162 162 163 extern void tsb_invalidate(struct as *as, uintptr_t page, count_t pages);164 extern void itsb_pte_copy(struct pte *t, index_t index);165 extern void dtsb_pte_copy(struct pte *t, index_t index, bool ro);163 extern void tsb_invalidate(struct as *as, uintptr_t page, size_t pages); 164 extern void itsb_pte_copy(struct pte *t, size_t index); 165 extern void dtsb_pte_copy(struct pte *t, size_t index, bool ro); 166 166 167 167 #endif /* !def __ASM__ */ -
kernel/arch/sparc64/include/types.h
r69e68e3 r98000fb 47 47 48 48 typedef uint64_t size_t; 49 typedef uint64_t count_t;50 typedef uint64_t index_t;51 49 52 50 typedef uint64_t uintptr_t; … … 61 59 } fncptr_t; 62 60 63 /**< Formats for uintptr_t, size_t , count_t and index_t*/61 /**< Formats for uintptr_t, size_t */ 64 62 #define PRIp "llx" 65 63 #define PRIs "llu" 66 #define PRIc "llu"67 #define PRIi "llu"68 64 69 65 /**< Formats for (u)int8_t, (u)int16_t, (u)int32_t, (u)int64_t and (u)native_t */
Note:
See TracChangeset
for help on using the changeset viewer.
