Age | Commit message (Collapse) | Author |
|
|
|
- Support ANSI save/restore cursor position escape sequences.
- Move the line-wrap check out of the STATE_INIT case so it is executed
regardless of the state. This fixes a subtle bug.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
At the same time, give it a 'better' name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fix syscall page mapping.
small fixes to debug printfs.
some knf in rare places.
|
|
|
|
|
|
and myself: don't panic if maxlen == 0, just return ENAMETOLONG.
treat maxlen as unsigned like the manpage indicates. avoid crashing
if the userspace address is >= KERNBASE. make sure *done is 0 when no
bytes are copied.
|
|
This is a preparation to make them non-sleeping.
|
|
- 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.
|
|
|
|
|
|
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.
|
|
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)
|
|
|
|
Thanks to jason@ for lots of debugging help.
|
|
|
|
|
|
|
|
uninitialized and we wouldn't know how much memory to allocate for buffers.
|