From: dusan3sic@gmail.com
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] print() in kernel space doesn't work like I would think
Date: Thu, 31 Aug 2023 12:53:04 -0400 [thread overview]
Message-ID: <16935007840.EA6A5c.73911@composer.9fans.topicbox.com> (raw)
In-Reply-To: <D9B54C4FE7CE164262847A7C775927A8@eigenstate.org>
[-- Attachment #1: Type: text/plain, Size: 1444 bytes --]
> show your diff.
(hint: bind -ac /dist/plan9front / && git/diff /sys/src/9 | webpaste)
diff 66fc6a3e6443d7eb8298f65b0c9803197d196ec7 uncommitted
--- a//sys/src/9/mkfile
+++ b//sys/src/9/mkfile
@@ -1,17 +1,17 @@
ARCH=\
- bcm\
- bcm64\
- cycv\
- kw\
+ #bcm\
+ #bcm64\
+ #cycv\
+ #kw\
#mtx\
- omap\
- pc\
+ #omap\
+ #pc\
pc64\
#ppc\
- sgi\
- teg2\
- xen\
- zynq\
+ #sgi\
+ #teg2\
+ #xen\
+ #zynq\
all:V:
for(i in $ARCH)@{
--- a//sys/src/9/pc64/main.c
+++ b//sys/src/9/pc64/main.c
@@ -182,7 +182,7 @@
i8250console();
quotefmtinstall();
screeninit();
- print("\nPlan 9\n");
+ print("\nPlan 69\n");
cpuidentify();
meminit0();
archinit();
--- a//sys/src/9/port/edf.c
+++ b//sys/src/9/port/edf.c
@@ -10,9 +10,10 @@
/* debugging */
enum {
- Dontprint = 1,
+ Dontprint = 0,
};
+
#define DPRINT if(Dontprint){}else print
static long now; /* Low order 32 bits of time in µs */
@@ -118,6 +119,7 @@
void
edfinit(Proc*p)
{
+ print("NESTO");
if(!edfinited){
fmtinstall('t', timeconv);
edfinited++;
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1d00dae663114b2-M4ca4b50abdab602d087c7b2f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 2874 bytes --]
next prev parent reply other threads:[~2023-08-31 16:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-31 15:43 dusan3sic
2023-08-31 15:48 ` Steve Simon
2023-08-31 16:27 ` ori
2023-08-31 16:31 ` ori
2023-08-31 16:46 ` dusan3sic
2023-08-31 16:58 ` dusan3sic
2023-08-31 17:25 ` dusan3sic
2023-08-31 17:34 ` ori
2023-09-01 10:59 ` dusan3sic
2023-08-31 19:42 ` ori
2023-08-31 16:53 ` dusan3sic [this message]
2023-08-31 17:20 ` ori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16935007840.EA6A5c.73911@composer.9fans.topicbox.com \
--to=dusan3sic@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).