内射老阿姨1区2区3区4区_久久精品人人做人人爽电影蜜月_久久国产精品亚洲77777_99精品又大又爽又粗少妇毛片

如何配置netbsd內(nèi)核

這篇文章主要講解了“如何配置netbsd內(nèi)核”,文中的講解內(nèi)容簡(jiǎn)單清晰,易于學(xué)習(xí)與理解,下面請(qǐng)大家跟著小編的思路慢慢深入,一起來(lái)研究和學(xué)習(xí)“如何配置netbsd內(nèi)核”吧!

專(zhuān)注于為中小企業(yè)提供網(wǎng)站制作、網(wǎng)站建設(shè)服務(wù),電腦端+手機(jī)端+微信端的三站合一,更高效的管理,為中小企業(yè)張北免費(fèi)做網(wǎng)站提供優(yōu)質(zhì)的服務(wù)。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動(dòng)了超過(guò)千家企業(yè)的穩(wěn)健成長(zhǎng),幫助中小企業(yè)通過(guò)網(wǎng)站建設(shè)實(shí)現(xiàn)規(guī)模擴(kuò)充和轉(zhuǎn)變。

這個(gè)內(nèi)核配置文件,要經(jīng)過(guò)config進(jìn)行處理

第一行表示,要包含一個(gè)文件

include     "arch/evbmips/conf/std.loongson", 內(nèi)容如下:

# $NetBSD: std.loongson,v 1.2 2017/08/08 12:22:21 maya Exp $


machine evbmips mips
include        "conf/std"    # MI standard options


options     MIPS3_ENABLE_CLOCK_INTR
options     ENABLE_MIPS_16KB_PAGE


options     PMON


# Platform support
options        MIPS3_LOONGSON2
options        MIPS3
options        MIPS3_LOONGSON2F
options     LOONGSON2        # IDT LOONGSON2


makeoptions    LP64="yes"


options     EXEC_ELF64
options        EXEC_ELF32    # exec ELF32 binaries
options        EXEC_SCRIPT    # exec #! scripts
options     COMPAT_NETBSD32


makeoptions    CPUFLAGS="-mips3 -mdivide-breaks -Wa,-mfix-loongson2f-btb -Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop" # CPU codegen options
makeoptions    DEFTEXTADDR="0x80200000"
makeoptions    BOARDTYPE="loongson"


include "arch/evbmips/conf/files.loongson"

它又包含了兩個(gè)文件:

1 conf/std

# $NetBSD: std,v 1.23 2019/01/27 02:08:41 pgoyette Exp $
#
# standard MI 'options'   標(biāo)準(zhǔn)的不能取消的選項(xiàng)
#
# this file is for options which can't be off-by-default for some reasons.
# "it's commonly used" is NOT a good reason to enable options here.


#
# Always include "kern" attribute (module).  Other attributes don't need to
# depend on "kern".
#
select    kern       有內(nèi)核模塊屬性,在輸出目錄里,有kern_xxx.d & kern_xxx.o


# Always include the "vfs" attribute (module).  Although all of the
# ufs/xxx file systems depend on the vfs attribute, it is not required
# that any file system actually be built-in to the kernel.  (At least
# on some architectures, file system modules can be loaded at boot
# time.)


select vfs            有vfs,虛擬文件系統(tǒng)屬性,在輸出目錄里,有vfs_xxx.d & vfs_xxx.o 


select    net        # XXX Clean up dependency


# the following options are on-by-default to keep
# kernel config file compatibility.
下面的選項(xiàng),默認(rèn)都是打開(kāi)的

options    VMSWAP        # Swap device/file support
options    BUFQ_FCFS    # First-come First-serve strategy
options    BUFQ_DISKSORT    # Traditional min seek sort strategy
options    RFC2292        # Previous version of Adv. Sockets API for IPv6
options    PTRACE        # Include ptrace(2) syscall
options    PTRACE_HOOKS    # Include ptrace hooks
options    COREDUMP    # allow processes to coredump.
options    AIO        # POSIX asynchronous I/O
options    MQUEUE        # POSIX message queues


# Common compatibility functions. They happen to be needed even when
# no compatibility option is explicitly enabled.
#
options        COMPAT_UTILS


#
# Security model.
#
options    secmodel_bsd44    # Traditional 4.4BSD security model


#
# Scheduling algorithm
#
options    SCHED_4BSD


pseudo-device    cpuctl


#
# Kernel entropy pool and random-number generator pseudodevice.
# The pseudodevice might stop being "std" when the two are torn
# apart some day but the entropy pool itself never will (they are
# presently implemented in the same source file)
#
pseudo-device    rnd

2 arch/evbmips/conf/files.loongson

#    $NetBSD: files.loongson,v 1.5 2014/07/20 10:22:54 alnsn Exp $


# Standard stanzas config(8) can't run without
maxpartitions 16
maxusers 8 16 64


file    arch/evbmips/loongson/autoconf.c
file    arch/evbmips/loongson/loongson_bus_io.c
file    arch/evbmips/loongson/loongson_bus_mem.c
file    kern/subr_disk_mbr.c
file    arch/evbmips/loongson/loongson_intr.c
file    arch/evbmips/evbmips/interrupt.c
file    arch/evbmips/loongson/gdium_machdep.c
file    arch/evbmips/loongson/generic2e_machdep.c
file    arch/evbmips/loongson/yeeloong_machdep.c
file    arch/evbmips/loongson/isa_machdep.c    isa
file    arch/evbmips/loongson/loongson2_machdep.c
file    arch/evbmips/loongson/machdep.c


file    arch/mips/mips/bus_dma.c
file    arch/mips/mips/mips3_clock.c
file    arch/mips/mips/mips3_clockintr.c


# Memory Disk
file    dev/md_root.c                memory_disk_hooks


# Stack-less Just-In-Time compiler
include    "external/bsd/sljit/conf/files.sljit"


include "dev/ata/files.ata"
include "dev/scsipi/files.scsipi"
include "dev/i2o/files.i2o"
include "dev/isa/files.isa"
include "dev/pci/files.pci"
include "dev/pci/files.agp"
include "dev/usb/files.usb"
include "dev/bluetooth/files.bluetooth"
include "dev/pckbport/files.pckbport"


device    mainbus {[addr = -1] }
attach    mainbus at root
file    arch/evbmips/loongson/mainbus.c        mainbus


file    arch/evbmips/loongson/bonito_mainbus.c    bonito_mainbus


device    cpu
attach    cpu at mainbus
file    arch/evbmips/evbmips/cpu.c        cpu


device    clock
attach    clock at mainbus


include "arch/mips/conf/files.bonito"


# AMD Geode CS5536 companion chip
file    arch/evbmips/loongson/dev/glx.c        bonito & pci


# AMD Geode CS5535/CS5536 PCI-ISA bridge
device    gcscpcib: isabus, sysmon_wdog, gpiobus
attach    gcscpcib at pci with gcscpcib_pci
file    arch/evbmips/loongson/dev/gcscpcib_pci.c gcscpcib_pci
file    dev/ic/gcscpcib.c            gcscpcib


# Other PCI-ISA bridges
device    pcib: isabus
attach    pcib at pci
file    arch/evbmips/loongson/dev/pcib.c    pcib | gcscpcib


file    arch/mips/pci/pciide_machdep.c        pciide_common


device    mcclock: mc146818
attach    mcclock at isa with mcclock_isa
file    arch/evbmips/isa/mcclock_isa.c        mcclock_isa


# Lemote Yeeloong KB3310B Embedded Controller
device    ykbec
attach    ykbec at isa
file    arch/evbmips/loongson/dev/kb3310.c    ykbec needs-flag


# Gdium ST7 controller
device    stvii
attach    stvii at iic
file    arch/evbmips/loongson/dev/stvii.c            stvii needs-flag
defflag opt_stvii.h STVII_DEBUG


# SM502 OHCI
#attach    ohci at voyager with ohci_voyager
#file    arch/loongson/dev/ohci_voyager.c    ohci_voyager

感謝各位的閱讀,以上就是“如何配置netbsd內(nèi)核”的內(nèi)容了,經(jīng)過(guò)本文的學(xué)習(xí)后,相信大家對(duì)如何配置netbsd內(nèi)核這一問(wèn)題有了更深刻的體會(huì),具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識(shí)點(diǎn)的文章,歡迎關(guān)注!

網(wǎng)站標(biāo)題:如何配置netbsd內(nèi)核
標(biāo)題網(wǎng)址:http://www.rwnh.cn/article20/ggdojo.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供動(dòng)態(tài)網(wǎng)站、、App開(kāi)發(fā)網(wǎng)頁(yè)設(shè)計(jì)公司、網(wǎng)站改版、企業(yè)建站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

小程序開(kāi)發(fā)
松江区| 大冶市| 濉溪县| 通化县| 那曲县| 漳平市| 舒兰市| 闽侯县| 乡宁县| 普陀区| 南溪县| 思茅市| 龙胜| 田阳县| 松潘县| 武陟县| 连平县| 拉孜县| 富民县| 涪陵区| 黄梅县| 岳阳市| 大余县| 泰宁县| 休宁县| 利川市| 安岳县| 桃园市| 济阳县| 潜山县| 左贡县| 开原市| 菏泽市| 孟村| 通辽市| 襄樊市| 文登市| 东源县| 青河县| 九江市| 微博|