Age | Commit message (Collapse) | Author |
|
bsd) unless some other object has changed. Rebuild and reinstall
in /usr/src/usr.sbin/config/ after updating!
"I like it" deraadt@
|
|
|
|
a few arches where toolchain limitations apply) will embed some symbolic
information about the various structs used within the kernel, and have
new ddb commands allowing struct display and some useful information
gathering. Kernel rodata increase varies accross platforms from ~150KB to
~300KB.
This option is not enabled by default.
|
|
for us.
|
|
|
|
GENERIC and SUN4M kernels.
ok miod@
|
|
firmwares into the smaller (and larger) media
ok krw
|
|
not all Sun mice run at the canonical 1200 bps, hop between 1200, 4800 and
9600 bps by paying attention to breaks on the line.
Attachement and engine code written 7 years ago for OpenBSD/sparc, except for
sparc64 com(4) attachment. Speed hop idea borrowed from Opensolaris.
This allows sparc and sparc64 users to run X11 without needing a configuration
file anymore, as it was in the XFree86 3.x days. Multihead configurations
will still need a minimal configuration file, though.
|
|
for it.
It is very unlikely this still compiles, the hardware is dead. It isn't in any
arch's config file. the sparc sbus code is even commented out in files.sparc.
Not to mention that the code is fucking appauling, doesn't even know that sparc
got bus.h ages ago, still uses vtophys(), defines all types of functions to
arch-specific hacks.
I will miss the bitchy comments, though...
As a note to other drivers: this is the fate that awaits you if you screw up my
ctags on commonly used functions.
"you have my ok" claudio@, "zap zap zap" deraadt@
If i've missed any bits, please remove them.
|
|
What happened was that the output of mkdep was fed to a sed expression
that trimmed a bit more than required and also failed to work when
attempting to do make depend with pcc.
Example:
genassym_c.o: /tmp/genassym.whatever ../../../../../sys/param.h \
was changed to:
assym.h: \
but what was intended was:
assym.h: ../../../../../sys/param.h \
For the pcc -M output things were a bit different and after the make
depend the genassym entry would still remain and make would fail. This
affected all platforms except amd64 and sgi.
Okay miod@.
|
|
ok deraadt@
|
|
|
|
|
|
|
|
|
|
bsd.rd does not overlap the boot code... this problem is starting to
feel familiar.. tested by myself and claudio
|
|
|
|
|
|
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.
There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.
Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..
|
|
decide which files must be pulled into the kernel. Also conditionalize
the pulling of those files based on the COMPAT_* options.
|
|
- Move the functionality of choosing a process from cpu_switch into
a much simpler function: cpu_switchto. Instead of having the locore
code walk the run queues, let the MI code choose the process we
want to run and only implement the context switching itself in MD
code.
- Let MD context switching run without worrying about spls or locks.
- Instead of having the idle loop implemented with special contexts
in MD code, implement one idle proc for each cpu. make the idle
loop MI with MD hooks.
- Change the proc lists from the old style vax queues to TAILQs.
- Change the sleep queue from vax queues to TAILQs. This makes
wakeup() go from O(n^2) to O(n)
there will be some MD fallout, but it will be fixed shortly.
There's also a few cleanups to be done after this.
deraadt@, kettenis@ ok
|
|
kernel builds locally this doesnt change much but over NFS this
cuts about 12% of the build time on my setup (i386).
OK miod@, deraadt@.
|
|
ok jmc@
|
|
committed.
|
|
miod@ tested (since I hacked it up blindly) and ok.
|
|
|
|
use of MD spl code bowels. No functional change.
|
|
rasops code; 3.5KB off RAMDISK kernels.
|
|
ignored previously.
|
|
attribute anymore; remove it and use option WSEMUL_SUN instead, which gets
added to all sparc* kernels.
While there, do not compile vt100 emulation on sparc* kernels, this saves 16+
KB of text.
ok deraadt@
|
|
does), and only use the 24 bit color planes when running X.
Not tested, but can't be worse than before - the code it replaces was busted
anyway.
|
|
- There is no need to check for buses config(8) will not let us attach to
- Better P4 bus logic, which does not need to abuse device flags
- Do not bother trying to print a meaningful device description when it is
not connected to sbus.
|
|
|
|
offending code has been taken out and shot. ok deraadt@
|
|
user-controllable device flags are parsed, be sure to rerun config(8) on your
next kernel compile.
|
|
(with symbols) to bsd.gdb, then strips bsd. This diff makes it rename the
file with symbols, and then asks strip to output the stripped version as
bsd. Avoids a potentially lengthy wait when we would otherwise copy the
large (50MB+) kernel with debug symbols.
ok reyk@ ketennis@
|
|
|
|
otherwise it's just a waste of bytes.
ok deraadt@ mickey@
|
|
|
|
ok deraadt@ beck@ marco@
|
|
|
|
|
|
registers. However, those are handled specifically since they do not have
the same meaning as the regular sun4c/sun4m auxio register.
A specific auxregbisc() function is provided for explicit sparcbook operation.
|
|
- Merge in4_cksum().
From NetBSD
ok miod@
|
|
ok deraadt@
|
|
|
|
|
|
|
|
|
|
(S3000, S4000 and S4000DX).
Currently limited to diskless and serial console, and userland has issues.
Things will get better in the near future.
|