Age | Commit message (Collapse) | Author |
|
|
|
|
|
- MACHINE_NONCONTIG will no longer work and all code that is not
MACHINE_NEW_NONCONTIG is removed.
- Kill the pv_table hack which adds complexity to the code and wastes some
memory, let the vm "handle" the pv lists through the vm_physmem array,
this makes allocation a lot easier.
- kill the managed() macro, since it was only used to see if pvhead would
end up in a "hole" in pv_table.
- pvhead() is now a function that returns NULL if the page is unmanaged. It
also takes a page number as an argument instead of the physical address,
since in most cases pvhead was called as pvhead(ptoa(pa)) anyway and it
did an atop internally.
|
|
|
|
|
|
was already so for native and sunos, the rest was just
wasting space on it. niels@ millert@ ok
|
|
|
|
is only allowed if the user is the superuser. Aparently this got
missed when the ifmedia support was added in ages ago. More or less
based on how NetBSD does it (though it is rather obvious).
|
|
|
|
|
|
|
|
|
|
changes to boot on Apple iMac G3 (333). ethernet address changes
Locore.c
OpenBSD tag
hack to delay decrementer exception until after bootload,
apple OFW enables interrupts during "system calls"
add OF_call_method, to make ofw call by name.
Apple OFW can return unexpected values from getchar calls.
alloc.c
OpenBSD tag
boot.c
OpenBSD tag
updated (but still unused load symbol code).
Code cleanup for egcs.
cache.c
OpenBSD tag
use dcbst, not dcbf
icbi has both arguments as registers, not constant and register.
net.c
OpenBSD tag
netif_of.c
OpenBSD tag
add "local-mac-address" to methods of fetching mac address,
it can be stored in that variable or in mac-address.
support dma buffers,
add additional return value for OF_read for network timeout purposes.
ofdev.c
OpenBSD tag
support dma buffers,
ofdev.h
OpenBSD tag
add dmabuf
remove MAC default kernel def.
ofwmagic.S
OpenBSD tag
openfirm.h
OpenBSD tag
boot.mac/Makefile
Build debug, - not used for version 3 apple openfirmware, ie imacs.
|
|
IPX added to GENERIC, only because last released kernels were built that way.
|
|
|
|
Commit properly started and terminated.
|
|
|
|
add mac hooks to the powerpc config structure, probably
a hack, and certainly needs to be cleaned up.
bus.h
p4e_ -> ppc_X
add write_multi and prototypes for bus_space_X_raw_multi functions.
intr.h
add structure for interrupt handler.
pio.h
remove the unnecessary and slowing "sync" instruction from
each pio access.
remove unnecessary newline characters from the generated asm.
eieio after writes, but before reads.
types.h
formatting change
vmparam.h
change powerpc kernel virtual memory sizing from a fixed segment
to a variable, initialized with a segment size, this is
so that the pmap allocator can steal virtual memory, if vm
is not yet set up. Necessary for mapping devices before the
kernel vm structures are initialized.
|
|
for the console configuration.
|
|
|
|
|
|
calculate delay time for delay() before it is acutally used.
add support for md_diskconf come closer to supporting crashdumps,
eventually this code should be un if 0 ed and supported.
add the wd device as a supported device, fix some comments.
clock.c:
support calculation of delay loop earlier, do the spin loop correcly,
unsigned math on the lower half, not signed math.
conf.c:
addd support for wd driver, block major 0, char major 11.
machdep.c:
bus_space_map becomes a real function, not just inlined function.
Support devices that are not mapped with bats (most still currently
are mapped with bats,...). BAT mapping does not allow proper
mapping of cachable devices.
mapiodev HACK, NEEDS TO BE REMOVED. added for quicker import
of BROKEN mac drivers. the drivers NEED to be rewritten in
a busified manner. it would FIX all of the endian swabbing
done by each driver. (Is that emphasized enough?)
bus_space_(read|write)_raw_multi as functions, should these
be turned into inline functions and put in bus.h?
ofw_machdep.c:
removed extranious variable.
openfirm.c:
telling openfirmware to "boot" will put the system
in somewhat of a strange state, try reset-all, but that
typically fails, therefore, try OF_exit before spinning.
pmap.c:
support stealing memory from kernel address space so that
mappings can be created before vm is initalized.
vm_machdep.c:
maybe the meaning of removing this will later become obvious. ???
|
|
Some mac drivers mentioned in the config files may not be be currently
supported.
|
|
will need to be merged back in. Both are currently untested.
mac interrupt support is currently a big hack and needs to be redesigned
as part of the system, several of the mac drivers need busified also.
|
|
on the imac computer, Additional hardware and driver support will follow.
Initially wdc_obio support the imac (333Mhz) atapi cdrom and the ATA harddrive.
also Bmac ethernet is supported at least at 10Mb.
|
|
attributes, allowing kernels to exist w/ rd as the only disk device.
tested on a few archs; niels@ & millert@ ok
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from NetBSD, Sat Jun 26 08:25:25 1999 UTC by augustss:
Add powerhooks, i.e., the ability to register a function that will be
called when the machine does a suspend or resume.
XXX Will go away when Jason's kevents come to life.
|
|
|
|
|
|
|
|
|
|
|
|
remove unavail_{start,end} and simplify the code in pmap_page_upload.
|
|
|
|
(niklas@ finally looked at the code)
|
|
|
|
so the .h file always has the same revision number. Regen.
|
|
|
|
We have diverged from NetBSD in that wdc_exec_xfer no longer automatically
swaps.
|
|
|
|
noticed that through personal use, double checked with NetBSD if_wireg.h
|
|
|
|
|
|
|