diff options
author | nyan <nyan@FreeBSD.org> | 2002-02-08 11:14:16 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2002-02-08 11:14:16 +0000 |
commit | 3ecf840b663cab8525dd2ead8d4dabed294f14e8 (patch) | |
tree | 88cc93a14731f8d76e372211e514f0f1459a6c04 /sys | |
parent | 24237a30391c35940fa2c36bea11c74df207a926 (diff) | |
download | FreeBSD-src-3ecf840b663cab8525dd2ead8d4dabed294f14e8.zip FreeBSD-src-3ecf840b663cab8525dd2ead8d4dabed294f14e8.tar.gz |
MFi386: revisions 1.493 and 1.494.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/i386/machdep.c | 7 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 5b9bcd8..d34ed62 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -1715,13 +1715,18 @@ init386(first) #endif struct pcpu *pc; - proc_linkup(&proc0, &proc0.p_ksegrp, &proc0.p_kse, &thread0); proc0.p_uarea = proc0uarea; thread0.td_kstack = proc0kstack; thread0.td_pcb = (struct pcb *) (thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1; atdevbase = ISA_HOLE_START + KERNBASE; + /* + * This may be done better later if it gets more high level + * components in it. If so just link td->td_proc here. + */ + proc_linkup(&proc0, &proc0.p_ksegrp, &proc0.p_kse, &thread0); + #ifdef PC98 /* * Initialize DMAC diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 5b9bcd8..d34ed62 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -1715,13 +1715,18 @@ init386(first) #endif struct pcpu *pc; - proc_linkup(&proc0, &proc0.p_ksegrp, &proc0.p_kse, &thread0); proc0.p_uarea = proc0uarea; thread0.td_kstack = proc0kstack; thread0.td_pcb = (struct pcb *) (thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1; atdevbase = ISA_HOLE_START + KERNBASE; + /* + * This may be done better later if it gets more high level + * components in it. If so just link td->td_proc here. + */ + proc_linkup(&proc0, &proc0.p_ksegrp, &proc0.p_kse, &thread0); + #ifdef PC98 /* * Initialize DMAC |