Deleted Added
full compact
kern_ntptime.c (56458) kern_ntptime.c (58377)
1/***********************************************************************
2 * *
3 * Copyright (c) David L. Mills 1993-1999 *
4 * *
5 * Permission to use, copy, modify, and distribute this software and *
6 * its documentation for any purpose and without fee is hereby *
7 * granted, provided that the above copyright notice appears in all *
8 * copies and that both the copyright notice and this permission *

--- 14 unchanged lines hidden (view full) ---

23 * The 32bit version of the "LP" macros seems a bit past its "sell by"
24 * date so I have retained only the 64bit version and included it directly
25 * in this file.
26 *
27 * Only minor changes done to interface with the timecounters over in
28 * sys/kern/kern_clock.c. Some of the comments below may be (even more)
29 * confusing and/or plain wrong in that context.
30 *
1/***********************************************************************
2 * *
3 * Copyright (c) David L. Mills 1993-1999 *
4 * *
5 * Permission to use, copy, modify, and distribute this software and *
6 * its documentation for any purpose and without fee is hereby *
7 * granted, provided that the above copyright notice appears in all *
8 * copies and that both the copyright notice and this permission *

--- 14 unchanged lines hidden (view full) ---

23 * The 32bit version of the "LP" macros seems a bit past its "sell by"
24 * date so I have retained only the 64bit version and included it directly
25 * in this file.
26 *
27 * Only minor changes done to interface with the timecounters over in
28 * sys/kern/kern_clock.c. Some of the comments below may be (even more)
29 * confusing and/or plain wrong in that context.
30 *
31 * $FreeBSD: head/sys/kern/kern_ntptime.c 56458 2000-01-23 14:52:37Z phk $
31 * $FreeBSD: head/sys/kern/kern_ntptime.c 58377 2000-03-20 14:09:06Z phk $
32 */
33
34#include "opt_ntp.h"
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/sysproto.h>
39#include <sys/kernel.h>
40#include <sys/proc.h>
41#include <sys/time.h>
42#include <sys/timex.h>
32 */
33
34#include "opt_ntp.h"
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/sysproto.h>
39#include <sys/kernel.h>
40#include <sys/proc.h>
41#include <sys/time.h>
42#include <sys/timex.h>
43#include <sys/timetc.h>
43#include <sys/timepps.h>
44#include <sys/sysctl.h>
45
46/*
47 * Single-precision macros for 64-bit machines
48 */
49typedef long long l_fp;
50#define L_ADD(v, u) ((v) += (u))

--- 808 unchanged lines hidden ---
44#include <sys/timepps.h>
45#include <sys/sysctl.h>
46
47/*
48 * Single-precision macros for 64-bit machines
49 */
50typedef long long l_fp;
51#define L_ADD(v, u) ((v) += (u))

--- 808 unchanged lines hidden ---