Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/conf Remove these files. No one cares about th...



details:   https://anonhg.NetBSD.org/src/rev/58d23cc6dfbc
branches:  trunk
changeset: 359057:58d23cc6dfbc
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Jan 27 07:51:04 2018 +0000

description:
Remove these files. No one cares about this on i386, and there is no
point in keeping undocumented options nobody understands anyway.

diffstat:

 sys/arch/i386/conf/kern.ldscript.4MB |  89 ------------------------------------
 sys/arch/i386/conf/largepages.inc    |   7 --
 2 files changed, 0 insertions(+), 96 deletions(-)

diffs (104 lines):

diff -r c1cd39c59f34 -r 58d23cc6dfbc sys/arch/i386/conf/kern.ldscript.4MB
--- a/sys/arch/i386/conf/kern.ldscript.4MB      Sat Jan 27 07:45:57 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-/*     $NetBSD: kern.ldscript.4MB,v 1.19 2018/01/07 12:42:47 maxv Exp $        */
-
-#include "assym.h"
-
-/*
- * The large page size is 4MB in the non-PAE case.
- */
-
-__PAGE_SIZE = 0x1000 ;
-__LARGE_PAGE_SIZE = 0x400000 ;
-
-ENTRY(_start)
-SECTIONS
-{
-       .text : AT (ADDR(.text) & 0x0fffffff)
-       {
-               *(.text)
-               *(.text.*)
-               *(.stub)
-               . = ALIGN(__LARGE_PAGE_SIZE);
-       } =0xCC
-       _etext = . ;
-       PROVIDE (etext = .) ;
-
-       /*
-        * Push the rodata segment up to the next large page boundary so that we
-        * can map the text segment with large pages.
-        */
-       . = ALIGN(__LARGE_PAGE_SIZE);
-
-       __rodata_start = . ;
-
-       .rodata.hotpatch :
-       {
-               __rodata_hotpatch_start = . ;
-               *(.rodata.hotpatch)
-               __rodata_hotpatch_end = . ;
-       }
-
-       .rodata :
-       {
-               *(.rodata)
-               *(.rodata.*)
-       }
-
-       . = ALIGN(__PAGE_SIZE);
-
-       __data_start = . ;
-       .data :
-       {
-               *(.data)
-       }
-
-       . = ALIGN(COHERENCY_UNIT);
-       .data.cacheline_aligned :
-       {
-               *(.data.cacheline_aligned)
-       }
-       . = ALIGN(COHERENCY_UNIT);
-       .data.read_mostly :
-       {
-               *(.data.read_mostly)
-       }
-       . = ALIGN(COHERENCY_UNIT);
-
-       _edata = . ;
-       PROVIDE (edata = .) ;
-       __bss_start = . ;
-       .bss :
-       {
-               *(.bss)
-               *(.bss.*)
-               *(COMMON)
-               . = ALIGN(32 / 8);
-       }
-
-       . = ALIGN(__PAGE_SIZE);
-
-       /* End of the kernel image */
-       __kernel_end = . ;
-
-       _end = . ;
-       PROVIDE (end = .) ;
-       .note.netbsd.ident :
-       {
-               KEEP(*(.note.netbsd.ident));
-       }
-}
-
diff -r c1cd39c59f34 -r 58d23cc6dfbc sys/arch/i386/conf/largepages.inc
--- a/sys/arch/i386/conf/largepages.inc Sat Jan 27 07:45:57 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-#      $NetBSD: largepages.inc,v 1.4 2015/08/21 02:02:00 uebayasi Exp $
-#
-# Options to create a kernel suitable for mapping with large
-# pages.
-#
-
-makeoptions    KERNLDSCRIPT="kern.ldscript.4MB"



Home | Main Index | Thread Index | Old Index