freebsd-nq/sys/i386/include
David Greenman 6cde7a165f Fixed two potentially serious classes of bugs:
1) The vnode pager wasn't properly tracking the file size due to
   "size" being page rounded in some cases and not in others.
   This sometimes resulted in corrupted files. First noticed by
   Terry Lambert.
   Fixed by changing the "size" pager_alloc parameter to be a 64bit
   byte value (as opposed to a 32bit page index) and changing the
   pagers and their callers to deal with this properly.
2) Fixed a bogus type cast in round_page() and trunc_page() that
   caused some 64bit offsets and sizes to be scrambled. Removing
   the cast required adding casts at a few dozen callers.
   There may be problems with other bogus casts in close-by
   macros. A quick check seemed to indicate that those were okay,
   however.
1998-10-13 08:24:45 +00:00
..
pc Cosmetic change: adjust copyright notice. 1998-09-25 11:55:46 +00:00
_limits.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ansi.h Added typedefs for __int64_t and __uint64_t. These will be used to avoid 1998-06-14 14:00:47 +00:00
apic.h Maintain a mapping from irq number to (ioapic number, int pin) tuple, 1998-09-06 22:41:42 +00:00
apicreg.h Maintain a mapping from irq number to (ioapic number, int pin) tuple, 1998-09-06 22:41:42 +00:00
apm_bios.h Add the ability to suspend as well as hibernate to the system. This 1998-07-06 06:29:07 +00:00
apm_segments.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
asc_ioctl.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
asm.h Fixed longstanding profiling bug. The frame pointer wasn't set up 1997-04-23 19:26:04 +00:00
asmacros.h Make the necessary changes so that an ELF kernel can be built. I 1997-04-22 06:55:47 +00:00
asnames.h Two new C symbols were added to apm_setup.s but not put into 1998-10-03 17:23:25 +00:00
atomic.h Change various syscalls to use size_t arguments instead of u_int. 1998-08-24 08:39:39 +00:00
bootinfo.h Remove the bi_vesa field, as vesa modeswitching is no longer performed 1998-10-01 18:25:04 +00:00
bus_at386.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
bus_dma.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
bus_memio.h Implementation of Bus Space for FreeBSD-x86. 1998-01-15 07:32:56 +00:00
bus_pc98.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
bus_pio.h Implementation of Bus Space for FreeBSD-x86. 1998-01-15 07:32:56 +00:00
bus.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
cdk.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
clock.h Remove special handling for resuming clock interrupt when using APIC_IO. 1998-03-05 21:45:53 +00:00
comstats.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
cons.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
console.h Yet another round of fixes for the VESA support code. 1998-10-01 11:39:18 +00:00
cpu.h - hw.machine_arch returns cpu architecture type. 1998-08-31 08:41:58 +00:00
cpufunc.h Add macros for accessing device memory. 1998-08-17 08:57:05 +00:00
cputypes.h Add CPU_PII to the list. 1998-05-22 00:03:23 +00:00
cronyx.h Don't declare prototypes for driver functions unless KERNEL is defined. 1998-02-03 20:07:02 +00:00
db_machdep.h Backed out rev.1.5. if %cs is bad, %eip may be bad, but this is no longer 1997-03-28 12:46:52 +00:00
dvcfg.h Changed inline' to __inline' so that this file can be compiled by 1998-02-03 20:14:35 +00:00
elf.h Add generic defines ELF_ARCH, ELF_CLASS, and ELF_DATA. These give 1998-09-14 20:30:13 +00:00
endian.h Put I*86_CPU options in opt_global.h and don't #include "opt_cpu.h" 1997-08-31 22:43:46 +00:00
exec.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
float.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
floatingpoint.h Cast return values to the appropriate fp_*_t. Note that the man page 1998-04-27 14:17:30 +00:00
frame.h VM86 kernel support. 1997-08-09 00:04:06 +00:00
globaldata.h Presently there is only one `currentldt' variable for all cpus 1998-08-18 07:47:12 +00:00
gsc.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ieeefp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_wl_wavelan.h Moved misplaced idempotency ifdef. Multiple inclusion was fatal since 1998-02-03 20:24:13 +00:00
iic.h Reviewed by: Doug Rabson 1998-09-03 21:00:08 +00:00
in_cksum.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
ioctl_bt848.h Changed tuner code to autodetect tuner i2c address. 1998-09-30 20:43:25 +00:00
ioctl_ctx.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ioctl_fd.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ioctl_meteor.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ipl.h Removed a bogus ifdef that broke using SWI_* in LKMs. 1998-08-11 19:21:17 +00:00
joystick.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
limits.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
lock.h Remove stuff related to microtime.s, which is gone. 1998-04-06 11:38:18 +00:00
lpt.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
md_var.h Goodbye BOUNCE_BUFFERS, for a hack it has served us well. 1998-09-25 17:34:49 +00:00
mouse.h Reviewed by: Amancio 1998-06-14 20:05:27 +00:00
mpapic.h Use <machine/*.h> instead of <i386/include/*.h>. 1998-02-01 22:23:18 +00:00
mptable.h mp_machdep.c: Set a vector to boot code (PC-98). 1998-10-10 13:37:16 +00:00
mtpr.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
npx.h Removed unused #includes and a stale forward declaration. 1997-07-20 11:06:44 +00:00
param.h Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
pcaudioio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
pcb_ext.h A couple of missing doscmd header files. Messed up again. Now can 1997-08-09 04:55:05 +00:00
pcb.h Ifdefed some SMP and VM86 code. Note that although VM86 is not a global 1998-02-03 21:27:50 +00:00
pci_cfgreg.h Completely replace the PCI bus driver code to make it better reflect 1997-05-26 15:08:43 +00:00
pcpu.h Presently there is only one `currentldt' variable for all cpus 1998-08-18 07:47:12 +00:00
pcvt_ioctl.h Fixed conflicts between <machine/console.h> and <machine/pcvt_ioctl.h>, 1998-02-03 19:57:46 +00:00
perfmon.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
pmap.h Remove bogus comment that teleported in from sys/i386/i386/mp_machdep.c. 1998-06-21 14:08:27 +00:00
proc.h Convert md_regs from an int[] to a struct trapframe *. It simplifies 1997-05-07 19:55:13 +00:00
profile.h Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
psl.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ptrace.h Disallow reading the current kernel stack. Only the user structure and 1998-05-19 00:00:14 +00:00
random.h Converted add_interrupt_randomness() to take a `void *' arg. Rewrote 1998-06-21 11:33:32 +00:00
reg.h Add new functions fill_fpregs() and set_fpregs(), like fill_regs() 1998-09-14 22:43:40 +00:00
reloc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
segments.h Revert my previous commit about using CS_SECURE macro. 1997-08-21 06:33:04 +00:00
setjmp.h Suggested by: bde 1998-01-20 09:09:24 +00:00
si.h Add a macro tweak. 1998-06-13 19:36:22 +00:00
signal.h VM86 kernel support. 1997-08-09 00:04:06 +00:00
smb.h Reviewed by: Doug Rabson 1998-09-03 21:00:08 +00:00
smp.h Maintain a mapping from irq number to (ioapic number, int pin) tuple, 1998-09-06 22:41:42 +00:00
smptests.h Remove stuff related to microtime.s, which is gone. 1998-04-06 11:38:18 +00:00
soundcard.h soundcard.h wasn't upgraded when i386/isa/snd was 1998-02-18 02:27:00 +00:00
speaker.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
specialreg.h - Implement enabling write allocate on AMD K5/K6/K6-2 cpus. 1998-10-06 13:16:29 +00:00
spigot.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
stdarg.h Don't attempt to generate errors for unpromoted types in va_arg(), 1997-06-21 15:45:13 +00:00
sysarch.h u_int --> unsigned int, remove (now unneeded) <sys/types.h> 1998-07-28 15:22:51 +00:00
trap.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tss.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
types.h Changed to the C9x draft spelling of the (unsigned) integral type 1998-07-14 05:09:48 +00:00
ultrasound.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
varargs.h Fixed va_arg() to work for small args (as in stdarg.h). 1997-06-21 16:20:55 +00:00
vm86.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
vmparam.h Increased MAXTSIZ to 128MB...there are binaries that get quite large. 1998-06-12 09:10:22 +00:00
wtio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00