summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2001-09-22pty cleanupTheo de Raadt
2001-09-22Remove more old, dusty, unused defines.Miod Vallat
2001-09-21Correct some pryntf() usage: get the correct number of arguments in theMiod Vallat
correct order.
2001-09-21Add the support for "-c", UKC in the bootloader. Note that currently thisDale Rahn
is not fully supported by the kernel, so will just hang the machine.
2001-09-21phys_map declaration comes from <vm/vm.h>, no need to declare it locally.Miod Vallat
2001-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok
2001-09-20On a fault the onfault condition should be set to the old handler, notDale Rahn
cleared. This code restored the old handler on normal completion but not on fault.
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff
2001-09-19Fix a typo... and remove return; at the end of a void function.Miod Vallat
2001-09-18Changing the way the pmap code works again.Dale Rahn
Changes to the pmap_enter code so that the pmap_kenter/pmap_kremove has a method to create mappings without adding them to the _pv lists (part of the point of pmap_k* functions). Also adds an interface so that device mappings can be created with cacheable attributes. So that devices such as display memory can be mapped writethru greatly increasing their speed.
2001-09-17Enable DMA for wdc_obio devices. This was the mode in which the recentDale Rahn
wdc_obio changes were tested, however this file was not commited to renable DMA for those devices. Minor missing item on the adb mouse, add it to mux 0. Muxing is still disabled, but this was missing.
2001-09-17The gfx display buffer should request that it be mapped cached (writethru).Dale Rahn
Not used yet, but when the bus_space_map code and pmap are fixed, this will speed up the console.
2001-09-16Make use of "export", "struct" and "member" keywords to be easier to readMiod Vallat
and simpler.
2001-09-16Update the bmac (if_bm) to a newer version from NetBSD.Dale Rahn
Now uses mii/mii_bitbang. Driver still has performance issues, It does not transfer as fast data as it should. No worse than before. Need to investigate a dhclient reported error: 'ip length 331 disagrees with bytes recieved 336'. only on if_bm.
2001-09-15Two changes here.Dale Rahn
Verify that regions which were allocated by stealing are not returned to phys_map, perhaps before phys_map is initialized. Not seen to be a problem, but is potentially. Also, the system can deal with not having the devices mapped with BATs. In fact after some testing the systems seem more stable when BATs are not used for devices. Stop using them, at least for now.
2001-09-15If ddb cannot find a symbol, do not print a useless address ofDale Rahn
?+(64k), instead print 0+0x<address>, at least that is useful.
2001-09-15reimplement dbdma such that it does memory allocationsMichael Shalayeff
w/ bus_dma(9) and rework drivers accordingly. make drivers use bus_dma as well, except for if_bm (later ;) . additionally, sync wdc_obio w/ netbsd. drahn@ ok, tested by miod@, pval@, brad@, mickey@
2001-09-15pass the dma tag to obio; drahn@ okMichael Shalayeff
2001-09-15implement _bus_dmamap_load_raw; drahn@ okMichael Shalayeff
2001-09-13The vgafb driver does not test memory, so no point mapping it during the probe.Dale Rahn
Also, there is no point in mapping more than the 'visual' area for vga memory. this will save kvm space on large memory display cards.
2001-09-12No need to be overkill for the french keyboard layout.Miod Vallat
2001-09-12Print avail/real memory sizes in KB in addition to bytes as in i386 land. ok ↵Peter Valchev
drahn
2001-09-12mbutl no moreArtur Grabowski
2001-09-11Fix uvm_km_suballoc() usage flags. ok art@ millert@Miod Vallat
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-09-11vm/vm_kern.h is not needed hereand it compiles (;Michael Shalayeff
2001-09-10mickey, at least compile them first.Dale Rahn
paddr_t should be protected with _LOCORE
2001-09-10move vtophys proto into a port-area in order to remove it for macppc ↵Michael Shalayeff
eventually; drahn@ ok
2001-09-10Remove some unused global variables.Dale Rahn
2001-09-10Device addresses should be mapped. It should be converted to bus_ accesses.Dale Rahn
This maps the region with mapiodev().
2001-09-10Devices should not poke random memory, even hacked code which should beDale Rahn
calling another driver to turn on it's enables properly. For now wi_obio will mapiodev the keywest enable region.
2001-09-09Protect debugger accesses with setfault. Should improve debugger usability,Dale Rahn
need to verify that kernel exception code deals with this properly.
2001-09-09Remove the old powerpc disassembler, it was bad, the replacement isDale Rahn
at least mostly useable.
2001-09-09cmp* opcode fixes for powerpc disassembler.Dale Rahn
2001-09-09Print OE and RC fields of the instructions if they are set in the instruction.Dale Rahn
2001-09-09Fix the parameter order for several instructions in the powerpc disassembler.Dale Rahn
2001-09-08DOH, do not make a cut and paste error just before committing...Dale Rahn
2001-09-08A mostly rewritten disassembler for powerpc.Dale Rahn
It attempts to follow proper powerpc assembler syntax and makes the disassembly much more readable.
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-09-05Unbreak trace command on macppc, ddb passes -1 for count toDale Rahn
db_stack_trace_cmd() as "all entries", however db_expr_t is a signed variable.
2001-09-05use dmamem/dmamap for allocating dmaable memory, since mallocMichael Shalayeff
can produce physically non-contiguous memory space, and thus trash the innocent pages. also make use of pci_mapreg_map and other `usefull' stuff (; import a reliability kludge from netbsd, the one to mark all buffers GMAC_OWN after rint is done. drahn@ ok
2001-09-05Improve debugger usability on macppc, do backtrace accessesDale Rahn
with setfault, to prevent double fault conditions. Add hex address on symbol translation. respect count field for db_stack_trace_cmd().
2001-09-05kvm space is limited by by pmap_virtual_space, Do not play with theDale Rahn
kvm min and max addresses.
2001-09-01correct files for the powerpc/mac/ -> macppc/dev which did not getDale Rahn
renamed correctly.
2001-09-01correct typo in file conversion.Dale Rahn
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/conf to macppc/conf files.powerpc was modified to keep powerpc common files.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/powerpc to macppc/macppc. These files were missed in the original move of this directory.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/pci to macppc/pci The file pci_machdep.h was not moved in this conversion. It needs to be check if it is correct that should be the only shared powerpc/pci file. Or if that file too should be MD, or more files MI.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/mac to macppc/dev
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/include to macppc/include Some files were not "moved" but wrapper files were created which include the powerpc/include version. Several of the powerpc/include files where changed to reflect that they are POWERPC_* not MACHINE_*.