| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
struct __sigset to avoid depending on objects from <sys/signal.h>.
|
| |
|
|
|
|
|
| |
o Standardize on _MACHINE_STDARG_H_ to allow multiple header includes.
o Restrict the definition of va_copy() to C99 environments.
|
|
|
|
| |
standard.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NB: But it will enable it in all kernels not having options "NO_GEOM"
Put the GEOM related options into the intended order.
Add "options NO_GEOM" to all kernel configs apart from NOTES.
In some order of controlled fashion, the NO_GEOM options will be
removed, architecture by architecture in the coming days.
There are currently three known issues which may force people to
need the NO_GEOM option:
boot0cfg/fdisk:
Tries to update the MBR while it is being used to control
slices. GEOM does not allow this as a direct operation.
SCSI floppy drives:
Appearantly the scsi-da driver return "EBUSY" if no media
is inserted. This is wrong, it should return ENXIO.
PC98:
It is unclear if GEOM correctly recognizes all variants of
PC98 disklabels. (Help Wanted! I have neither docs nor HW)
These issues are all being worked.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
<sys/cdefs.h>.
|
| |
|
| |
|
|
|
|
|
| |
Approved by: benno
Motivated by: gallatin
|
|
|
|
|
|
|
| |
selected ala sparc64
- KSEIII routines implemented (taken from i386/sparc64)
Approved by: Benno
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
doesn't give them enough stack to do much before blowing away the pcb.
This adds MI and MD code to allow the allocation of an alternate kstack
who's size can be speficied when calling kthread_create. Passing the
value 0 prevents the alternate kstack from being created. Note that the
ia64 MD code is missing for now, and PowerPC was only partially written
due to the pmap.c being incomplete there.
Though this patch does not modify anything to make use of the alternate
kstack, acpi and usb are good candidates.
Reviewed by: jake, peter, jhb
|
| |
|
|
|
|
| |
case.
|
|
|
|
| |
Approved by: jake (for sparc64)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MD function is just a wrapper around db_stack_trace_cmd() that prints out
a backtrace of curthread. Currently, this function is only implemented
on i386 and alpha (and the alpha version isn't quite tested yet, will do
that in a bit). Other changes:
- For i386, fix a bug in the raw frame address case. The eip we extract
from the passed in frame address does not match the frame we received.
Thus, instead of printing a bogus frame with the wrong eip, go ahead
and advance frame down to the same frame as the eip we are using.
- For alpha, attempt to add a way of doing a raw trace for alpha. Instead
of passing a frame address in 'addr', pass in a pointer to a structure
containing PC and KSP and use those to start the backtrace. The alpha
db_print_backtrace() uses asm to read in the current PC and KSP values
into such a request.
Tested on: i386
Requested by: many
|
|
|
|
| |
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
|
|
|
| |
- enable GEM ethernet cell if present
- allow sparse address mapping for devices
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
|
|
| |
interrupts
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
|
|
| |
- update for recent KSE changes
Approved by: benno
|
|
|
|
|
|
| |
- turn on ast() loop to enable signal delivery
Approved by: benno
|
|
|
|
|
|
|
| |
- syscall register spills weren't copied in correctly
- removed VM_PROT_READ from the fault type on write protect faults
Approved by: benno
|
|
|
|
|
| |
Obtained from: NetBSD
Approved by: benno
|
|
|
|
|
|
| |
- fix szsigcode size declaration
Approved by: benno
|
|
|
|
|
|
|
|
|
|
| |
- remove test in pmap_activate that prevented vmspace sharing (v/rfork)
- always sync icache in pmap_enter until problems are sorted
- fix incorrect use of regions in pmap_kenter
- bring in pmap_release from NetBSD
- fix overwrite of bootstrap flag in pmap_pvo_enter
Approved by: benno
|
|
|
|
|
|
| |
- comment out re-enabling of interrupts until problems are sorted
Approved by: benno
|
|
|
|
|
|
| |
address space
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
|
|
|
|
|
| |
- sysctl for cacheline size, required by libc/rtld
- init'd more exception vectors
- fixed problem with register overwrite in exec_setregs
- removed redundant NetBSD code
Approved by: benno
|
|
|
|
| |
Approved by: benno
|
|
|
|
|
|
| |
- added sigframe offset
Approved by: benno
|
|
|
|
|
|
|
| |
- converted inline asm to C for int enable
- shifted clearing of 'cold' to end of routine
Approved by: benno
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.
Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
|
|
|
|
|
|
|
|
|
| |
next step is to allow > 1 to be allocated per process. This would give
multi-processor threads. (when the rest of the infrastructure is
in place)
While doing this I noticed libkvm and sys/kern/kern_proc.c:fill_kinfo_proc
are diverging more than they should.. corrective action needed soon.
|
| |
|
|
|
|
| |
Most of the non-i386 platforms had rather broken implementations anyway.
|
|
|
|
|
| |
architectures, move the definition directly into <time.h> and finish
the removal of <machine/ansi.h>.
|
|
|
|
|
|
| |
sysentvec. Initialized all fields of all sysentvecs, which will allow
them to be used instead of constants in more places. Provided stack
fixup routines for emulations that previously used the default.
|
|
|
|
|
| |
unforced errors that Bruce identified. I have not yet addressed all of
his concerns.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the original hardwired sysctl implementation.
The buf size calculator still overflows an integer on machines with large
KVA (eg: ia64) where the number of pages does not fit into an int. Use
'long' there.
Change Maxmem and physmem and related variables to 'long', mostly for
completeness. Machines are not likely to overflow 'int' pages in the
near term, but then again, 640K ought to be enough for anybody. This
comes for free on 32 bit machines, so why not?
|
|
|
|
| |
imgact.h with the other exec support functions.
|