| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reviewed by: mux (mentor)
Approved by: mux (mentor)
|
|
|
|
|
|
| |
have special requirements.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
| |
Reviewed by: mux, scottl
Approved by: mux, scottl
|
|
|
|
| |
md root work on sparc64.
|
|
|
|
|
|
| |
size of the disklabel structure.
Hit by: schweikh
|
| |
|
|
|
|
|
| |
there, we would have noticed that 'ronly' was uninitialized :-).
- Kill a nearby 'register' keyword.
|
|
|
|
| |
Submitted by: "Peter Edwards" <pmedwards@eircom.net>
|
|
|
|
|
|
| |
struct sigcontext.
Pointy hat to: mike
|
| |
|
| |
|
|
|
|
| |
the kernel option _KPOSIX_VERSION.
|
|
|
|
| |
that it can be used in-kernel for a sysctl.
|
|
|
|
| |
Pointy hat to: mike
|
|
|
|
| |
to include <sys/signal.h> to include <sys/_posix.h>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
with the exception of indirect function calls, are assumed to be
intra load module and thus that GP will be the same. This avoids
saving, setting and restoring GP for each function call and
reduces the kernel with ~320KB. There's obviously a performance
benefit as well.
Note that since we generally don't know if calls will be intra or
inter load module when we're compiling kernel modules, -mconstant-gp
cannot be used for modules.
|
|
|
|
|
|
|
| |
not optimized away by the compiler in time for it to still leave the VOP
functions as inlines.
Submitted by: bde
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the "@gprel relocation against dynamic symbol xxx" linker error.
Variables defined in the link unit and small enough to be put in the
short data section will have a gp-relative access sequence (using the
@gprel relocation). It is invalid to have @gprel relocations in shared
libraries, because they are to be resolved by the static linker and
not the dynamic linker. The -fpic option will cause @ltoff relocations
for @gprel relocations, but the side-effects are untested (if any).
Instead, disable/eliminate the short data section to achieve the same.
|
|
|
|
|
|
|
|
|
|
|
|
| |
middle of this header.
o Remove unneeded conditionals to hide SIG* in the POSIX case.
(C allows implementations to define additional SIG* constants.)
o Add comments about missing features.
o Move the location of the sigset_t typedef.
o Update standards visibility conditionals.
o Fix some assumptions about what pid_t and uid_t are defined as.
o Remove size_t typedef and use __size_t in struct sigaltstack
instead.
|
|
|
|
| |
struct __sigset to avoid depending on objects from <sys/signal.h>.
|
| |
|
|
|
|
| |
o Fix printf format error for %d format with long argument.
|
|
|
|
|
|
|
|
|
|
| |
the predicate registers. Even though the ITLB and DTLB interrupts
happen often enough, this bug didn't do much harm. The reason
is that the interrupt handlers only modify p1 and since this is
a preserved (callee-saved) register it is hardly used in code
generated by the compiler. Compilers use scratch registers by
default. Changing the interrupt handlers to use p6 (ie a scratch
register) proved that the bug was in fact fatal.
|
| |
|
|
|
|
|
| |
sections so that the resulting load module has a single unwind
table. This matches the behaviour in userland.
|
|
|
|
|
|
|
|
|
|
|
| |
o Replace KSTACK_PAGES with pages on panic() in pmap_new_thread(),
o Fix style bugs in adjacent code,
o Use NULL instead of 0 for pointers,
o Save the virtual kstack address if we create an alternate
kstack because 1) we can derive the physical (RR7) address
from it and 2) we need the virtual address for contigfree()
in pmap_dispose_thread(). Thus td_altkstack saves
td_md.md_kstackvirt.
|
|
|
|
| |
Obtained from: peter
|
|
|
|
|
| |
pointers (but more precisely vm_offset_t) can be printed with %x. Use
%p instead and cast the argument to caddr_t.
|
|
|
|
|
|
| |
as a trivial function that only calls ia64_tpa() and hence requires
the prototype of ia64_tpa(), but by defining pmap_kextract as
ia64_tpa. This solves the inclusion ordering issue in ddb/db_watch.c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Add typedefs for gid_t, off_t, pid_t, and uid_t in the non-standards
case.
o Add struct iovec (also defined in <sys/uio.h>).
o Add visibility conditionals to avoid defining non-standard
extentions in the standards case.
o Change spelling of some types so they work without including
<sys/types.h> (u_char -> unsigned char, u_short -> unsigned short,
int64 -> __int64, caddr_t -> char *)
o Add comments about missing restrict type-qualifiers and missing
function.
|
|
|
|
|
|
|
|
|
| |
1024.
Silence on: -net, -ipfw 4weeks+
Reviewed by: dd
Approved by: knu (mentor)
MFC after: 3 weeks
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
| |
appropriate.
- include sched.h to see this new api.
|
|
|
|
|
|
|
|
|
|
| |
- Begin moving scheduler specific functionality into sched_4bsd.c
- Replace direct manipulation of scheduler data with hooks provided by the
new api.
- Remove KSE specific state modifications and single runq assumptions from
kern_switch.c
Reviewed by: -arch
|
| |
|
|
|
|
| |
MFC after: 0 days
|
|
|
|
|
| |
It's no different here. Update the rest of the kstack API's for scottl's
changes.
|
|
|
|
| |
Otherwise we get hundreds of 'could sleep' during boot.
|
|
|
|
|
|
|
|
|
|
| |
the locking of the proc lock after the goto to done1 to avoid locking
the lock in an error case just so we can turn around and unlock it.
- Move the exec_setregs() stuff out from under the proc lock and after
the p_args stuff. This allows exec_setregs() to be able to sleep or
write things out to userland, etc. which ia64 does.
Tested by: peter
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So do GEOM. Not a pretty sight.
Take all the interesting stuff out of GEOM::disk_create(), and leave just
the creation of the fake dev_t. Schedule the topology munging to happen
in the g_event thread with g_call_me().
This makes disk_create() pretty lock-agnostic, almost lock-atheist.
Tripped over by: peter
Sponsored by: DARPA & NAI Labs
|
| |
|
| |
|
|
|
|
|
| |
in other headers, add a visibility conditional to avoid namespace
pollution in the standards case.
|
|
|
|
|
| |
Reviewed by: bde
Tested on: i386 in ddb
|
|
|
|
| |
this no longer happens for callbacks.
|
|
|
|
|
|
|
| |
f/w as 12160 is used, and otherwise, this is just a single channel
variant of the 10160.
MFC after: 0 days
|
|
|
|
|
|
|
|
|
|
| |
pci_cvt_to_bwx.
This doesn't necessarily make bge(4) now actually *work* on an alpha.
It loads, configures, and then about 30 seconds later, my XP1000 hard
freezes. But, hey, it's a start.
Obtained from: gallatin@freebsd.org
|
|
|
|
| |
in X/Open case where `u_long' isn't available.
|
|
|
|
|
| |
uses of iov_base which assume its type is `char *' (in order to do
pointer arithmetic) have been updated to cast iov_base to `char *'.
|