summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.
2002-09-10Remove some debugging code, KNF, and fix encoding selection.Jason Wright
2002-09-10Register more wsscreen properties to take advantage of wsemul_sun changes.Jason Wright
2002-09-04Correctly decode the IDE channel/drive number when matching devicesJason Wright
(booting from master or slave on either channel should work now).
2002-08-20Two fixes from NetBSD (this allows my u60 to boot multiuser):Jason Wright
- Use paddr_t for avail_start and avail_end so we can handle machines with RAM above the 2GB mark. - Do not truncate the kernel pmap physical address to an `int' before sticking it in the context lookup table. Fixes a booting issue on Netra T1125s.
2002-08-19KNF (4 char continuations)Jason Wright
2002-08-19Take advantage of rasops.updatecursor to keep the prom cursor up to dateJason Wright
2002-08-19From NetBSD:Jason Wright
-Fix some corner cases in bus_dmamap_load_mbuf(). From Takeshi Nakayama <tn@catvmics.ne.jp> -Fix off-by-one error in iommu_dvmamap_load_raw() where if a DMA segment has just one byte on a page the page is never mapped into the IOMMU.
2002-08-16remove debugging codeJason Wright
2002-08-12Remove a large chunk of `#ifdef notyet' codeJason Wright
2002-08-09Add an explicit dependancy of assym.h to Makefile.Miod Vallat
This makes sure it will be regenerated if you run config(8) again.
2002-08-06catch 'break' and handle appropriately, I thought I had committed this long ago.Jason Wright
2002-08-03Don't depend on curproc, pass the proc * down to the functions that need it ↵Jason Wright
(fmovr/fmovcc).
2002-08-02registers should be volatile, also add yet more register defnsJason Wright
2002-08-02Do correct bounds checking in get/set/put cmap routines. A few ofTodd C. Miller
these check were already OK but have been modified for consistency. Problem found by Silvio Cesare.
2002-08-02add string for cputype (bad art =)Jason Wright
2002-08-02whitespaceJason Wright
2002-08-01add support for mapping interrupts.Jason Wright
2002-07-31de-registerJason Wright
2002-07-31From NetBSD:Jason Wright
In OPIOCNEXTPROP: if we are at the last property, set the buffer length to 0 instead of setting it to an uninitialized value (len).
2002-07-31Don't need to reserve space for promvec, we don't use it.Jason Wright
2002-07-31Remove the other references to promvecJason Wright
2002-07-31promvec was never initialized. For now, just call OF directly.Jason Wright
2002-07-30allow cf_flags to determine whether console acceleration should be used ↵Jason Wright
(defaults to yes)
2002-07-30simplify vgafb_mmap()Jason Wright
2002-07-30Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.Todd C. Miller
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
2002-07-29use ROP_OLD for VSCROLL, with this, vertical scroll (copyrows) works (and ↵Jason Wright
it's -fast-)
2002-07-29- cache the last value written to FBC_FG and avoid unnecessary fifo writesJason Wright
- add a copyrows implementation based on the VSCROLL drawing operation. It draws a correctly sized rectangle, but I have no idea where the source data came from... so it's currently disabled =)
2002-07-28documentationJason Wright
2002-07-28more registers; jason@ ok.Federico G. Schwindt
2002-07-28Add 'option NFSCLIENT' to macppc RAMDISK.Kenneth R Westerback
Delete (comment out) 'option NFSCLIENT' in sparc, sparc64, and sun3 RAMDISKs. This brings the presence of /sbin/mount_nfs in the boot image and the presence of NFSCLIENT in the RAMDISK kernel into alignment. Except for sparc64 which will now have mount_nfs removed from the boot image to save space. mvme88k RAMDISK did not need to be adjusted as it only *looks* like it does not have NFSCLIENT. It actually includes the system GENERIC. Investigation for inconsistancies prompted by todd@. This solution recommended by deraadt@.
2002-07-26bwtwo tested and works, minus one rasops fix coming soon.Miod Vallat
2002-07-26fifo needs 6 entries before we feed it rectangle commandJason Wright
2002-07-26- add hardware support for eraserows and erasecolsJason Wright
- also fix some register names and add yet more of them [one thing this chip isn't lacking is registers...]
2002-07-26- remove duplicate defnsJason Wright
- start at some utility functions for the FBC handling
2002-07-26- Move register defns to their own header file and add a whole bunch of themJason Wright
- map the fbc register set
2002-07-25use bus_space_map, not bus_space_map2, and fix failure printf'sJason Wright
2002-07-25There's no need to override the default mapping to big endian now that ↵Jason Wright
rasops8 handles byte swapping itself.
2002-07-25Adapt the framebuffer code to the WSDISPLAY_TYPE constant changes, andMiod Vallat
add the necessary magic for wsemul_sun color handling. Initially based on a patch from jason@, then some tinkering by me.
2002-07-24nuke debugging cruftJason Wright
2002-07-24add support for schizo streaming buffers (per PBM), but leave the buffers ↵Jason Wright
disabled for now
2002-07-24Go ahead and enable schizo, you're no worse off with it than without..Jason Wright
2002-07-24No need to cast &thing to paddr_t* when thing IS a paddr_tJason Wright
2002-07-24more use of volatile on registers, cleaningJason Wright
2002-07-24- don't need mmio or io registers mapped for console useJason Wright
- can't map expansion rom this way, remove it until we find a safe way - use less magic constants
2002-07-24Support for non-exec page mappings.Artur Grabowski
- split the one TSB into two - one for dmmu, one for immu. - don't load pages without PG_EXEC into the immu TSB. - support for setting correct permissions on exec faults.
2002-07-23Define __HAVE_SPLASSERT on architectures that support splassert.Artur Grabowski
2002-07-23When handling an interrupt record the interrupt level we're handlingArtur Grabowski
in a global variable (not mp safe!). Use that value for the reverse splassert check.
2002-07-20unconfuse indentation.Artur Grabowski
2002-07-20typoArtur Grabowski