Ignore:
Timestamp:
Aug 3, 2017, 10:15:18 AM (5 years ago)
Author:
alain
Message:

Redefine the fuctions ppm_base2page() / ppm_page2base() / ppm_page2ppn() / ppm_ppn2page() / ppm_base2ppn() / ppm_ppn2base(),
to use explicitely extended pointers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/generic/hal_ppm.h

    r313 r315  
    6262void hal_core_init( boot_info_t * info );
    6363
    64 /*****************************************************************************************
    65  * This function returns the PPN from the page descriptor extended pointer.
    66  *****************************************************************************************
    67  * @ page_xp   : pointer to page descriptor
    68  * @ returns physical page number
    69  ****************************************************************************************/
    70 inline ppn_t hal_page2ppn( xptr_t page_xp );
    71 
    72 /*****************************************************************************************
    73  * This function returns the page descriptor extended pointer from the PPN.
    74  *****************************************************************************************
    75  * @ ppn          : physical page number
    76  * @ returns extended pointer on page descriptor
    77  ****************************************************************************************/
    78 inline xptr_t hal_ppn2page( ppn_t ppn );
    79 
    8064#endif  /* HAL_PPM_H_ */
Note: See TracChangeset for help on using the changeset viewer.