[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd-l4/libl4 ChangeLog README l4.h l4/globals....
From: |
Marcus Brinkmann |
Subject: |
hurd-l4/libl4 ChangeLog README l4.h l4/globals.... |
Date: |
Thu, 18 Sep 2003 16:16:40 -0400 |
CVSROOT: /cvsroot/hurd
Module name: hurd-l4
Branch:
Changes by: Marcus Brinkmann <address@hidden> 03/09/18 16:16:40
Modified files:
libl4 : ChangeLog README l4.h
libl4/l4 : globals.h stubs-init.h stubs.h
Added files:
libl4/l4 : init.h
Log message:
2003-09-18 Marcus Brinkmann <address@hidden>
* l4.h (l4_init): Move to ...
* l4/init.h (l4_init): ... here. New file.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libl4/ChangeLog.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libl4/README.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libl4/l4.h.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libl4/l4/init.h?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libl4/l4/globals.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libl4/l4/stubs-init.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libl4/l4/stubs.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: hurd-l4/libl4/ChangeLog
diff -u hurd-l4/libl4/ChangeLog:1.10 hurd-l4/libl4/ChangeLog:1.11
--- hurd-l4/libl4/ChangeLog:1.10 Thu Sep 18 11:46:58 2003
+++ hurd-l4/libl4/ChangeLog Thu Sep 18 16:16:39 2003
@@ -1,5 +1,8 @@
2003-09-18 Marcus Brinkmann <address@hidden>
+ * l4.h (l4_init): Move to ...
+ * l4/init.h (l4_init): ... here. New file.
+
* l4/kip.h (l4_api_version): Replace with always inlined static
inline function.
* l4/thread.h (_L4_EXTERN_INLINE): Do not define. Replace all
Index: hurd-l4/libl4/README
diff -u hurd-l4/libl4/README:1.2 hurd-l4/libl4/README:1.3
--- hurd-l4/libl4/README:1.2 Thu Sep 18 11:46:58 2003
+++ hurd-l4/libl4/README Thu Sep 18 16:16:39 2003
@@ -66,8 +66,9 @@
------------------------------------------
If you are not using the dynamic linker, you can either link to libl4,
-or include <l4/globals.h> somewhere (but only once!) in your program.
-You also have to run l4_init() manually (defined in <l4.h>) to
+or include <l4/globals.h> and <l4/stubs.h> somewhere (but only once
+each!) in your program. You also have to run l4_init() (defined in
+<l4/init.h>) and l4_init_stubs() (defined in <l4/stubs-init.h>) to
initialize the global variables and fixup the system call stubs.
Index: hurd-l4/libl4/l4.h
diff -u hurd-l4/libl4/l4.h:1.2 hurd-l4/libl4/l4.h:1.3
--- hurd-l4/libl4/l4.h:1.2 Thu Sep 18 11:46:58 2003
+++ hurd-l4/libl4/l4.h Thu Sep 18 16:16:39 2003
@@ -31,17 +31,4 @@
#include <l4/misc.h>
#include <l4/kip.h>
-
-/* Initialize the global data. */
-static inline void
-__attribute__((__always_inline__))
-l4_init (void)
-{
- l4_api_version_t version;
- l4_api_flags_t flags;
- l4_kernel_id_t id;
-
- __l4_kip = l4_kernel_interface (&version, &flags, &id);
-};
-
#endif /* l4.h */
Index: hurd-l4/libl4/l4/globals.h
diff -u hurd-l4/libl4/l4/globals.h:1.1 hurd-l4/libl4/l4/globals.h:1.2
--- hurd-l4/libl4/l4/globals.h:1.1 Sat Jul 26 13:26:09 2003
+++ hurd-l4/libl4/l4/globals.h Thu Sep 18 16:16:40 2003
@@ -1,5 +1,28 @@
+/* globals.h - Global variables for libl4.
+ Copyright (C) 2003 Free Software Foundation, Inc.
+ Written by Marcus Brinkmann <address@hidden>.
+
+ This file is part of the GNU L4 library.
+
+ The GNU L4 library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public License
+ as published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ The GNU L4 library is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU L4 library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA. */
+
/* Only include this file once in your application to prevent the need
- to link with this library. */
+ to link with this library in a stand-alone application (rootserver
+ etc.). For normal applications, this will be taken care of by the
+ GNU C library. */
#include <l4/kip.h>
Index: hurd-l4/libl4/l4/stubs-init.h
diff -u hurd-l4/libl4/l4/stubs-init.h:1.1 hurd-l4/libl4/l4/stubs-init.h:1.2
--- hurd-l4/libl4/l4/stubs-init.h:1.1 Sat Jul 26 13:26:09 2003
+++ hurd-l4/libl4/l4/stubs-init.h Thu Sep 18 16:16:40 2003
@@ -1,3 +1,24 @@
+/* stubs-init.h - Initialization function for system call stubs.
+ Copyright (C) 2003 Free Software Foundation, Inc.
+ Written by Marcus Brinkmann <address@hidden>.
+
+ This file is part of the GNU L4 library.
+
+ The GNU L4 library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public License
+ as published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ The GNU L4 library is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU L4 library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA. */
+
#ifndef _L4_STUBS_INIT_H
#define _L4_STUBS_INIT_H 1
Index: hurd-l4/libl4/l4/stubs.h
diff -u hurd-l4/libl4/l4/stubs.h:1.1 hurd-l4/libl4/l4/stubs.h:1.2
--- hurd-l4/libl4/l4/stubs.h:1.1 Sat Jul 26 13:26:09 2003
+++ hurd-l4/libl4/l4/stubs.h Thu Sep 18 16:16:40 2003
@@ -1,5 +1,28 @@
+/* stubs.h - Global system call stubs variables for libl4.
+ Copyright (C) 2003 Free Software Foundation, Inc.
+ Written by Marcus Brinkmann <address@hidden>.
+
+ This file is part of the GNU L4 library.
+
+ The GNU L4 library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public License
+ as published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ The GNU L4 library is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU L4 library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA. */
+
/* Only include this file once in your application to prevent the need
- to link with this library. */
+ to link with this library in a stand-alone application (rootserver
+ etc.). For normal applications, this will be taken care of by the
+ GNU C library. */
#ifndef _L4_STUBS_H
#define _L4_STUBS_H 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd-l4/libl4 ChangeLog README l4.h l4/globals....,
Marcus Brinkmann <=