kernel: remove unused cruft: delaylink, normalprint

This commit is contained in:
cinap_lenrek 2024-11-16 03:37:45 +00:00
parent 705638e189
commit 14c36f2b16
12 changed files with 4 additions and 30 deletions

View file

@ -176,7 +176,6 @@ struct
extern register Mach* m; /* R27 */
extern register Proc* up; /* R26 */
extern int normalprint;
/*
* a parsed plan9.ini line

View file

@ -202,7 +202,6 @@ extern register Mach* m; /* R10 */
extern register Proc* up; /* R9 */
extern uintptr kseg0;
extern Mach* machaddr[MAXMACH];
extern int normalprint;
/*
* a parsed plan9.ini line

View file

@ -174,7 +174,6 @@ struct
extern register Mach* m; /* R27 */
extern register Proc* up; /* R26 */
extern int normalprint;
/*
* a parsed plan9.ini line

View file

@ -155,8 +155,6 @@ struct
extern register Mach* m; /* R10 */
extern register Proc* up; /* R9 */
extern int normalprint;
void nope(void);
#define NOPE nope();

View file

@ -9,7 +9,6 @@
#include "../port/error.h"
Conf conf;
int normalprint, delaylink;
enum { MAXCONF = 64 };
@ -227,10 +226,7 @@ main(void)
timersinit();
procinit0();
initseg();
if(delaylink)
bootlinks();
else
links();
links();
archinit();
chandevreset();
pageinit();

View file

@ -180,7 +180,6 @@ struct
extern register Mach* m; /* R27 */
extern register Proc* up; /* R26 */
extern int normalprint;
/*
* a parsed plan9.ini line

View file

@ -180,7 +180,6 @@ struct
extern register Mach* m; /* R27 */
extern register Proc* up; /* R26 */
extern int normalprint;
/*
* a parsed plan9.ini line

View file

@ -31,7 +31,6 @@ uintptr kseg0 = KZERO;
Mach* machaddr[MAXMACH];
int vflag;
int normalprint;
char debug[256];
/* store plan9.ini contents here at least until we stash them in #ec */

View file

@ -13,7 +13,6 @@
Mach *m;
Conf conf;
int delaylink;
int idle_spin;
extern void (*i8237alloc)(void);
@ -56,10 +55,7 @@ main(void)
arch->clockenable();
procinit0();
initseg();
if(delaylink){
bootlinks();
}else
links();
links();
chandevreset();
pageinit();
userinit();

View file

@ -11,7 +11,6 @@
#include "rebootcode.i"
Conf conf;
int delaylink;
int idle_spin;
extern void (*i8237alloc)(void);
@ -211,10 +210,7 @@ main(void)
arch->clockenable();
procinit0();
initseg();
if(delaylink){
bootlinks();
}else
links();
links();
chandevreset();
preallocpages();
pageinit();

View file

@ -154,8 +154,6 @@ struct
extern register Mach* m; /* R10 */
extern register Proc* up; /* R9 */
extern int normalprint;
extern ulong *mpcore, *slcr;
void nope(void);

View file

@ -9,7 +9,6 @@
#include "../port/error.h"
Conf conf;
int normalprint, delaylink;
enum { MAXCONF = 64 };
@ -337,10 +336,7 @@ main(void)
timersinit();
procinit0();
initseg();
if(delaylink)
bootlinks();
else
links();
links();
archinit();
chandevreset();
pageinit();