Age | Commit message (Collapse) | Author |
|
|
|
|
|
be possible to have more optimial egcs support.
|
|
(don't forget that cpp is `lazy':
#define A B
#define B value
#if A == value
works, since A isn't extended before it's needed, by which time B is known)
|
|
|
|
|
|
|
|
|
|
|
|
we really should fix the config args of the wscons code.
|
|
soft interrupt.
|
|
This contains several pieces of the port
MI:
vgafb, on powerpc under openfirmware the vga card comes up in gfx mode.
instead of resetting it to text mode, vgafb treats this as a raster
display. The mechanism used may not have been the best, it's
interface to wscons is as a text display, and it does the character
plotting itself.
font_8x16.c was stolen from the atari port for use.
MD:
ppcppi support stolen from alpha
pms.c, pckbd.c and the rest of the support files were
used nearly directly.
powerpc
conf.c to support wscon, vga/kbd
machdep.c hack to get around a bus_space_set_region,bus_space_copy error.
ofw_machdep.c some hack code on the road to supporting wscons as console.
|
|
|
|
|
|
|
|
|
|
|
|
NCR driver seems to work.
Major changes are isa can be child of pci or mainbus.
ofroot is child of mainbus not root.
ofw bus configured before pci bus
Note that if a pci device configures accessing of driver will crash
the system. they need to be exclusive.
|
|
Need to get symbol support in the loader too.
|
|
|
|
access to the registers. The format of the registers returned in ptrace,
/proc and in the coredump header match what gdb was expecting.
Floating point registers are not yet copied into the structure.
The location of the fpr needs to be found and copied. <- TODO
Changes to trap.c was to add some interm debugging. code is commented out.
powerpc does not currently have a MID_* type, since it uses ELF instead
of a.out, one was never added. Currently the coredump is done in form
of MID_NONE. What is the correct approach for this?? Elf format coredumps...
maybe?
|
|
|
|
can be built.
|
|
Support for Openfirmware drivers was reintroduced so that more systems
were supported. This should work with the real driver configurations
as well.
Bootloader files were deleted/replaced with the newer versions in the
subdirectory. Some effort has been made to be closer to support booting
(at least the bootloader) on the Mac.
Config files that end with OFW are the openfirmware versions of the kernels
without have native drivers.
Native driver support has not been changed, presumably it still works.
I couldn't test that.
|
|
|
|
|
|
|
|
|
|
so far, the other archs gets placeholders for now. I wrote a compatibility
layer for OpenBSD's old isadma code so we can still use our old
driver sources. They will however get changed to native bus_dma use,
on a case by case basis. Oh yes, I almost forgot, I kept our notion
of isadma being a device so DMA-less ISA-busses still work
|
|
|
|
part. Some ports can optimize the swap operations. This also means the
general API is extended with swap16, swap32, htobe16, htobe32, betoh16,
betoh32, htole16, htole32, letoh16 and letoh32.
|
|
|
|
|
|
|
|
|
|
reference for making transferral of meta-information possible from
readdisklabel to bounds_check_with_label. The first (and maybe only)
thing that will use this is the multi-disklabel-format code on the
alpha where the labelsector is passed via cpu_disklabel so the label
write-protection can work correctly no matter what label was found.
Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel
implementations that contain it. This too is for multi-disklabel
architectures where the "bad" field can be inside a union. Use this
macro as a means for a driver to check if an architecture supports
dkbad constructs.
Remove proto of bounds_check_with_label from all MD disklabel.h as it
is in sys/disklabel.h.
I have not been able to test the changes everywhere, if I break anything
I apologize, and promise to fix it as soon as I become aware of it.
|
|
|
|
|
|
make time_t int not int32_t.
|
|
lint-free code when these differ in name accross platforms.
Fundamnetal type has not changed (was int on alpha and long on others).
|
|
usage in new ip_* code, since fixed. Added usage notes to prevent future
confusion in this regard.
|
|
|
|
|
|
I hate when things are sitting around in trees forgotten.
|
|
htonl and friends.
|
|
|
|
|
|
|
|
to clean up the interdependancies caused by the siginfo changes.
|
|
|