summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
AgeCommit message (Collapse)Author
2002-09-10rework the fpu csw a bit better and move non-trap related stuff to laterMichael Shalayeff
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-09set up the frame flags and a user frame better on execMichael Shalayeff
2002-09-09no need for a fdc thereMichael Shalayeff
2002-09-05fpu save state is a separate magic function nowMichael Shalayeff
2002-09-05things [in pmap] have changed, kundunMichael Shalayeff
2002-09-05move the kernel virtual away from the physical addressesMichael Shalayeff
and equivalently map the whole physical. this allows a lot of simplification in how kernel deals w/ page tables and physical pages. avoid series of bugs related to that. check for aliased mappings (none found so far), and properly flush/purge pages on zero/copy.
2002-09-05sort out the nlist and do definesMichael Shalayeff
2002-09-05no need for one extra frameMichael Shalayeff
2002-09-05this used to be a com(4) bugMichael Shalayeff
2002-09-03i magically fixed stty and mount, add some more of othersMichael Shalayeff
2002-09-03forgot to set up the sc_frequency (;Michael Shalayeff
2002-08-29soft line breaks do not work always, just nl and tab instead, prettier tooMichael Shalayeff
2002-08-28vm_offset_t/vm_size_t are on their way to tartars nowMichael Shalayeff
2002-08-28do not forget to export the weak alias, proper line continuationMichael Shalayeff
2002-08-27do not just bail out of the copy loop, but go to theMichael Shalayeff
'done' label for the job finish. major register missallocation for copyonfault, fix it. clean the space regs after use.
2002-08-13reset iir in the frame on _onfault handling, for mr.ddbMichael Shalayeff
2002-08-13hypasupadupacarefulness in spstrcpyMichael Shalayeff
2002-08-13remove a bogus extern, move another into another scopeMichael Shalayeff
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-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-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-07-31lucifier is technical now; ok mickey@Todd T. Fries
2002-07-31init pm_ptphint, hint from art@Michael Shalayeff
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-25missing arg in the call to the pdc_call since some old timesMichael Shalayeff
2002-07-25strip off annoying local gcc symbols (jason was complaining hangman being ↵Michael Shalayeff
too easy ;)
2002-07-25a few breakages w/ -current, maybe some other mickey might decide to fix thoseMichael Shalayeff
2002-07-25better kdbprinttrap() and copy over the frame into the db_regs when already ↵Michael Shalayeff
spl-high
2002-07-25preserve t4 as a saviour for the rp for the vfork() syscall. idea from fredette@Michael Shalayeff
unroll the tmp copy loop in the trap return and take care of the frame. remove unused altlabel in copy_on_fault
2002-07-25kcopy is a space-to-space copy from kernel space, to guess where, -- to the ↵Michael Shalayeff
same kernel space, just error on fault
2002-07-25only one trap generates exec fault and fetches the fault address from the pc ↵Michael Shalayeff
queues, also supply fault_type (not that it is used that much)
2002-07-24if it appears we are disassembling insn at the pc do not cause an extra ↵Michael Shalayeff
memory fetch (and possibly a fault loop) get one from the iir in the frame
2002-07-23only break in ddb if the kernel has been mappedMichael Shalayeff
2002-07-23print page protection w/ bits in dump_tableMichael Shalayeff
2002-07-21on itlb miss say type is VM_PROT_EXECUTE, per art@s suggestionMichael Shalayeff
2002-07-20Instead of copying out the signal trampoline on top of the stack, createArtur Grabowski
an uvm aobj, copy out the signal trampoline into it and share that page among all processes for the same emulation. This also requires us to actually be able to tell signal code where the trampoline is located, so introduce a new field in struct proc - p_sigcode that is a pointer to sigcode. This allows us to remove all the ugly calculations of the signal trampoline address done in every sendsig function in the tree (that's why so many files are changed). Tested by various people. ok deraadt@
2002-07-18if such an occasion occures that hpmc_dump() returns -- just summon the ↵Michael Shalayeff
global broadcast and reset
2002-07-18make reserved pages for the pv_pool variable on physmem (should pool get ↵Michael Shalayeff
preload in the future this is to be changed immidiately). map the page above the kernel stack unmapped
2002-07-18move kernel higher.Michael Shalayeff
request 7000 scheduling if only pa7000 is configured.
2002-07-17when bailing out from attach, -- pretend to be nice and place a backslashanMichael Shalayeff
2002-07-17be consistant w/ NBPG vs PAGE_SIZEMichael Shalayeff