summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
1999-11-16Optimize the case of writing to /dev/zero like we do in for /dev/nullArtur Grabowski
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-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-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-05remove some #if 0 code that will never be enabled anywayArtur Grabowski
1999-10-29Remove dead code.Artur Grabowski
!MACHINE_NONCONTIG && !MACHINE_NEW_NONCONTIG will not work anyway.
1999-10-29Use UVM by default on sparc.Artur Grabowski
1999-09-29some SUN4* ifdefsArtur Grabowski
1999-09-20delay for longer after each zsputcTheo de Raadt
1999-09-10roundup(foo, NBPG) -> round_page(foo)Artur Grabowski
1999-09-07print priJason Wright
1999-09-07update the comment about how the srmmu works (some names were wrong)Artur Grabowski
1999-09-07allow powerdown via tctrl driver for tadpole; from NetBSDJason Wright
1999-09-07add tadpole microcontroller device driver; from NetBSDJason Wright
power the tft down on screenblank
1999-09-06unbreak pmap_enterArtur Grabowski
1999-09-06unbreak things after the pmap_enter changeArtur Grabowski
1999-09-06remove debugging cruftJason Wright
1999-09-06p9100 console driver for tadpole 3g[sx] (based on cgthree.c and netbsd'sJason Wright
driver). Needs clean-up.
1999-09-05use small font if size <= 800x600 (was if size < 800x600)Jason Wright
1999-09-05support for the "short" mouse protocol on tadpole; from netbsdJason Wright
1999-09-03in pmap_enter4m use access_type to set the initial mod/ref flags on the pvArtur Grabowski
1999-09-03use setpgt4m for the initial mappings too, not that it really matters sinceArtur Grabowski
those pages are already uncached when needed, but it makes it more obvious what happens here.
1999-09-03We have to set the pagetable pointers with the atomic swap instruction.Artur Grabowski
From NetBSD. (actually from a paper I read recently, but since NetBSD already did that it was easier to grab the code from them)
1999-09-03Change the pmap_enter api to pass down an argument that indicatesArtur Grabowski
the access type that caused this mapping. This is to simplify pmaps with mod/ref emulation (none for the moment) and in some cases speed up pmap_is_{referenced,modified}. At the same time, clean up some mappings that had too high protection. XXX - the access type is incorrect in old vm, it's only used by uvm and MD code. The actual use of this in pmap_enter implementations is not in this commit.
1999-08-29simplfy attachment of fvme childrenJason Wright
1999-08-24Opps. forgot this in the last uvm updateArtur Grabowski
1999-08-21definitions needed by sbin/kbd/kbd_sparc.cMats O Jansson
1999-08-20cleanup pmap_enk4mArtur Grabowski
1999-08-20in pv_link4m malloc can sleep. Make the malloc earlier and check ifArtur Grabowski
reality has changed while we were (possibly) sleeping.
1999-08-20uninitialized variable; art@Jason Wright
1999-08-17factor out ie device definition; niklas@ okMichael Shalayeff
1999-08-17mem_access_fault4m: init ftype earlier to avoid passing junk to trapsignalArtur Grabowski
1999-08-17New cpu_fork API to take a stack in which you point the child's stackpointerNiklas Hallqvist
to, at the bottom or the top, depending on your architecture's stack growth direction. This is in preparation for Linux' clone(2) emulation. port maintainers, please check that I did the work right.
1999-08-06reformat and simplify a littleJason Wright
1999-08-06take advantage of new interrupt handler #ifdef AUDIO_C_HANDLERJason Wright
1999-08-06revamp interrupt handler to allow for return values:Jason Wright
<0 - interrupt might have been handled 0 - interrupt not handled >0 - interrupt definately handled
1999-07-25move around ioctl definitionsJason Wright
1999-07-23add fga, daadio, fvme, scf, flash for FORCE boards (commented out)Jason Wright
1999-07-23Drivers for the FORCE CPU-5V:Jason Wright
o fga5000 vme-sbus bridge o system config registers o flash memory and daadio VME board driver
1999-07-20don't cache pagetables on microsparc 1 either. From NetBSDArtur Grabowski
1999-07-20add support for "floating accent" and compose. -mojMats O Jansson
1999-07-18print layout as %x, to match kbd(8)Theo de Raadt
1999-07-18Add code to support none us keyboards in kernel. -mojMats O Jansson
1999-07-18rf support; m4@umn.eduTheo de Raadt
1999-07-14put sub-class of architecture in SVR4_SI_PLATFORMTheo de Raadt
1999-07-09oops. missed a fewArtur Grabowski