Ignore:
Timestamp:
Jul 10, 2017, 10:14:27 AM (7 years ago)
Author:
max@…
Message:

identify the cpu features

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_internal.h

    r145 r166  
    1616 *
    1717 * You should have received a copy of the GNU General Public License
    18  * along with ALMOS-MKH.; if not, write to the Free Software Foundation,
     18 * along with ALMOS-MKH; if not, write to the Free Software Foundation,
    1919 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    2020 */
     
    4242void mfence();
    4343vaddr_t rcr2(void);
     44uint64_t rcr4(void);
     45void lcr4(uint64_t);
     46void cpuid(uint32_t eax, uint32_t ecx, uint32_t *desc);
     47void tlbflushg();
     48void tlbflush();
    4449
    4550uint32_t atomic_cas_32(volatile uint32_t *ptr, uint32_t exp, uint32_t new);
Note: See TracChangeset for help on using the changeset viewer.