code: 9ferno

Download patch

ref: 6bfe4cf8107de7a01ff8a0667db7f28f08e4d238
parent: 06376e794c68626ea711c32d3872664910b84428
author: joe9 <joe9mail@gmail.com>
date: Wed Jul 14 11:40:51 EDT 2021

ignore generated file from version control

--- a/os/pc64/pc64.c
+++ /dev/null
@@ -1,140 +1,0 @@
-#include "u.h"
-#include "../port/lib.h"
-#include "mem.h"
-#include "dat.h"
-#include "fns.h"
-#include "io.h"
-#include "../port/error.h"
-#include "interp.h"
-
-#include "pc64.root.h"
-
-ulong ndevs = 29;
-extern Dev rootdevtab;
-extern Dev consdevtab;
-extern Dev archdevtab;
-extern Dev envdevtab;
-extern Dev mntdevtab;
-extern Dev pipedevtab;
-extern Dev progdevtab;
-extern Dev rtcdevtab;
-extern Dev srvdevtab;
-extern Dev dupdevtab;
-extern Dev ssldevtab;
-extern Dev capdevtab;
-extern Dev drawdevtab;
-extern Dev pointerdevtab;
-extern Dev vgadevtab;
-extern Dev ipdevtab;
-extern Dev etherdevtab;
-extern Dev audiodevtab;
-extern Dev uartdevtab;
-extern Dev sddevtab;
-extern Dev tinyfsdevtab;
-Dev* devtab[29]={
-	&rootdevtab,
-	&consdevtab,
-	&archdevtab,
-	&envdevtab,
-	&mntdevtab,
-	&pipedevtab,
-	&progdevtab,
-	&rtcdevtab,
-	&srvdevtab,
-	&dupdevtab,
-	&ssldevtab,
-	&capdevtab,
-	&drawdevtab,
-	&pointerdevtab,
-	&vgadevtab,
-	&ipdevtab,
-	&etherdevtab,
-	&audiodevtab,
-	&uartdevtab,
-	&sddevtab,
-	&tinyfsdevtab,
-	nil,
-};
-
-extern void ether2114xlink(void);
-extern void ethervirtiolink(void);
-void links(void){
-	ether2114xlink();
-	ethervirtiolink();
-}
-
-extern void sysmodinit(void);
-extern void drawmodinit(void);
-extern void tkmodinit(void);
-extern void keyringmodinit(void);
-extern void mathmodinit(void);
-void modinit(void){
-	sysmodinit();
-	drawmodinit();
-	tkmodinit();
-	keyringmodinit();
-	mathmodinit();
-}
-
-extern PCArch archgeneric;
-extern PCArch archmp;
-PCArch* knownarch[] = {
-	&archgeneric,
-	&archmp,
-	nil,
-};
-
-#include "../port/sd.h"
-extern SDifc sdvirtioifc;
-SDifc* sdifc[] = {
-	&sdvirtioifc,
-	nil,
-};
-
-extern PhysUart i8250physuart;
-PhysUart* physuart[] = {
-	&i8250physuart,
-	nil,
-};
-
-#include <draw.h>
-#include <memdraw.h>
-#include "screen.h"
-extern VGAdev vgavesadev;
-VGAdev* vgadev[] = {
-	&vgavesadev,
-	nil,
-};
-
-extern VGAcur vgasoftcur;
-VGAcur* vgacur[] = {
-	&vgasoftcur,
-	nil,
-};
-
-#include "../ip/ip.h"
-extern void tcpinit(Fs*);
-extern void udpinit(Fs*);
-extern void ipifcinit(Fs*);
-extern void icmpinit(Fs*);
-extern void icmp6init(Fs*);
-extern void ipmuxinit(Fs*);
-void (*ipprotoinit[])(Fs*) = {
-	tcpinit,
-	udpinit,
-	ipifcinit,
-	icmpinit,
-	icmp6init,
-	ipmuxinit,
-	nil,
-};
-
-	int kernel_pool_pcnt = 10;
-	int main_pool_pcnt = 40;
-	int heap_pool_pcnt = 20;
-	int image_pool_pcnt = 40;
-	int cflag=0;
-	int swcursor=0;
-	int consoleprint=1;
-char* conffile = "pc64";
-ulong kerndate = KERNDATE;