peter
2758e4d126
I forgot to add the NO_MODULES override for NOTES
2004-02-08 00:39:38 +00:00
peter
2130efebdf
Remove the badsw* INVARIANTS checks. The events that this attempts
...
to catch are already nicely caught by trapping the null pointer derefs.
Remove no-longer-used noswitch/nothrow strings. They were referenced
by the stub cpu_switch() etc functions before they were implemented.
Try something a little different for the lock prefixes.
Prompted by: bde (the first two items anyway)
2004-02-06 20:38:39 +00:00
peter
bc64bec121
Turn of ath since it causes a link failure without the hal till sam's
...
set up with a cross compiler and has the time to port the hal.
2004-02-06 01:51:58 +00:00
kan
d9a02c577a
Rename cn_unavailable to cnunavailable for little more consistency.
...
Garbage collect unused cndebug() function.
Suggested by: bde
2004-02-05 17:35:28 +00:00
kan
8f796dca97
Eliminate global cons_unavailable flag and replace it by the status
...
bit maintained on a per-device basis. Single variable is inadequate
on machines running with multiple consoles enabled.
2004-02-05 01:56:43 +00:00
peter
ab0acdea92
Don't cast a pointer to an int that isn't big enough.
2004-02-05 00:12:08 +00:00
peter
9e7adae9ee
Fix long/int printf format problems exposed by PMAP_DIAGNOSTIC
2004-02-05 00:11:05 +00:00
peter
ff4831ac36
Checkpoint a NOTES file I had as of Nov 23rd. It doesn't quite compile
...
due to triggering some printf breakage in some DIAGNOSTIC printfs.
2004-02-04 22:53:50 +00:00
obrien
7cbe948ad2
Remove a device that will compile fine, isn't 64-bit clean.
2004-02-02 00:54:59 +00:00
peter
da4e5dcea7
GRR. MFi386: white space spam
2004-01-30 03:02:45 +00:00
peter
35e9c42442
Merge some more changes from i386.
2004-01-30 00:24:45 +00:00
peter
a636c15bf6
Re-add debug register support.
...
Some other minor tweaks snuck in here, including supporting more
discontiguous memory segments and some cosmetic tweaks.
2004-01-29 00:07:29 +00:00
peter
1f9d5a9d5f
Re-add user_dbreg_trap() for debug register support
2004-01-29 00:05:03 +00:00
peter
84101901e9
Take another shot at the invariants calls to __panic. They hadn't been
...
updated for the regparm ABI on amd64.
Context switch debug regs.
Update for fpu simplification
Don't needlessly reload %cr3, in case the cpu has the tlb flush filter
turned off. Re-add LAZY_SWITCH stubs.
2004-01-29 00:02:54 +00:00
peter
d81f14ca41
deal with dbregs for fork etc
...
update for fpu.c simplification
Merge #include sort from i386
2004-01-28 23:58:55 +00:00
peter
9a46d33d9d
Un-stub the hardware debug register stuff.
2004-01-28 23:57:40 +00:00
peter
0b10d660d5
Export PCB_DR* symbols
2004-01-28 23:57:02 +00:00
peter
57db6c4451
We can simplify a lot of things now that we don't have to worry about
...
hardware bugs on external 386 cpus and now that we can depend on SSE.
2004-01-28 23:55:58 +00:00
peter
5e45c69f41
Add dbreg struct definitions for /proc/*/dbregs and a place to store the
...
registers in the pcb
2004-01-28 23:54:31 +00:00
peter
9ba1ee132d
Re-add debug register functions
2004-01-28 23:53:04 +00:00
peter
ecb3754972
MFi386: mp_topology().
2004-01-28 23:51:16 +00:00
peter
3383d7b6d7
MFi386: add THERMTRIP msr values
2004-01-28 23:47:22 +00:00
peter
6a2a2134ea
Diff reduction with i386
2004-01-28 23:46:48 +00:00
peter
2d4ebade5c
MFi386: change an outb to a DELAY()
2004-01-28 20:46:31 +00:00
alc
b6ff09ea29
MFi386 revision 1.230
...
- Move smp_topology to subr_smp.c so that it is defined on all architectures.
2004-01-25 06:19:37 +00:00
jeff
8a4acc2156
- Recruit some new ULE users by making it the default scheduler in GENERIC.
...
ULE will be in a probationary period to determine whether it will be left
as the default in 5.3 which would likely mean the rest of the 5.x series.
2004-01-24 21:38:52 +00:00
nectar
70865363ca
Add PFIL_HOOKS to the GENERIC kernel configuration, primarily so
...
that one can load the IPFilter module (which requires PFIL_HOOKS).
Requested by: Many, for over a year
2004-01-24 14:59:51 +00:00
peter
df899a25be
Unbreak amd64: Rename calls from panic to __panic
2004-01-23 01:04:28 +00:00
phk
f1ded671b0
remove elan_mmcr, I'm not sure I understand what it did here in the
...
first place.
2004-01-17 13:13:48 +00:00
nectar
11f80dcf0d
Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm
...
at it, use the ANSI C generic pointer type for the second argument,
thus matching the documentation.
Remove the now extraneous (and now conflicting) function declarations
in various libc sources. Remove now unnecessary casts.
Reviewed by: bde
2004-01-09 16:52:09 +00:00
nectar
caf374ec70
Remove `static' prototype from header file.
2004-01-06 20:36:21 +00:00
jhb
e88fb5f481
Use i8259A register defines from shared header sys/dev/ic/i8259.h instead
...
of from the amd64-specific icu.h.
2004-01-06 19:05:25 +00:00
davidxu
f39653dda8
Make sigaltstack as per-threaded, because per-process sigaltstack state
...
is useless for threaded programs, multiple threads can not share same
stack.
The alternative signal stack is private for thread, no lock is needed,
the orignal P_ALTSTACK is now moved into td_pflags and renamed to
TDP_ALTSTACK.
For single thread or Linux clone() based threaded program, there is no
semantic changed, because those programs only have one kernel thread
in every process.
Reviewed by: deischen, dfr
2004-01-03 02:02:26 +00:00
alc
ec97880a76
- Use pagezero() instead of bzero() in pmap_pinit(). (pagezero() is much
...
faster.)
MFi386:
- Don't bother clearing PG_ZERO on the page table page in
_pmap_allocpte(); it serves no purpose.
- Don't bother clearing and setting PG_BUSY on page table directory pages.
2004-01-01 07:08:52 +00:00
silby
a7d8091ae5
Track three new sendfile-related statistics:
...
- The number of times sendfile had to do disk I/O
- The number of times sfbuf allocation failed
- The number of times sfbuf allocation had to wait
2003-12-28 08:57:09 +00:00
silby
a58bddbe36
Move the declaration of sfbufspeak and sfbufsused to mbuf.h,
...
and use imax instead of max, as sfbufspeak and sfbufsused
are signed.
Submitted by: bde
2003-12-28 01:43:22 +00:00
silby
5c5418dd6e
Track current and peak sfbuf usage, export the values via sysctl.
2003-12-27 07:52:47 +00:00
peter
daf42805ba
GC the unused <machine/kse.h> file.
2003-12-24 00:51:30 +00:00
peter
998b79089f
Add an additional field to the elf brandinfo structure to support
...
quicker exec-time replacement of the elf interpreter on an emulation
environment where an entire /compat/* tree isn't really warranted.
2003-12-23 02:42:39 +00:00
alc
eae1da31ea
- Significantly reduce the number of preallocated pv entries in
...
pmap_init(). Such a large preallocation is unnecessary and wastes
nearly eight megabytes of kernel virtual address space per gigabyte
of managed physical memory.
- Increase UMA_BOOT_PAGES by two. This enables the removal of
pmap_pv_allocf(). (Note: this function was only used during
initialization, specifically, after pmap_init() but before
pmap_init2(). During pmap_init2(), a new allocator is installed.)
2003-12-22 01:01:32 +00:00
alc
4c2ac4ecef
Since we have additional kernel virtual address space, allow the buffer
...
cache to grow to 400M bytes.
2003-12-20 20:03:10 +00:00
peter
c330930b3b
MFi386: remove APIC_IRQ* defines that are no longer used.
2003-12-11 02:48:25 +00:00
peter
53f83b99f5
MFi386: (jhb): Deal with MAXCPU etc correctly
2003-12-11 02:47:35 +00:00
obrien
1bf6892caf
Add just enough of i386/include/pcvt_ioctl.h to amd64/include/pcvt_ioctl.h
...
such that 'ispcvt' can build. Unforunately 'ispcvt' is needed in order for
/etc/rc.d/syscons to run. This fixes the bug where I could not get my
keymap effective at boot.
2003-12-10 02:49:17 +00:00
njl
efa66ad0f3
Use the ACPI-CA definitions for the various APIC tables instead of our
...
own.
2003-12-09 03:04:19 +00:00
alc
e1402f3305
Increase VM_KMEM_SIZE_MAX from 200MB to 400MB.
...
Discussed with: peter
2003-12-07 04:51:04 +00:00
peter
a2b247f294
Reconfigure the runq macros to use the 64 bit ffs/bsf routines instead
...
of doing a loop and taking two 32 bit passes at the runqueue bits. All
the 64 bit platforms should probably do this since there are 64 run queues.
Approved by: re (scottl)
2003-12-06 23:24:18 +00:00
peter
955dcc87c1
Add 64 bit bsf*/ffs* routines. Have the ffs() inline use gcc's builtin
...
because it uses the better cmove instructions to avoid branches.
2003-12-06 23:22:43 +00:00
peter
e875083eea
Various whitespace and cosmetic sync-up's with i386.
...
Approved by: re (scottl)
2003-12-06 23:19:47 +00:00
peter
09751b87c2
amd64_protection_init and the protection_codes[] array was overkill.
...
Inline it instead.
Approved by: re (scottl)
2003-12-06 23:18:42 +00:00