summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2002-08-08Completely rework transmit interrupt handling:Jason Wright
- try to handle tx ring reclaim in bestart() - if we pass over the high water mark, enable TX interrupts - disable them again when the low water mark is passed Thanks to mickey@ for enduring 4 versions of this =)
2002-08-07KNF (parenthesized returns)Jason Wright
2002-08-06catch 'break' and handle appropriately, I thought I had committed this long ago.Jason Wright
2002-08-06No, powerpc is not Elf64, it is Elf32. stupid comment error.Dale Rahn
2002-08-05the supported agp chipset list is md-configured, not miMichael Shalayeff
2002-08-03in fact, no need for switch_exit() completely, cpu_exit() handles the reins ↵Michael Shalayeff
to the cpu_switch and basta!
2002-08-03reorder stack_alloc() and add a commentMichael Shalayeff
2002-08-03store md_regs ptr before interrupts are enabled on syscall, do not store the ↵Michael Shalayeff
frame pointer on the stack on traps, just offset back from sp upon return
2002-08-03some more opt and diagnostic checks in set/remrunqueueMichael Shalayeff
2002-08-03opt {set,rem}runqueue a littlebitMichael Shalayeff
2002-08-03no need for a stack on exit() since u gets freed in a different context, ↵Michael Shalayeff
also s/P_MD/P_MD_REGS
2002-08-03u could get a little higherMichael Shalayeff
2002-08-03rework boot() w/o a gotoMichael Shalayeff
2002-08-03we do not use _c_label() evenMichael Shalayeff
2002-08-03Don't depend on curproc, pass the proc * down to the functions that need it ↵Jason Wright
(fmovr/fmovcc).
2002-08-03spell 'debugging' correctly with double 'g' (in comments)Peter Valchev
2002-08-03- don't use unexistant as(1) .weakext pseudo; found by todd@Federico G. Schwindt
- remove unused code. mickey@ ok. libc cross-compiling (i386->hppa) reported to work now.
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-02In hpux_sys_getcontext(), check for len <= 0 and return EINVAL.Todd C. Miller
Noted by Silvio Cesare
2002-08-02add string for cputype (bad art =)Jason Wright
2002-08-02whitespaceJason Wright
2002-08-02prevent integer overflow by verifying that ua.num is not too large.Nathan Binkert
ok niels, millert, art
2002-08-01add support for mapping interrupts.Jason Wright
2002-07-31fake out ELF stuffTheo de Raadt
2002-07-31lucifier is technical now; ok mickey@Todd T. Fries
2002-07-31de-registerJason Wright
2002-07-31Temporarily comment ELF support in the bootblocks, until this port isMiod Vallat
really ELF; necessary for this to compile after the recent <sys/exec_elf.h> changes. ok deraadt@
2002-07-31Remove mickey's debugging printf goop.Aaron Campbell
2002-07-31init pm_ptphint, hint from art@Michael Shalayeff
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-31support for changing stack execution protection through mprotect()Michael Shalayeff
by emulating the page execution protection bit and accounting for pages mapped executable on the stack and swapping the global user code descriptors for the process accordingly. this is tested w/ the regress test and art@ looked over it. there is still a mistery how executable mappings on fault works on i386 since no prot_exec faults ever happen.
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-29Recognize additional host bridges, pretty printing only, no function diff.Dale Rahn
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-26Zap VM_KMEM_SIZE, not used anymore.Artur Grabowski
Pointed out by francisco <frisco@blackant.net>
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