x86_var.h (6149ed01a126d468431ecc4d20d0c00cb0040554) | x86_var.h (9a52756044676370f20527b85d450d5fc3ac32e5) |
---|---|
1/*- 2 * Copyright (c) 1995 Bruce D. Evans. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 88 unchanged lines hidden (view full) --- 97 98/* 99 * The interface type of the interrupt handler entry point cannot be 100 * expressed in C. Use simplest non-variadic function type as an 101 * approximation. 102 */ 103typedef void alias_for_inthand_t(void); 104 | 1/*- 2 * Copyright (c) 1995 Bruce D. Evans. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 88 unchanged lines hidden (view full) --- 97 98/* 99 * The interface type of the interrupt handler entry point cannot be 100 * expressed in C. Use simplest non-variadic function type as an 101 * approximation. 102 */ 103typedef void alias_for_inthand_t(void); 104 |
105/* 106 * Returns the maximum physical address that can be used with the 107 * current system. 108 */ 109static __inline vm_paddr_t 110cpu_getmaxphyaddr(void) 111{ 112#if defined(__i386__) && !defined(PAE) 113 return (0xffffffff); 114#else 115 return ((1ULL << cpu_maxphyaddr) - 1); 116#endif 117} 118 | |
119bool acpi_get_fadt_bootflags(uint16_t *flagsp); 120void *alloc_fpusave(int flags); 121void busdma_swi(void); | 105bool acpi_get_fadt_bootflags(uint16_t *flagsp); 106void *alloc_fpusave(int flags); 107void busdma_swi(void); |
108vm_paddr_t cpu_getmaxphyaddr(void); |
|
122bool cpu_mwait_usable(void); 123void cpu_probe_amdc1e(void); 124void cpu_setregs(void); 125bool disable_wp(void); 126void restore_wp(bool old_wp); 127void dump_add_page(vm_paddr_t); 128void dump_drop_page(vm_paddr_t); 129void finishidentcpu(void); --- 25 unchanged lines hidden --- | 109bool cpu_mwait_usable(void); 110void cpu_probe_amdc1e(void); 111void cpu_setregs(void); 112bool disable_wp(void); 113void restore_wp(bool old_wp); 114void dump_add_page(vm_paddr_t); 115void dump_drop_page(vm_paddr_t); 116void finishidentcpu(void); --- 25 unchanged lines hidden --- |