Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



matthias
Sat Apr 11 10:44:12 PDT 1998
Update of /cvsroot/src/sys/arch/pc532/pc532
In directory nb00:/tmp/cvs-serv7319

Modified Files:
        machdep.c locore.s mainbus.c trap.c vm_machdep.c 
Log Message:
Changes for kernels compiled with -mrtd:

locore.s:
- cpu_switch "returns" to proc_trampoline after cpu_fork. cpu_switch is
  called with an argument, remove it from the stack when not compiled
  with -DMRTD.
- use KENTRY instead of ENTRY for all functions called from C.
- when calling C code, don't clean up the stack when compiled with -DMRTD.
- need to split fusubail into fubail and subail, because fu and su
  take different number of arguments.

machdep.c:
- set sf_p when dumping
- new function do_softclock (that just calls softclock) because softclock
  doesn't take an argument.

mainbus.c:
- establish softclock interrupt to call do_softclock

trap.c:
- trap() and syscall() allways use std C calling conventions.
- need to split fusubail into fubail and subail, because fu and su
  take different number of arguments.
- make child_return take only one argument like the other functions
  "called" via cpu_set_kpc.

vm_machdep.c:
- set sf_p in cpu_fork.





Home | Main Index | Thread Index | Old Index