diff options
-rw-r--r-- | sys/amd64/amd64/locore.S | 13 | ||||
-rw-r--r-- | sys/amd64/amd64/locore.s | 13 | ||||
-rw-r--r-- | sys/i386/i386/locore.s | 13 |
3 files changed, 3 insertions, 36 deletions
diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index caf9822..2d34bdb 100644 --- a/sys/amd64/amd64/locore.S +++ b/sys/amd64/amd64/locore.S @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.52 1995/04/16 10:12:16 davidg Exp $ + * $Id: locore.s,v 1.53 1995/06/28 04:42:25 davidg Exp $ */ /* @@ -659,17 +659,6 @@ begin: /* now running relocated at KERNBASE where the system is linked to run */ addl $KERNBASE,%edx /* add virtual base */ movl %edx,_atdevbase -#include "sc.h" -#include "vt.h" -#if NSC > 0 || NVT > 0 - /* XXX: can't scinit relocate Crtat relative to atdevbase itself? */ - .globl _Crtat /* XXX - locore should not know about */ - movl _Crtat,%eax /* variables of device drivers (pccons)! */ - subl $(KERNBASE+0xA0000),%eax - addl %eax,%edx - movl %edx,_Crtat -#endif - /* set up bootstrap stack - 48 bytes */ movl $_kstack+UPAGES*NBPG-4*12,%esp /* bootstrap stack end location */ xorl %eax,%eax /* mark end of frames */ diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s index caf9822..2d34bdb 100644 --- a/sys/amd64/amd64/locore.s +++ b/sys/amd64/amd64/locore.s @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.52 1995/04/16 10:12:16 davidg Exp $ + * $Id: locore.s,v 1.53 1995/06/28 04:42:25 davidg Exp $ */ /* @@ -659,17 +659,6 @@ begin: /* now running relocated at KERNBASE where the system is linked to run */ addl $KERNBASE,%edx /* add virtual base */ movl %edx,_atdevbase -#include "sc.h" -#include "vt.h" -#if NSC > 0 || NVT > 0 - /* XXX: can't scinit relocate Crtat relative to atdevbase itself? */ - .globl _Crtat /* XXX - locore should not know about */ - movl _Crtat,%eax /* variables of device drivers (pccons)! */ - subl $(KERNBASE+0xA0000),%eax - addl %eax,%edx - movl %edx,_Crtat -#endif - /* set up bootstrap stack - 48 bytes */ movl $_kstack+UPAGES*NBPG-4*12,%esp /* bootstrap stack end location */ xorl %eax,%eax /* mark end of frames */ diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s index caf9822..2d34bdb 100644 --- a/sys/i386/i386/locore.s +++ b/sys/i386/i386/locore.s @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.52 1995/04/16 10:12:16 davidg Exp $ + * $Id: locore.s,v 1.53 1995/06/28 04:42:25 davidg Exp $ */ /* @@ -659,17 +659,6 @@ begin: /* now running relocated at KERNBASE where the system is linked to run */ addl $KERNBASE,%edx /* add virtual base */ movl %edx,_atdevbase -#include "sc.h" -#include "vt.h" -#if NSC > 0 || NVT > 0 - /* XXX: can't scinit relocate Crtat relative to atdevbase itself? */ - .globl _Crtat /* XXX - locore should not know about */ - movl _Crtat,%eax /* variables of device drivers (pccons)! */ - subl $(KERNBASE+0xA0000),%eax - addl %eax,%edx - movl %edx,_Crtat -#endif - /* set up bootstrap stack - 48 bytes */ movl $_kstack+UPAGES*NBPG-4*12,%esp /* bootstrap stack end location */ xorl %eax,%eax /* mark end of frames */ |