summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
1999-11-17add MLINKsTodd C. Miller
1999-11-16- Teach vt_cuu (cursor up) about scrollback. Cursor down is much harder...Aaron Campbell
- 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.
1999-11-16typo in doc refMichael Shalayeff
1999-11-16flush the cache once we patched memory in ddbMichael Shalayeff
1999-11-16tabs vs spacesMichael Shalayeff
1999-11-16make a copy of attach args for each attachmentMichael Shalayeff
1999-11-16define TLB_BITS for %bMichael Shalayeff
1999-11-16fix argument access macro (+1 fuzz), align frame per hp requirementsMichael Shalayeff
1999-11-16openbsd/hppa is ELFDATA2MSBMichael Shalayeff
1999-11-16hpt_hashsize no more, using cr24 insteadMichael Shalayeff
1999-11-16stack does grows up; ddb breakpoints done (local); add note for btlb workMichael Shalayeff
1999-11-16Don't allocate vmmap in pmap_bootstrap, allocate it in mmrw when needed.Artur Grabowski
At the same time, give it a 'better' name.
1999-11-16Remove duplicate variable definitions.Artur Grabowski
1999-11-16No need to do "sp->sg_npte = 0" in an if (sp->sg_npte == 0)Artur Grabowski
1999-11-16Opps.. remove stuff that shouldn't be in the last commit.Artur Grabowski
1999-11-16Optimize the case of writing to /dev/zero like we do in for /dev/nullArtur Grabowski
1999-11-15honour ddb.console; ok deraadt@David Leonard
1999-11-14USB audio. Commented out.Hakan Olsson
1999-11-14protect against copuin faultsMichael Shalayeff
1999-11-14fix pmap_create() so it works for user mappings.Michael Shalayeff
fix syscall page mapping. small fixes to debug printfs. some knf in rare places.
1999-11-13overflow fixes; netbsdTheo de Raadt
1999-11-13overflow fixes; chuqTheo de Raadt
1999-11-13from chuq@chuq.com: several fixes to copy{in,out,}str() from charlesTheo de Raadt
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.
1999-11-12Break out the allocation of pv entries and 4m pagetables into functions.Artur Grabowski
This is a preparation to make them non-sleeping.
1999-11-11General cleanup of pmap.Artur Grabowski
- 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.
1999-11-09Adapt to changed pmap_enter API (the extra argument is a no-op).Artur Grabowski
1999-11-09Adapt to pmap_enter changes.Artur Grabowski
1999-11-09Add OpenBSD tags.Dale S. Rahn
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.
1999-11-09Remove old unused config files.Dale S. Rahn
IPX added to GENERIC, only because last released kernels were built that way.
1999-11-09Additional changes due to the fallout of the p4e -> ppc changes.Dale S. Rahn
1999-11-09Merge error in previous version caused compilation failure.Dale S. Rahn
Commit properly started and terminated.
1999-11-09autoconf.hDale S. Rahn
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.
1999-11-09autoconf.c:Dale S. Rahn
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. ???
1999-11-08Support for imac drivers, Additional configurations for mac kernels.Dale S. Rahn
Some mac drivers mentioned in the config files may not be be currently supported.
1999-11-08Changes for imac support. support for VI computers and MCG PowerstackDale S. Rahn
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.
1999-11-08Initial import of NetBSD macppc code to allow OpenBSD/powerpc to runDale S. Rahn
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.
1999-11-08move MI definition of rd into it's MI place also fixingMichael Shalayeff
attributes, allowing kernels to exist w/ rd as the only disk device. tested on a few archs; niels@ & millert@ ok
1999-11-07add APM powerhooks.Niels Provos
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.
1999-11-06make ramdiskB fitTheo de Raadt
1999-11-06move sea* to RAMDISKBTheo de Raadt
1999-11-05MACHINE_NEW_NONCONTIG is now default even without uvm.Artur Grabowski
1999-11-05Since we no longer allocate the iommu page tables in pmap_bootstrap, we canArtur Grabowski
remove unavail_{start,end} and simplify the code in pmap_page_upload.
1999-11-05Move the allocation of iomme ptes to iommuattach (where it belongs).Artur Grabowski
1999-11-05ite screen blanker, set to 10 minutes by default.Marc Espie
(niklas@ finally looked at the code)
1999-11-05remove some #if 0 code that will never be enabled anywayArtur Grabowski
1999-11-03Driver for Adaptec "StarFire" AIC6915-based Ethernet cards; from FreeBSD.Aaron Campbell
Thanks to jason@ for lots of debugging help.
1999-11-02support usermode disasmMichael Shalayeff
1999-11-01add it back inTheo de Raadt
1999-11-01remove mickey code to avoid branchingTheo de Raadt
1999-11-01setup_buffers: If the allocation of saved_pgs failed 'left' would beArtur Grabowski
uninitialized and we wouldn't know how much memory to allocate for buffers.