linux-um archives
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: First shrinkage of *_user.c files
Date: Wed, 21 Jan 2004 20:29:44 +0100	[thread overview]
Message-ID: <200401212029.44947.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <200401202034.i0KKY4DG004042@ccure.user-mode-linux.org>

Alle 21:34, martedì 20 gennaio 2004, Jeff Dike ha scritto:
> blaisorblade_spam@yahoo.it said:
> > I've started removing some functions from the user_objs, and here
> > there are  the two first patches. Any comment on the style of these
> > changes is highly  appreciated. The next thing I'm going to do is to
> > remove entirely  hostaudio_user.c (I've already started this, but I've
> > not got a successful  test yet, since I also did a little fix in
> > this).
>
> Yeah, that's the style I'm looking for.  The goal should be to eliminate
> anything outside of arch/um/os needing any libc headers.
>
> Try to extract the essence of the libc dependency into arch/um/os rather
> than just moving large chunks of code there, which looks like what you're
> doing.
I added a function to os- and moved some other ones away from _user files.

The first is not too tiny because some other system could not have the 
termios.h abstraction, so it must be more abstract (for Windows it will 
probably be a no-op, since there is no support in the OS IMHO).

The moved functions didn't depend on userspace so I just moved them (they are 
tiny wrappers but are needed for some structures).

However, see the next patches I posted for more changes.

Bye
-- 
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.23/2.6.0 on an i686; Linux registered user n. 292729
EOSIGN



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-01-21 19:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-20 19:26 [uml-devel] First shrinkage of *_user.c files BlaisorBlade
2004-01-20 20:34 ` [uml-devel] " Jeff Dike
2004-01-21 19:29   ` BlaisorBlade [this message]
2004-01-21 19:19 ` [uml-devel] " BlaisorBlade
2004-02-13 23:55   ` Jeff Dike

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=200401212029.44947.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.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