diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-07-09 22:49:03 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-07-09 22:51:53 +0200 |
commit | dcf5bfa4f588a97110d52ce7de74ec4633f74461 (patch) | |
tree | 76777e3826e1ca6b02c31985f0dcad5e0c15e2ca /i386/i386/pit.h | |
parent | 19283fdffa782b2e485ef39e0de1574006ec4a1a (diff) | |
parent | 6cd23e1aa4f3557260e0cf75a2de2c142f8d8f48 (diff) |
Merge branch 'master-user_level_drivers' into master-user_level_drivers-debian
Diffstat (limited to 'i386/i386/pit.h')
-rw-r--r-- | i386/i386/pit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/pit.h b/i386/i386/pit.h index e65aae97..6b682280 100644 --- a/i386/i386/pit.h +++ b/i386/i386/pit.h @@ -45,7 +45,7 @@ NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#if defined(AT386) +#if defined(AT386) || defined(ATX86_64) /* Definitions for 8254 Programmable Interrupt Timer ports on AT 386 */ #define PITCTR0_PORT 0x40 /* counter 0 port */ #define PITCTR1_PORT 0x41 /* counter 1 port */ @@ -74,7 +74,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * Clock speed for the timer in hz divided by the constant HZ * (defined in param.h) */ -#if AT386 +#if defined(AT386) || defined(ATX86_64) #define CLKNUM 1193167 #endif /* AT386 */ |