1 /* Intel 386 running any BSD Unix */
3 #include <machine/param.h>
4 #include <machine/vmparam.h>
6 /* Recent versions of FreeBSD don't define NBPG. */
13 #define HOST_PAGE_SIZE NBPG
14 #define HOST_MACHINE_ARCH bfd_arch_i386
15 #define HOST_TEXT_START_ADDR USRTEXT
17 /* Jolitz suggested defining HOST_STACK_END_ADDR to
18 (u.u_kproc.kp_eproc.e_vm.vm_maxsaddr + MAXSSIZ), which should work on
19 both BSDI and 386BSD, but that is believed not to work for BSD 4.4. */
22 /* This seems to be the right thing for BSDI. */
23 #define HOST_STACK_END_ADDR USRSTACK
24 #define HOST_DATA_START_ADDR ((bfd_vma)u.u_kproc.kp_eproc.e_vm.vm_daddr)
26 /* This seems to be the right thing for 386BSD release 0.1. */
27 #define HOST_STACK_END_ADDR (USRSTACK - MAXSSIZ)
30 #define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \
31 ((core_bfd)->tdata.trad_core_data->u.u_sig)
32 #define u_comm u_kproc.kp_proc.p_comm
This page took 0.029798 seconds and 4 git commands to generate.