harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r350181 [161/198] - in /incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core: ./ depends/ depends/files/ depends/jars/ depends/libs/ depends/libs/linux.IA32/ depends/libs/win.IA32/ depends/oss/ depends/oss/linux.IA32/ depends/oss/win....
Date Thu, 01 Dec 2005 06:04:00 GMT
Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytime.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytime.c?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytime.c (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytime.c Wed Nov 30 21:29:27 2005
@@ -0,0 +1,232 @@
+/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#define CDEV_CURRENT_FUNCTION _comment_
+/** 
+ * @file
+ * @ingroup Port
+ * @brief Timer utilities
+ */
+
+#undef CDEV_CURRENT_FUNCTION
+
+#include <time.h>
+#include <sys/types.h>
+#include <sys/time.h>
+#include "hyport.h"
+
+/* Frequency is microseconds / second */
+#define HYTIME_HIRES_CLOCK_FREQUENCY ((U_64) 1000000)
+
+#define CDEV_CURRENT_FUNCTION _prototypes_private
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytime_msec_clock
+/**
+ * Query OS for timestamp.
+ * Retrieve the current value of system clock and convert to milliseconds.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return 0 on failure, time value in milliseconds on success.
+ * @deprecated Use @ref hytime_hires_clock and @ref hytime_hires_delta
+ */
+/*  technically, this should return I_64 since both timeval.tv_sec and timeval.tv_usec are long */
+
+UDATA VMCALL
+hytime_msec_clock (struct HyPortLibrary * portLibrary)
+{
+  struct timeval tp;
+  struct timezone tzp;
+
+  gettimeofday (&tp, &tzp);
+  return (tp.tv_sec * 1000) + (tp.tv_usec / 1000);
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytime_usec_clock
+/**
+ * Query OS for timestamp.
+ * Retrieve the current value of system clock and convert to microseconds.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return 0 on failure, time value in microseconds on success.
+ * @deprecated Use @ref hytime_hires_clock and @ref hytime_hires_delta
+ */
+UDATA VMCALL
+hytime_usec_clock (struct HyPortLibrary * portLibrary)
+{
+  struct timeval tp;
+  struct timezone tzp;
+
+  gettimeofday (&tp, &tzp);
+  return (tp.tv_sec * 1000000) + tp.tv_usec;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytime_current_time_millis
+/**
+ * Query OS for timestamp.
+ * Retrieve the current value of system clock and convert to milliseconds since
+ * January 1st 1970.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return 0 on failure, time value in milliseconds on success.
+ */
+I_64 VMCALL
+hytime_current_time_millis (struct HyPortLibrary * portLibrary)
+{
+  struct timeval tp;
+
+  gettimeofday (&tp, 0);
+  return ((I_64) tp.tv_sec) * 1000 + tp.tv_usec / 1000;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytime_hires_clock
+/**
+ * Query OS for timestamp.
+ * Retrieve the current value of the high-resolution performance counter.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return 0 on failure, time value on success.
+ */
+U_64 VMCALL
+hytime_hires_clock (struct HyPortLibrary * portLibrary)
+{
+  struct timeval tp;
+  struct timezone tzp;
+
+  gettimeofday (&tp, &tzp);
+  return ((U_64) tp.tv_sec * 1000000) + (U_64) tp.tv_usec;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytime_hires_frequency
+/**
+ * Query OS for clock frequency
+ * Retrieves the frequency of the high-resolution performance counter.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return 0 on failure, number of ticks per second on success.
+ */
+U_64 VMCALL
+hytime_hires_frequency (struct HyPortLibrary * portLibrary)
+{
+  return HYTIME_HIRES_CLOCK_FREQUENCY;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytime_hires_delta
+/**
+ * Calculate time difference between two hires clock timer values @ref hytime_hires_clock.
+ *
+ * Given a start and end time determine how much time elapsed.  Return the value as
+ * requested by the required resolution
+ *
+ * @param[in] portLibrary The port library.
+ * @param[in] startTime Timer value at start of timing interval
+ * @param[in] endTime Timer value at end of timing interval
+ * @param[in] requiredResolution Returned timer resolution as a fraction of a second.  For example: 
+ *  \arg 1 to report elapsed time in seconds
+ *  \arg 1,000 to report elapsed time in milliseconds
+ *  \arg 1,000,000 to report elapsed time in microseconds
+ *
+ * @return 0 on failure, time difference on success.
+ *
+ * @note helper macros are available for commonly requested resolution
+ *  \arg HYPORT_TIME_DELTA_IN_SECONDS return timer value in seconds.
+ *  \arg HYPORT_TIME_DELTA_IN_MILLISECONDS return timer value in milliseconds.
+ *  \arg HYPORT_TIME_DELTA_IN_MICROSECONDS return timer value in micoseconds.
+ *  \arg HYPORT_TIME_DELTA_IN_NANOSECONDS return timer value in nanoseconds.
+ */
+U_64 VMCALL
+hytime_hires_delta (struct HyPortLibrary * portLibrary, U_64 startTime,
+                    U_64 endTime, UDATA requiredResolution)
+{
+  U_64 ticks;
+
+  /* modular arithmetic saves us, answer is always ... */
+  ticks = endTime - startTime;
+
+  if (HYTIME_HIRES_CLOCK_FREQUENCY == requiredResolution)
+    {
+      return ticks;
+    }
+
+  if (HYTIME_HIRES_CLOCK_FREQUENCY < requiredResolution)
+    {
+      return (ticks * requiredResolution) / HYTIME_HIRES_CLOCK_FREQUENCY;
+    }
+
+  return ticks / (HYTIME_HIRES_CLOCK_FREQUENCY / requiredResolution);
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytime_shutdown
+/**
+ * PortLibrary shutdown.
+ *
+ * This function is called during shutdown of the portLibrary.  Any resources that were created by @ref hytime_startup
+ * should be destroyed here.
+ *
+ * @param[in] portLib The port library.
+ *
+ * @note Most implementations will be empty.
+ */
+void VMCALL
+hytime_shutdown (struct HyPortLibrary *portLibrary)
+{
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytime_startup
+/**
+ * PortLibrary startup.
+ *
+ * This function is called during startup of the portLibrary.  Any resources that are required for
+ * the time operations may be created here.  All resources created here should be destroyed
+ * in @ref hytime_shutdown.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return 0 on success, negative error code on failure.  Error code values returned are
+ * \arg HYPORT_ERROR_STARTUP_TIME
+ *
+ * @note Most implementations will simply return success.
+ */
+I_32 VMCALL
+hytime_startup (struct HyPortLibrary *portLibrary)
+{
+  return 0;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION
+
+#undef CDEV_CURRENT_FUNCTION

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytlshelpers.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytlshelpers.c?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytlshelpers.c (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytlshelpers.c Wed Nov 30 21:29:27 2005
@@ -0,0 +1,210 @@
+/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * @file
+ * @ingroup Port
+ * @brief Per Thread Buffer Support
+ *
+ * Per thread buffers are used to store information that is not sharable among the threads.  
+ * For example when an OS system call fails the error code associated with that error is
+ * relevant to the thread that called the OS function; it has no meaning to any other thread.
+ *
+ * This file contains the functions supported by the port library for creating, accessing and
+ * destroying per thread buffers.@see hyportptb.h for details on the per thread buffer structure.
+ *
+ * Only the function @hyport_tls_free is available via the port library function table.  The rest of
+ * the functions are helpers for the port library only.
+ */
+#include <string.h>
+#include "hyport.h"
+#include "portpriv.h"
+#include "hythread.h"
+#include "hyportptb.h"
+
+/**
+ * @internal
+ * @brief Per Thread Buffer Support
+ *
+ * Get a per thread buffer.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return The per thread buffer on success, NULL on failure.
+ */
+void *VMCALL
+hyport_tls_get (struct HyPortLibrary *portLibrary)
+{
+  PortlibPTBuffers_t ptBuffers;
+
+  ptBuffers =
+    hythread_tls_get (hythread_self (), portLibrary->portGlobals->tls_key);
+  if (NULL == ptBuffers)
+    {
+      MUTEX_ENTER (portLibrary->portGlobals->tls_mutex);
+
+      ptBuffers =
+        portLibrary->mem_allocate_memory (portLibrary,
+                                          sizeof (PortlibPTBuffers_struct));
+      if (NULL != ptBuffers)
+        {
+          if (0 ==
+              hythread_tls_set (hythread_self (),
+                                portLibrary->portGlobals->tls_key, ptBuffers))
+            {
+              memset (ptBuffers, 0, sizeof (PortlibPTBuffers_struct));
+              ptBuffers->next = portLibrary->portGlobals->buffer_list;
+              if (portLibrary->portGlobals->buffer_list)
+                {
+                  ((PortlibPTBuffers_t) portLibrary->portGlobals->
+                   buffer_list)->previous = ptBuffers;
+                }
+              portLibrary->portGlobals->buffer_list = ptBuffers;
+            }
+          else
+            {
+              portLibrary->mem_free_memory (portLibrary, ptBuffers);
+              ptBuffers = NULL;
+            }
+        }
+
+      MUTEX_EXIT (portLibrary->portGlobals->tls_mutex);
+    }
+  return ptBuffers;
+}
+
+/**
+ * @brief Per Thread Buffer Support
+ * 
+ * Free the per thread buffers.
+ *
+ * @param[in] portLibrary The port library.
+ */
+void VMCALL
+hyport_tls_free (struct HyPortLibrary *portLibrary)
+{
+  PortlibPTBuffers_t ptBuffers;
+
+  MUTEX_ENTER (portLibrary->portGlobals->tls_mutex);
+  ptBuffers =
+    hythread_tls_get (hythread_self (), portLibrary->portGlobals->tls_key);
+  if (ptBuffers)
+    {
+      hythread_tls_set (hythread_self (), portLibrary->portGlobals->tls_key,
+                        NULL);
+
+      /* Unlink */
+      if (ptBuffers->next)
+        {
+          ptBuffers->next->previous = ptBuffers->previous;
+        }
+      if (portLibrary->portGlobals->buffer_list == ptBuffers)
+        {
+          portLibrary->portGlobals->buffer_list = ptBuffers->next;
+        }
+      else
+        {
+          if (ptBuffers->previous)
+            {
+              ptBuffers->previous->next = ptBuffers->next;
+            }
+        }
+
+      hyport_free_ptBuffer (portLibrary, ptBuffers);
+    }
+  MUTEX_EXIT (portLibrary->portGlobals->tls_mutex);
+}
+
+/**
+ * @internal
+ * @brief PortLibrary startup.
+ * 
+ * This function is called during startup of the portLibrary.  Any resources that are required for
+ * the portl library thread local storage operations may be created here.  All resources created here should be destroyed
+ * in @ref hyport_tls_shutdown.
+ *
+ * @param[in] portLibrary The port library
+ *
+ * @return 0 on success, negative error code on failure.  Error code values returned are
+ * \arg HYPORT_ERROR_STARTUP_TLS
+ * \arg HYPORT_ERROR_STARTUP_TLS_ALLOC
+ * \arg HYPORT_ERROR_STARTUP_TLS_MUTEX
+ */
+I_32 VMCALL
+hyport_tls_startup (struct HyPortLibrary *portLibrary)
+{
+  if (hythread_tls_alloc (&portLibrary->portGlobals->tls_key))
+    {
+      return HYPORT_ERROR_STARTUP_TLS_ALLOC;
+    }
+
+  if (!MUTEX_INIT (portLibrary->portGlobals->tls_mutex))
+    {
+      return HYPORT_ERROR_STARTUP_TLS_MUTEX;
+    }
+
+  return 0;
+}
+
+/**
+ * @internal
+ * @brief PortLibrary shutdown.
+ *
+ * This function is called during shutdown of the portLibrary.  Any resources that were created by 
+ * @ref hyport_tls_startup should be destroyed here.
+ *
+ * @param[in] HyPortLibrary The port library
+ */
+void VMCALL
+hyport_tls_shutdown (struct HyPortLibrary *portLibrary)
+{
+  PortlibPTBuffers_t ptBuffers, next;
+
+  /* Free all remaining buffer sets */
+  MUTEX_ENTER (portLibrary->portGlobals->tls_mutex);
+  ptBuffers = portLibrary->portGlobals->buffer_list;
+  while (NULL != ptBuffers)
+    {
+      next = ptBuffers->next;
+      hyport_free_ptBuffer (portLibrary, ptBuffers);
+      ptBuffers = next;
+    }
+  portLibrary->portGlobals->buffer_list = NULL;
+  MUTEX_EXIT (portLibrary->portGlobals->tls_mutex);
+
+  /* Now dispose of the tls_key and the mutex */
+  hythread_tls_free (portLibrary->portGlobals->tls_key);
+  MUTEX_DESTROY (portLibrary->portGlobals->tls_mutex);
+}
+
+/**
+ * @internal
+ * @brief Per Thread Buffer Support
+ * 
+ * Get the per thread buffer for a thread. If the buffer has not been allocated do not allocate a new
+ * one, the function @ref hyport_tls_get is used for that purpose. This function is not exported outside 
+ * the port library as most applications will want a per thread buffer created to store their data.  This 
+ * function is used to access existing data in the per thread buffers.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return The per thread buffer, may be NULL.
+ */
+void *VMCALL
+hyport_tls_peek (struct HyPortLibrary *portLibrary)
+{
+  return hythread_tls_get (hythread_self (),
+                           portLibrary->portGlobals->tls_key);
+}

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytty.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytty.c?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytty.c (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hytty.c Wed Nov 30 21:29:27 2005
@@ -0,0 +1,254 @@
+/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#define CDEV_CURRENT_FUNCTION _comment_
+/**
+  * @file
+  * @ingroup Port
+  * @brief TTY output
+  *
+  * All VM output goes to stderr by default.  These routines provide the helpers for such output.
+  */
+
+#undef CDEV_CURRENT_FUNCTION
+
+#include <stdio.h>
+#include <stdarg.h>
+#include "hyport.h"
+#include <unistd.h>
+
+#include <sys/ioctl.h>
+#include <sys/types.h>
+
+#define CDEV_CURRENT_FUNCTION _prototypes_private
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_char_ready
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_flush
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_gets
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_read_char
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_output_string
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_output_char
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_printf
+/** 
+ * Write characters to stderr.
+ *
+ * @param[in] portLibrary The port library.
+ * @param[in] format The format string to be output.
+ * @param[in] ... arguments for format.
+ *
+ * @note Use hyfile_printf for stdout output.
+ *
+ */
+void VMCALL
+hytty_printf (struct HyPortLibrary *portLibrary, const char *format, ...)
+{
+  va_list args;
+
+  va_start (args, format);
+  portLibrary->tty_vprintf (portLibrary, format, args);
+  va_end (args);
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_startup
+/**
+ * PortLibrary startup.
+ *
+ * This function is called during startup of the portLibrary.  Any resources that are required for
+ * the TTY library operations may be created here.  All resources created here should be destroyed
+ * in @ref hytty_shutdown.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return 0 on success, negative error code on failure.  Error code values returned are
+ * \arg HYPORT_ERROR_STARTUP_TTY
+ * \arg HYPORT_ERROR_STARTUP_TTY_HANDLE
+ * \arg HYPORT_ERROR_STARTUP_TTY_CONSOLE
+ *
+ * @note Most implementations will simply return success.
+ */
+I_32 VMCALL
+hytty_startup (struct HyPortLibrary *portLibrary)
+{
+  return 0;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_shutdown
+/**
+ * PortLibrary shutdown.
+ *
+ * This function is called during shutdown of the portLibrary.  Any resources that were created by @ref hytty_startup
+ * should be destroyed here.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @note Most implementations will be empty.
+ */
+void VMCALL
+hytty_shutdown (struct HyPortLibrary *portLibrary)
+{
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_get_chars
+/** 
+ * Read characters from stdin into buffer.
+ *
+ * @param[in] portLibrary The port library.
+ * @param[out] s Buffer.
+ * @param[in] length Size of buffer (s).
+ *
+ * @return The number of characters read, -1 on error.
+ */
+IDATA VMCALL
+hytty_get_chars (struct HyPortLibrary *portLibrary, char *s, UDATA length)
+{
+/*This was changed to NOT use fgetc, which uses buffering, which throws off the #bytes
+ *returned by the FIONREAD ioctl call in available()*/
+  return read (STDIN_FILENO, s, length);
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_err_printf
+/**
+ * Output message to stderr.
+ *
+ * @param[in] portLibrary The port library.
+ * @param[in] format The format String.
+ * @param[in] ... argument list.
+ *
+ * @deprecated All output goes to stderr, use hytty_printf()
+ *
+ */
+void VMCALL
+hytty_err_printf (struct HyPortLibrary *portLibrary, const char *format, ...)
+{
+  va_list args;
+
+  va_start (args, format);
+  portLibrary->tty_err_vprintf (portLibrary, format, args);
+  va_end (args);
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_available
+/**
+ * Determine the number of characters remaining to be read from stdin.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return number of characters remaining to be read.
+ */
+IDATA VMCALL
+hytty_available (struct HyPortLibrary *portLibrary)
+{
+  int rc;
+  off_t curr, end;
+
+  IDATA avail = 0;
+
+  /* when redirected from a file */
+  curr = lseek (STDIN_FILENO, 0L, SEEK_CUR);    /* don't use tell(), it doesn't exist on all platforms, i.e. linux */
+  if (curr != -1)
+    {
+      end = lseek (STDIN_FILENO, 0L, SEEK_END);
+      lseek (STDIN_FILENO, curr, SEEK_SET);
+      if (end >= curr)
+        {
+          return end - curr;
+        }
+    }
+
+  /* ioctl doesn't work for files on all platforms (i.e. SOLARIS) */
+
+  rc = ioctl (STDIN_FILENO, FIONREAD, &avail);
+
+  /* 64 bit platforms use a 32 bit value, using IDATA fails on big endian */
+  /* Pass in IDATA because ioctl() is device dependent, some devices may write 64 bits */
+  if (rc != -1)
+    {
+      return *(I_32 *) & avail;
+    }
+  return 0;
+
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_vprintf
+/**
+ * Output message to stderr.
+ *
+ * @param[in] portLibrary The port library.
+ * @param[in] format The format String.
+ * @param[in] args Variable argument list.
+ *
+ * @note Use hyfile_vprintf for stdout output.
+ * 
+ */
+void VMCALL
+hytty_vprintf (struct HyPortLibrary *portLibrary, const char *format,
+               va_list args)
+{
+  portLibrary->file_vprintf (portLibrary, HYPORT_TTY_ERR, format, args);
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hytty_err_vprintf
+/**
+ * Output message to stderr.
+ *
+ * @param[in] portLibrary The port library.
+ * @param[in] format The format String.
+ * @param[in] args Variable argument list.
+ *
+ * @deprecated All output goes to stderr, use hytty_vprintf()
+ *
+ */
+void VMCALL
+hytty_err_vprintf (struct HyPortLibrary *portLibrary, const char *format,
+                   va_list args)
+{
+  portLibrary->file_vprintf (portLibrary, HYPORT_TTY_ERR, format, args);
+}
+
+#undef CDEV_CURRENT_FUNCTION

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hyvmem.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hyvmem.c?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hyvmem.c (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/hyvmem.c Wed Nov 30 21:29:27 2005
@@ -0,0 +1,579 @@
+/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#define CDEV_CURRENT_FUNCTION _comment_
+/**
+ * @file
+ * @ingroup Port
+ * @brief Virtual memory
+ */
+
+#undef CDEV_CURRENT_FUNCTION
+
+#include "hyport.h"
+#include "portpriv.h"
+#include "hyportpg.h"
+#include "ut_hyprt.h"
+
+#include <sys/types.h>
+#include <sys/mman.h>
+#include <string.h>
+#include <stdlib.h>
+
+#include <sys/shm.h>
+#include <unistd.h>
+
+#if !defined(MAP_FAILED)
+#define MAP_FAILED -1
+#endif
+
+#define VMEM_MEMINFO_SIZE_MAX	1024
+#define VMEM_PROC_MEMINFO_FNAME	"/proc/meminfo"
+
+typedef struct vmem_hugepage_info_t
+{
+  UDATA enabled;                /*!< boolean enabling hy large page support */
+  UDATA pages_total;            /*!< total number of pages maintained by the kernel */
+  UDATA pages_free;             /*!< number of free pages that may be allocated by us */
+  UDATA page_size;              /*!< page size in bytes */
+} vmem_hugepage_info_t;
+
+#define CDEV_CURRENT_FUNCTION _prototypes_private
+void *VMCALL default_pageSize_reserve_memory (struct HyPortLibrary
+                                              *portLibrary, void *address,
+                                              UDATA byteAmount,
+                                              struct HyPortVmemIdentifier
+                                              *identifier, UDATA mode,
+                                              UDATA pageSize);
+static UDATA get_hugepages_info (struct HyPortLibrary *portLibrary,
+                                 vmem_hugepage_info_t * page_info);
+void VMCALL update_vmemIdentifier (HyPortVmemIdentifier * identifier,
+                                   void *address, void *handle,
+                                   UDATA byteAmount, UDATA mode,
+                                   UDATA pageSize);
+int VMCALL get_protectionBits (UDATA mode);
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hyvmem_shutdown
+/**
+ * PortLibrary shutdown.
+ *
+ * This function is called during shutdown of the portLibrary.  Any resources that were created by @ref hyvmem_startup
+ * should be destroyed here.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @note Most implementations will be empty.
+ */
+void VMCALL
+hyvmem_shutdown (struct HyPortLibrary *portLibrary)
+{
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hyvmem_startup
+/**
+ * PortLibrary startup.
+ *
+ * This function is called during startup of the portLibrary.  Any resources that are required for
+ * the virtual memory operations may be created here.  All resources created here should be destroyed
+ * in @ref hyvmem_shutdown.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return 0 on success, negative error code on failure.  Error code values returned are
+ * \arg HYPORT_ERROR_STARTUP_VMEM
+ *
+ * @note Most implementations will simply return success.
+ */
+I_32 VMCALL
+hyvmem_startup (struct HyPortLibrary *portLibrary)
+{
+  vmem_hugepage_info_t vmem_page_info;
+
+  /* clear page info data, this has the effect of starting off in a standard state */
+  memset (&vmem_page_info, 0x00, sizeof (vmem_hugepage_info_t));
+  get_hugepages_info (portLibrary, &vmem_page_info);
+
+  /* 0 terminate the table */
+  memset (PPG_vmem_pageSize, 0, HYPORT_VMEM_PAGESIZE_COUNT * sizeof (UDATA));
+
+  /* First the default page size */
+  PPG_vmem_pageSize[0] = (UDATA) getpagesize ();
+
+  /* Now the large pages */
+  if (vmem_page_info.enabled)
+    {
+      PPG_vmem_pageSize[1] = vmem_page_info.page_size;
+    }
+
+  return 0;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hyvmem_commit_memory
+/**
+ * Commit memory in virtual address space.
+ *
+ * @param[in] portLibrary The port library.
+ * @param[in] address The page aligned starting address of the memory to commit.
+ * @param[in] byteAmount The number of bytes to commit.
+ * @param[in] identifier Descriptor for virtual memory block.
+ *
+ * @return pointer to the allocated memory on success, NULL on failure.
+ */
+void *VMCALL
+hyvmem_commit_memory (struct HyPortLibrary *portLibrary, void *address,
+                      UDATA byteAmount,
+                      struct HyPortVmemIdentifier *identifier)
+{
+  Trc_PRT_vmem_hyvmem_commit_memory_Entry (address, byteAmount);
+
+  /* Default page size */
+  if (PPG_vmem_pageSize[0] == identifier->pageSize)
+    {
+      if (0 ==
+          mprotect (address, byteAmount,
+                    get_protectionBits (identifier->mode)))
+        {
+          Trc_PRT_vmem_hyvmem_commit_memory_Exit (address);
+          return address;
+        }
+    }
+  if (PPG_vmem_pageSize[1] == identifier->pageSize)
+    {
+      Trc_PRT_vmem_hyvmem_commit_memory_Exit (address);
+      return address;
+    }
+
+  Trc_PRT_vmem_hyvmem_commit_memory_Exit (NULL);
+  return NULL;
+
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hyvmem_decommit_memory
+/**
+ * Decommit memory in virtual address space.
+ *
+ * Decommits physical storage of the size specified starting at the address specified.
+ *
+ * @param[in] portLibrary The port library.
+ * @param[in] address The starting address of the memory to be decommitted.
+ * @param[in] byteAmount The number of bytes to be decommitted.
+ * @param[in] identifier Descriptor for virtual memory block.
+ *
+ * @return 0 on success, non zero on failure.
+ */
+IDATA VMCALL
+hyvmem_decommit_memory (struct HyPortLibrary * portLibrary, void *address,
+                        UDATA byteAmount,
+                        struct HyPortVmemIdentifier * identifier)
+{
+  Trc_PRT_vmem_hyvmem_decommit_memory_Entry (address, byteAmount);
+  Trc_PRT_vmem_hyvmem_decommit_memory_Exit (0);
+  return (IDATA) 0;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hyvmem_free_memory
+/**
+ * Free memory in virtual address space.
+ *
+ * Frees physical storage of the size specified starting at the address specified.
+ *
+ * @param[in] portLibrary The port library.
+ * @param[in] address The starting address of the memory to be de-allocated.
+ * @param[in] byteAmount The number of bytes to be allocated.
+ * @param[in] identifier Descriptor for virtual memory block.
+ *
+ * @return 0 on success, non zero on failure.
+ */
+I_32 VMCALL
+hyvmem_free_memory (struct HyPortLibrary * portLibrary, void *address,
+                    UDATA byteAmount,
+                    struct HyPortVmemIdentifier * identifier)
+{
+  Trc_PRT_vmem_hyvmem_free_memory_Entry (address, byteAmount);
+
+  /* Default page Size */
+  if (PPG_vmem_pageSize[0] == identifier->pageSize)
+    {
+      I_32 ret = 0;
+
+      update_vmemIdentifier (identifier, NULL, NULL, 0, 0, 0);
+      ret = (I_32) munmap (address, (size_t) byteAmount);
+      Trc_PRT_vmem_hyvmem_free_memory_Exit (ret);
+      return ret;
+    }
+  if (PPG_vmem_pageSize[1] == identifier->pageSize)
+    {
+      shmdt (identifier->address);
+      update_vmemIdentifier (identifier, NULL, NULL, 0, 0, 0);
+      Trc_PRT_vmem_hyvmem_free_memory_Exit (0);
+      return 0;
+    }
+
+  Trc_PRT_vmem_hyvmem_free_memory_Exit (-1);
+  return -1;
+
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hyvmem_reserve_memory
+/**
+ * Reserve memory in virtual address space.
+ *
+ * Reserves a range of  virtual address space without allocating any actual physical storage.
+ * The memory is not available for use until committed @ref hyvmem_commit_memory.
+ * The memory may not be used by other memory allocation routines until it is explicitly released.
+ *
+ * @param[in] portLibrary The port library.
+ * @param[in] address The starting address of the memory to be reserved.
+ * @param[in] byteAmount The number of bytes to be reserved.
+ * @param[in] identifier Descriptor for virtual memory block.
+ * @param[in] mode Bitmap indicating how memory is to be reserved.  Expected values combination of:
+ * \arg HYPORT_VMEM_MEMORY_MODE_READ memory is readable
+ * \arg HYPORT_VMEM_MEMORY_MODE_WRITE memory is writable
+ * \arg HYPORT_VMEM_MEMORY_MODE_EXECUTE memory is executable
+ * \arg HYPORT_VMEM_MEMORY_MODE_COMMIT commits memory as part of the reserve
+ * @param[in] pageSize Size of the page requested, a value returned by @ref hyvmem_supported_page_sizes,
+ * or the constant HYPORT_VMEM_PAGE_SIZE_DEFAULT for the system default page size.
+ *
+ * @return pointer to the reserved memory on success, NULL on failure.
+ *
+ * @internal @warning Do not call error handling code @ref hyerror upon error as 
+ * the error handling code uses per thread buffers to store the last error.  If memory
+ * can not be allocated the result would be an infinite loop.
+ */
+void *VMCALL
+hyvmem_reserve_memory (struct HyPortLibrary *portLibrary, void *address,
+                       UDATA byteAmount,
+                       struct HyPortVmemIdentifier *identifier, UDATA mode,
+                       UDATA pageSize)
+{
+
+  Trc_PRT_vmem_hyvmem_reserve_memory_Entry (address, byteAmount);
+  /* Invalid input */
+  if (0 == pageSize)
+    {
+      update_vmemIdentifier (identifier, NULL, NULL, 0, 0, 0);
+      Trc_PRT_vmem_hyvmem_reserve_memory_Exit1 ();
+      return NULL;
+    }
+
+  /* Handle default page size differently, don't use shmget */
+  if ((HYPORT_VMEM_PAGE_SIZE_DEFAULT == pageSize)
+      || (PPG_vmem_pageSize[0] == pageSize))
+    {
+      void *defptr =
+        default_pageSize_reserve_memory (portLibrary, address, byteAmount,
+                                         identifier, mode,
+                                         PPG_vmem_pageSize[0]);
+      Trc_PRT_vmem_hyvmem_reserve_memory_Exit2 (defptr);
+      return defptr;
+    }
+
+  /* If the pageSize is not one of the large page sizes supported, error */
+  if (PPG_vmem_pageSize[1] != pageSize)
+    {
+      update_vmemIdentifier (identifier, NULL, NULL, 0, 0, 0);
+      Trc_PRT_vmem_hyvmem_reserve_memory_Exit3 (pageSize);
+      return NULL;
+    }
+
+  /* The address should usually be passed in as NULL in order to let the kernel find and assign a 
+   * large enough window of virtual memory 
+   *
+   * Requesting HUGETLB pages via shmget has the effect of "reserving" them. They have to be attached to become allocated for use
+   * The execute flags are ignored by shmget
+   */
+  key_t addressKey;
+  void *baseAddress;
+  int shmgetFlags = SHM_HUGETLB | IPC_CREAT;
+  UDATA largePageSize;
+  void *ptr = NULL;
+
+  largePageSize = PPG_vmem_pageSize[1];
+
+  if (0 != (HYPORT_VMEM_MEMORY_MODE_READ & mode))
+    {
+      shmgetFlags |= SHM_R;
+    }
+  if (0 != (HYPORT_VMEM_MEMORY_MODE_WRITE & mode))
+    {
+      shmgetFlags |= SHM_W;
+    }
+
+  addressKey = shmget (IPC_PRIVATE, (size_t) byteAmount, shmgetFlags);
+  if (-1 == addressKey)
+    {
+      update_vmemIdentifier (identifier, NULL, NULL, 0, 0, 0);
+      Trc_PRT_vmem_hyvmem_reserve_memory_Exit4 ();
+      return NULL;
+    }
+
+  /* Attach the HUGETLB pages to a virtual address choosen by the kernel, this call may fail in case a large enough window of virual memory is not available */
+  baseAddress = shmat (addressKey, address, 0);
+  shmctl (addressKey, IPC_RMID, NULL);  /* release when complete, protect from ^C or crash */
+
+  if (baseAddress == MAP_FAILED)
+    {
+      update_vmemIdentifier (identifier, NULL, NULL, 0, 0, 0);
+      Trc_PRT_vmem_hyvmem_reserve_memory_Exit4 ();
+      return NULL;
+    }
+
+  /* Update identifier and commit memory if required, else return reserved memory */
+  update_vmemIdentifier (identifier, baseAddress, (void *) addressKey,
+                         byteAmount, mode, largePageSize);
+  if (0 != (HYPORT_VMEM_MEMORY_MODE_COMMIT & mode))
+    {
+      ptr =
+        portLibrary->vmem_commit_memory (portLibrary, baseAddress, byteAmount,
+                                         identifier);
+    }
+  else
+    {
+      ptr = baseAddress;
+    }
+  Trc_PRT_vmem_hyvmem_reserve_memory_Exit (ptr);
+  return ptr;
+
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION hyvmem_supported_page_sizes
+/**
+ * Determine the page sizes supported.
+ *
+ * @param[in] portLibrary The port library.
+ *
+ * @return A 0 terminated array of supported page sizes.  The first entry is the default page size, other entries
+ * are the large page sizes supported.
+ */
+UDATA *VMCALL
+hyvmem_supported_page_sizes (struct HyPortLibrary * portLibrary)
+{
+  return PPG_vmem_pageSize;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION get_hugepages_info
+static UDATA
+get_hugepages_info (struct HyPortLibrary *portLibrary,
+                    vmem_hugepage_info_t * page_info)
+{
+  int fd;
+  int bytes_read;
+  char *line_ptr, read_buf[VMEM_MEMINFO_SIZE_MAX];
+  char token_name[128];
+  int token_value, tokens_assigned;
+
+  fd = hyfile_open (portLibrary, VMEM_PROC_MEMINFO_FNAME, HyOpenRead, 0);
+  if (fd < 0)
+    {
+      return 0;
+    }
+
+  bytes_read =
+    hyfile_read (portLibrary, fd, read_buf, VMEM_MEMINFO_SIZE_MAX - 1);
+  if (bytes_read <= 0)
+    {
+      hyfile_close (portLibrary, fd);
+      return 0;
+    }
+
+  /* make sure its null terminated */
+  read_buf[bytes_read] = 0;
+
+        /** Why this is data is not available via a well defined system call remains a mystery. Meanwhile
+	 *  we have to parse /proc/meminfo to figure out how many pages are available/free as well as
+	 *  their size
+	 */
+  line_ptr = read_buf;
+  while (line_ptr && *line_ptr)
+    {
+
+      tokens_assigned =
+        sscanf (line_ptr, "%127s %d %*s", token_name, &token_value);
+
+#if defined(LPDEBUG)
+      portLibrary->tty_printf (portLibrary, "/proc/meminfo => %s [%d] %d\n",
+                               token_name, token_value, tokens_assigned);
+#endif
+
+      if (tokens_assigned)
+        {
+          if (!strcmp (token_name, "HugePages_Total:"))
+            {
+              page_info->pages_total = token_value;
+            }
+          else if (!strcmp (token_name, "HugePages_Free:"))
+            {
+              page_info->pages_free = token_value;
+            }
+          else if (!strcmp (token_name, "Hugepagesize:"))
+            {
+              page_info->page_size = token_value * 1024;        /* value is in KB, convert to bytes */
+            }
+        }
+
+      line_ptr = strpbrk (line_ptr, "\n");
+      if (line_ptr && *line_ptr)
+        {
+          line_ptr++;           /* skip the \n if we are not done yet */
+        }
+    }
+
+  hyfile_close (portLibrary, fd);
+
+  /* "Enable" large page support if the system has been found to be initialized */
+  if (page_info->pages_total)
+    {
+      page_info->enabled = 1;
+    }
+
+  return 1;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION default_pageSize_reserve_memory
+void *VMCALL
+default_pageSize_reserve_memory (struct HyPortLibrary *portLibrary,
+                                 void *address, UDATA byteAmount,
+                                 struct HyPortVmemIdentifier *identifier,
+                                 UDATA mode, UDATA pageSize)
+{
+  /* This function is cloned in HySourceUnixHyVMem (hyvmem_reserve_memory).  
+   * Any changes made here may need to be reflected in that version .
+   */
+  int fd = -1;
+  int flags = MAP_PRIVATE;
+  void *result;
+  int protectionFlags = PROT_NONE;
+
+#if defined(MAP_ANONYMOUS)
+  flags |= MAP_ANONYMOUS;
+#elif defined(MAP_ANON)
+  flags |= MAP_ANON;
+#else
+  fd =
+    portLibrary->file_open (portLibrary, "/dev/zero",
+                            HyOpenRead | HyOpenWrite, 0);
+  if (fd == -1)
+    {
+      update_vmemIdentifier (identifier, NULL, NULL, 0, 0, 0);
+      return NULL;
+    }
+#endif
+
+  if (0 != (HYPORT_VMEM_MEMORY_MODE_COMMIT & mode))
+    {
+      protectionFlags = get_protectionBits (mode);
+    }
+  else
+    {
+      flags |= MAP_NORESERVE;
+    }
+  result = mmap (address, (size_t) byteAmount, protectionFlags, flags, fd, 0);
+
+#if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
+  portLibrary->file_close (portLibrary, fd);
+#endif
+
+  if (MAP_FAILED == result)
+    {
+      update_vmemIdentifier (identifier, NULL, NULL, 0, 0, 0);
+      return NULL;
+    }
+  else
+    {
+      /* Update identifier and commit memory if required, else return reserved memory */
+      update_vmemIdentifier (identifier, result, result, byteAmount, mode,
+                             pageSize);
+      if (0 != (HYPORT_VMEM_MEMORY_MODE_COMMIT & mode))
+        {
+          portLibrary->vmem_commit_memory (portLibrary, result, byteAmount,
+                                           identifier);
+        }
+      return result;
+    }
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION update_vmemIdentifier
+/**
+ * @internal
+ * Update HyPortVmIdentifier structure
+ *
+ * @param[in] identifier The structure to be updated
+ * @param[in] address Base address
+ * @param[in] handle Platform specific handle for reserved memory
+ * @param[in] byteAmount Size of allocated area
+ * @param[in] mode Access Mode
+ * @param[in] pageSize Constant describing pageSize
+ */
+void VMCALL
+update_vmemIdentifier (HyPortVmemIdentifier * identifier, void *address,
+                       void *handle, UDATA byteAmount, UDATA mode,
+                       UDATA pageSize)
+{
+  identifier->address = address;
+  identifier->handle = handle;
+  identifier->size = byteAmount;
+  identifier->pageSize = pageSize;
+  identifier->mode = mode;
+}
+
+#undef CDEV_CURRENT_FUNCTION
+
+#define CDEV_CURRENT_FUNCTION get_protectionBits
+int VMCALL
+get_protectionBits (UDATA mode)
+{
+  int protectionFlags = 0;
+
+  if (0 != (HYPORT_VMEM_MEMORY_MODE_EXECUTE & mode))
+    {
+      protectionFlags |= PROT_EXEC;
+    }
+  if (0 != (HYPORT_VMEM_MEMORY_MODE_READ & mode))
+    {
+      protectionFlags |= PROT_READ;
+    }
+  if (0 != (HYPORT_VMEM_MEMORY_MODE_WRITE & mode))
+    {
+      protectionFlags |= PROT_WRITE;
+    }
+  if (0 == protectionFlags)
+    {
+      protectionFlags = PROT_NONE;
+    }
+
+  return protectionFlags;
+}
+
+#undef CDEV_CURRENT_FUNCTION

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/makefile
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/makefile?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/makefile (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/makefile Wed Nov 30 21:29:27 2005
@@ -0,0 +1,74 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# Makefile for module 'port'
+#
+
+include ../makefile.include
+
+DLLFILENAME=libhyprt.so# declaration
+
+DLLNAME=../libhyprt.so# declaration
+
+LIBNAME=hyprt# declaration
+
+LIBPATH=../lib/# declaration
+
+CFLAGS= -fpic  -DLINUX -D_REENTRANT -O1 -march=pentium3 -DIPv6_FUNCTION_SUPPORT  -DHYX86 -DHYPORT_LIBRARY_DEFINE -I../include  $(VMDEBUG)
+
+.SUFFIXES:.cpp
+.cpp.o:
+	$(CXX)  -fpic  -DLINUX -D_REENTRANT -O1 -march=pentium3 -fno-exceptions -fno-rtti -DIPv6_FUNCTION_SUPPORT  -DHYX86 -DHYPORT_LIBRARY_DEFINE -I../include   $(VMDEBUG) -c $<
+
+ASFLAGS= -o $@
+
+.SUFFIXES:.asm
+.asm.o:
+	perl ../masm2gas/masm2gas.pl   -I../include  $*.asm
+	$(AS) $(ASFLAGS) -o $*.o $*.s
+	-rm $*.s
+
+BUILDFILES1 = port_copyright.o hycpu.o hyerror.o hyerrorhelpers.o hyexit.o
+BUILDFILES2 = hyfile.o hyfiletext.o hygp.o hyipcmutex.o hymem.o
+BUILDFILES3 = hymmap.o hynls.o hynlshelpers.o hyosdump.o hyport.o
+BUILDFILES4 = hyportcontrol.o hyportptb.o hysharedhelper.o hyshmem.o hyshsem.o
+BUILDFILES5 = hysignal.o hysl.o hysock.o hystr.o hystrftime.o
+BUILDFILES6 = hystsl.o hysysinfo.o hytime.o hytlshelpers.o hytty.o
+BUILDFILES7 = hyvmem.o
+
+MDLLIBFILES1 = ../libhythr.so ../lib/libhycommon.a ../libhysig.so
+
+all: \
+	 $(DLLNAME)
+
+BUILDLIB: $(DLLNAME)
+
+$(DLLNAME):\
+	$(BUILDFILES1) $(BUILDFILES2) $(BUILDFILES3) $(BUILDFILES4) $(BUILDFILES5) \
+	$(BUILDFILES6) $(BUILDFILES7) $(MDLLIBFILES1) 
+	 $(DLL_LD) -shared -Wl,--version-script,$(LIBNAME).exp -Wl,-soname=$(DLLFILENAME) $(VMLINK) -L.  -L../lib -L.. -o $(DLLNAME) \
+	$(BUILDFILES1) $(BUILDFILES2) $(BUILDFILES3) $(BUILDFILES4) $(BUILDFILES5) \
+	$(BUILDFILES6) $(BUILDFILES7) -Xlinker --start-group \
+	-lhythr \
+	-lhycommon \
+	-lhysig \
+	-Xlinker --end-group  -lc -lm -ldl
+
+quick:
+	$(MAKE)
+
+clean:
+	-rm -f *.o
+	-rm -f ../libhyprt.so

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,67 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+#
+# Note to developers:
+#
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+#
+# Note to translators:
+#
+# This file uses printf style substitutions. Sequences such as %s, %.*s, %10d
+# etc. will be subsituted at runtime. The special case of %% is not a substitution.
+# It indicates a single percent sign. Please do not modify the format specifiers, or 
+# change their order. For instance, in a message like "from %d to %s", %d
+# MUST appear before %s in any translated message, or a run-time crash
+# could occur. This is a known limitation of the product.
+#
+# NLS_MESSAGEFORMAT_NONE
+#
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=Failed to allocate memory.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=Unkown error loading shared library
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=Dependent module %s could not be loaded
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Symbol resolution failure
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=Could not load module
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=Module format incorrect
+HYNLS_PORT_SL_NOT_A_MODULE=Not a module
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=Module architecture incorrect
+HYNLS_PORT_SL_FILE_NOT_FOUND=File not found
+HYNLS_PORT_SL_PERMISSION_DENIED=Permission denied
+HYNLS_PORT_SL_OUT_OF_MEMORY=Out of memory
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=Error: 68K function has PACE bit set.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=DLL table not found
+HYNLS_PORT_SL_DLL_NOT_FOUND=DLL not found
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=Unable to resolve DLL references - a prerequisite DLL may be missing
+HYNLS_PORT_SL_INTERNAL_ERROR=Internal Error %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=Operation Failed: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=Operation Failed: %1$d (%2$s failed: %3$d)
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ca.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ca.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ca.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ca.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,54 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=No s'ha pogut assignar mem\u00f2ria.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=Error desconegut en carregar la biblioteca compartida
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=No s'ha pogut carregar el m\u00f2dul dependent %s
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Error en la resoluci\u00f3 del s\u00edmbol
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=No s'ha pogut carregar el m\u00f2dul
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=Format de m\u00f2dul incorrecte
+HYNLS_PORT_SL_NOT_A_MODULE=No \u00e9s un m\u00f2dul
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=Arquitectura del m\u00f2dul incorrecta
+HYNLS_PORT_SL_FILE_NOT_FOUND=No s'ha trobat el fitxer
+HYNLS_PORT_SL_PERMISSION_DENIED=Perm\u00eds denegat
+HYNLS_PORT_SL_OUT_OF_MEMORY=Sense mem\u00f2ria
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=Error: la funci\u00f3 68K t\u00e9 un conjunt de bits PACE.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=No s'ha trobat la taula DLL
+HYNLS_PORT_SL_DLL_NOT_FOUND=No s'ha trobat DLL
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=No es pot resoldre les refer\u00e8ncies DLL - probablement manca una DLL que \u00e9s prerequisit
+HYNLS_PORT_SL_INTERNAL_ERROR=Error intern %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=L'operaci\u00f3 ha fallat: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=L'operaci\u00f3 ha fallat: %1$d (%2$s ha fallat: %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_copyright.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_copyright.c?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_copyright.c (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_copyright.c Wed Nov 30 21:29:27 2005
@@ -0,0 +1,19 @@
+/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* A copyright string included in each DLL and executable */
+
+const char hyCopyright[] =
+  "(c) Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable.";

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_cs.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_cs.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_cs.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_cs.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,54 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=P\u0159id\u011blen\u00ed pam\u011bti se nezda\u0159ilo.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=Nezn\u00e1m\u00e1 chyba p\u0159i zav\u00e1d\u011bn\u00ed sd\u00edlen\u00e9 knihovny.
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=Z\u00e1visl\u00fd modul %s nelze zav\u00e9st.
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Rozli\u0161en\u00ed symbolu se nezda\u0159ilo.
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=Modul nelze zav\u00e9st.
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=Nespr\u00e1vn\u00fd form\u00e1t modulu.
+HYNLS_PORT_SL_NOT_A_MODULE=Nejde o modul.
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=Nespr\u00e1vn\u00e1 architektura modulu.
+HYNLS_PORT_SL_FILE_NOT_FOUND=Soubor nebyl nalezen.
+HYNLS_PORT_SL_PERMISSION_DENIED=Povolen\u00ed bylo odep\u0159eno.
+HYNLS_PORT_SL_OUT_OF_MEMORY=Nedostatek pam\u011bti.
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=Chyba: Funkce 68 k m\u00e1 nastaven bit PACE.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=Tabulka knihovny DLL nebyla nalezena.
+HYNLS_PORT_SL_DLL_NOT_FOUND=Knihovna DLL nebyla nalezena.
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=Nelze rozli\u0161it odkazy DLL - pravd\u011bpodobn\u011b chyb\u00ed po\u017eadovan\u00e1 knihovna DLL.
+HYNLS_PORT_SL_INTERNAL_ERROR=Intern\u00ed chyba %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=Chyba p\u0159i operaci: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=Chyba p\u0159i operaci: %1$d (chyba p\u0159i %2$s: %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_de.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_de.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_de.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_de.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,53 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=Speicher konnte nicht zugeordnet werden.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=Unbekannter Fehler beim Laden der gemeinsam genutzten Bibliothek
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=Abh\u00e4ngiges Modul %s konnte nicht geladen werden.
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Fehler bei der Symbolaufl\u00f6sung
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=Modul konnte nicht geladen werden.
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=Falsches Modulformat
+HYNLS_PORT_SL_NOT_A_MODULE=Kein Modul
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=Falsche Modularchitektur
+HYNLS_PORT_SL_FILE_NOT_FOUND=Datei nicht gefunden
+HYNLS_PORT_SL_PERMISSION_DENIED=Berechtigung verweigert
+HYNLS_PORT_SL_OUT_OF_MEMORY=Nicht gen\u00fcgend Speicherkapazit\u00e4t
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=Fehler: PACE-Bit wurde in 68 K-Funktion gesetzt.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=DLL-Tabelle nicht gefunden
+HYNLS_PORT_SL_DLL_NOT_FOUND=DLL nicht gefunden
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=DLL-Referenzen k\u00f6nnen nicht aufgel\u00f6st werden. M\u00f6glicherweise fehlt eine vorausgesetzte DLL.
+HYNLS_PORT_SL_INTERNAL_ERROR=Interner Fehler %i
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=Operation ist fehlgeschlagen: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=Operation ist fehlgeschlagen: %1$d (%2$s ist fehlgeschlagen: %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_es.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_es.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_es.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_es.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,54 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=No se ha podido asignar memoria.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=Error desconocido al cargar la biblioteca compartida
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=No se ha podido cargar el m\u00f3dulo dependiente %s
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Anomal\u00eda en la resoluci\u00f3n de s\u00edmbolo
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=No se ha podido cargar el m\u00f3dulo
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=Formato de m\u00f3dulo incorrecto
+HYNLS_PORT_SL_NOT_A_MODULE=No es un m\u00f3dulo
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=Arquitectura de m\u00f3dulo incorrecta
+HYNLS_PORT_SL_FILE_NOT_FOUND=No se ha encontrado el archivo
+HYNLS_PORT_SL_PERMISSION_DENIED=Permiso denegado
+HYNLS_PORT_SL_OUT_OF_MEMORY=Memoria agotada
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=Error: la funci\u00f3n de 68 K tiene establecido el bit PACE.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=No se ha encontrado la tabla de DLL
+HYNLS_PORT_SL_DLL_NOT_FOUND=No se ha encontrado la DLL
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=No se han podido resolver referencias de DLL - es posible que falte una DLL de prerrequisito
+HYNLS_PORT_SL_INTERNAL_ERROR=Error interno %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=Operaci\u00f3n con error: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=Operaci\u00f3n con error: %1$d (%2$s con error: %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_fr.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_fr.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_fr.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_fr.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,54 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=Echec de l'allocation de m\u00e9moire.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=Erreur inconnue lors du chargement de la biblioth\u00e8que partag\u00e9e
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=Impossible de charger le module d\u00e9pendant %s
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Echec de la r\u00e9solution de symboles
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=Impossible de charger le module
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=Format de module incorrect
+HYNLS_PORT_SL_NOT_A_MODULE=Il ne s'agit pas d'un module
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=Architecture de module incorrecte
+HYNLS_PORT_SL_FILE_NOT_FOUND=Fichier introuvable
+HYNLS_PORT_SL_PERMISSION_DENIED=Permission refus\u00e9e
+HYNLS_PORT_SL_OUT_OF_MEMORY=M\u00e9moire satur\u00e9e
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=Erreur : bit PACE d\u00e9fini dans la fonction 68K.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=Table de DLL introuvable
+HYNLS_PORT_SL_DLL_NOT_FOUND=DLL introuvable
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=R\u00e9solution de r\u00e9f\u00e9rences de DLL impossible - il se peut qu'une DLL pr\u00e9requise soit manquante
+HYNLS_PORT_SL_INTERNAL_ERROR=Erreur interne %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=Echec de l'op\u00e9ration : %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=Echec de l'op\u00e9ration : %1$d (\u00e9chec de %2$s : %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_hu.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_hu.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_hu.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_hu.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,53 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=Nem siker\u00fclt mem\u00f3ri\u00e1t lefoglalni.
+HYNLS_PORT_SL_UNKOWN_ERROR=Ismeretlen hiba a megosztott f\u00fcggv\u00e9nyt\u00e1r bet\u00f6lt\u00e9se k\u00f6zben
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=A(z) %s f\u00fcgg\u0151 modul nem t\u00f6lthet\u0151 be
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Szimb\u00f3lumfelold\u00e1si hiba
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=A modul nem t\u00f6lthet\u0151 be
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=A modul form\u00e1tuma helytelen
+HYNLS_PORT_SL_NOT_A_MODULE=Nem modul
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=A modul architekt\u00far\u00e1ja helytelen
+HYNLS_PORT_SL_FILE_NOT_FOUND=A f\u00e1jl nem tal\u00e1lhat\u00f3
+HYNLS_PORT_SL_PERMISSION_DENIED=A jogosults\u00e1g megtagadva
+HYNLS_PORT_SL_OUT_OF_MEMORY=Elfogyott a mem\u00f3ria
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=Hiba: a 68K funkci\u00f3ban be van \u00e1ll\u00edtva a PACE bit.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=A DLL t\u00e1bla nem tal\u00e1lhat\u00f3
+HYNLS_PORT_SL_DLL_NOT_FOUND=A DLL nem tal\u00e1lhat\u00f3
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=Nem oldhat\u00f3k fel a DLL hivatkoz\u00e1sok - lehet, hogy hi\u00e1nyzik egy el\u0151felt\u00e9tel DLL
+HYNLS_PORT_SL_INTERNAL_ERROR=Bels\u0151 hiba: %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=A m\u0171velet meghi\u00fasult: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=A m\u0171velet meghi\u00fasult: %1$d (%2$s meghi\u00fasult: %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_it.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_it.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_it.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_it.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,54 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=Impossibile assegnare la memoria.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=Errore sconosciuto nel caricamento della libreria condivisa
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=Impossibile caricare il modulo dipendente %s
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Errore di risoluzione del simbolo
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=Impossibile caricare il modulo
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=Formato modulo non corretto
+HYNLS_PORT_SL_NOT_A_MODULE=Non un modulo
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=Architettura modulo non corretta
+HYNLS_PORT_SL_FILE_NOT_FOUND=File non trovato
+HYNLS_PORT_SL_PERMISSION_DENIED=Autorizzazione negata
+HYNLS_PORT_SL_OUT_OF_MEMORY=Memoria non sufficiente
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=Errore: La funzione 68K ha un insieme di bit PACE.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=Tabella DLL non trovata
+HYNLS_PORT_SL_DLL_NOT_FOUND=DLL non trovato
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=Impossibile risolvere i riferimenti DLL -un prerequisito DLL potrebbe essere mancante
+HYNLS_PORT_SL_INTERNAL_ERROR=Errore interno %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=Operazione non riuscita: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=Operazione non riuscita: %1$d (%2$s non riuscito: %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ja.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ja.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ja.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ja.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,54 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=\u30e1\u30e2\u30ea\u30fc\u306e\u5272\u308a\u632f\u308a\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
+
+HYNLS_PORT_SL_UNKOWN_ERROR=\u5171\u7528\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306e\u30ed\u30fc\u30c9\u4e2d\u306b\u4e0d\u660e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=\u5f93\u5c5e\u30e2\u30b8\u30e5\u30fc\u30eb %s \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=\u30b7\u30f3\u30dc\u30eb\u89e3\u6c7a\u5931\u6557
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=\u30e2\u30b8\u30e5\u30fc\u30eb\u5f62\u5f0f\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093
+HYNLS_PORT_SL_NOT_A_MODULE=\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u306f\u3042\u308a\u307e\u305b\u3093
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093
+HYNLS_PORT_SL_FILE_NOT_FOUND=\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093
+HYNLS_PORT_SL_PERMISSION_DENIED=\u8a31\u53ef\u304c\u62d2\u5426\u3055\u308c\u307e\u3057\u305f
+HYNLS_PORT_SL_OUT_OF_MEMORY=\u30e1\u30e2\u30ea\u30fc\u4e0d\u8db3\u3067\u3059
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=\u30a8\u30e9\u30fc: 68K \u6a5f\u80fd\u306b PACE \u30d3\u30c3\u30c8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=DLL \u30c6\u30fc\u30d6\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093
+HYNLS_PORT_SL_DLL_NOT_FOUND=DLL \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=DLL \u53c2\u7167\u3092\u89e3\u6c7a\u3067\u304d\u307e\u305b\u3093 - \u524d\u63d0 DLL \u304c\u6b20\u843d\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059
+HYNLS_PORT_SL_INTERNAL_ERROR=\u5185\u90e8\u30a8\u30e9\u30fc %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=\u64cd\u4f5c\u306f\u5931\u6557\u3057\u307e\u3057\u305f: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=\u64cd\u4f5c\u306f\u5931\u6557\u3057\u307e\u3057\u305f: %1$d (%2$s \u306f\u5931\u6557\u3057\u307e\u3057\u305f: %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ko.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ko.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ko.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_ko.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,54 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=\uba54\ubaa8\ub9ac\ub97c \ud560\ub2f9\ud558\ub294 \ub370 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=\uacf5\uc720 \ub77c\uc774\ube0c\ub7ec\ub9ac \ub85c\ub4dc \uc911 \uc54c \uc218 \uc5c6\ub294 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=\uc885\uc18d \ubaa8\ub4c8 %s\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=\uae30\ud638 \ud574\uc11d\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=\ubaa8\ub4c8\uc744 \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=\ubaa8\ub4c8 \ud615\uc2dd\uc774 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_NOT_A_MODULE=\ubaa8\ub4c8\uc774 \uc544\ub2d9\ub2c8\ub2e4.
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=\ubaa8\ub4c8 \uad6c\uc870\uac00 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_FILE_NOT_FOUND=\ud30c\uc77c\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_PERMISSION_DENIED=\uad8c\ud55c\uc774 \uac70\ubd80\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_OUT_OF_MEMORY=\uba54\ubaa8\ub9ac\uac00 \ubd80\uc871\ud569\ub2c8\ub2e4.
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=\uc624\ub958: Motorola 68000 CPU \uae30\ub2a5\uc73c\ub85c \uc124\uc815\ub41c PACE \ube44\ud2b8\uac00 \uc788\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=DLL \ud14c\uc774\ube14\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_DLL_NOT_FOUND=DLL\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=DLL \ucc38\uc870\ub97c \ud574\uc11d\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. - \uc804\uc81c\uc870\uac74 DLL\uc774 \ub204\ub77d\ub418\uc5c8\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.
+HYNLS_PORT_SL_INTERNAL_ERROR=\ub0b4\ubd80 \uc624\ub958 %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=\uc870\uc791\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=\uc870\uc791\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4: %1$d (%2$s\uac00 \uc2e4\ud328\ud568: %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_pl.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_pl.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_pl.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_pl.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,54 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=Niepowodzenie przydzia\u0142u pami\u0119ci.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=Nieznany b\u0142\u0105d podczas \u0142adowania biblioteki wsp\u00f3\u0142u\u017cytkowanej
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=Nie mo\u017cna za\u0142adowa\u0107 modu\u0142u zale\u017cnego %s
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Niepowodzenie rozstrzygni\u0119cia symbolu
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=Nie mo\u017cna za\u0142adowa\u0107 modu\u0142u
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=Niepoprawny format modu\u0142u
+HYNLS_PORT_SL_NOT_A_MODULE=To nie jest modu\u0142
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=Niepoprawna architektura modu\u0142u
+HYNLS_PORT_SL_FILE_NOT_FOUND=Nie znaleziono pliku
+HYNLS_PORT_SL_PERMISSION_DENIED=Odmowa uprawnie\u0144
+HYNLS_PORT_SL_OUT_OF_MEMORY=Brak pami\u0119ci
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=B\u0142\u0105d: Funkcja 68K ma ustawiony bit PACE.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=Nie znaleziono tabeli bibliotek DLL
+HYNLS_PORT_SL_DLL_NOT_FOUND=Nie znaleziono biblioteki DLL
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=Nie mo\u017cna rozstrzygn\u0105\u0107 odniesie\u0144 do bibliotek DLL - by\u0107 mo\u017ce brakuje wymaganej wst\u0119pnie biblioteki DLL
+HYNLS_PORT_SL_INTERNAL_ERROR=B\u0142\u0105d wewn\u0119trzny %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=Niepowodzenie operacji: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=Niepowodzenie operacji: %1$d (niepowodzenie %2$s: %3$d)
+
+
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_pt_BR.nls
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_pt_BR.nls?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_pt_BR.nls (added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port/port_pt_BR.nls Wed Nov 30 21:29:27 2005
@@ -0,0 +1,54 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Externalised messages for common elements of the port library
+# New messages MUST be added at the end of this file.
+# DO NOT delete messages from this file, as it will change their indices.
+# If you wish to remove a message, delete its text, but leave the key in place
+# NLS_MESSAGEFORMAT_NONE
+
+HYNLS.MODULE=PORT
+HYNLS.HEADER=portnls.h
+
+# Do not translate
+# used for unique number only
+HYNLS_PORT_NLS_FAILURE=
+
+HYNLS_PORT_FILE_MEMORY_ALLOCATE_FAILURE=Falha em alocar mem\u00f3ria.
+
+HYNLS_PORT_SL_UNKOWN_ERROR=Erro desconhecido ao carregar a biblioteca compartilhada
+# Note: argument is the name of dependant the DLL
+HYNLS_PORT_SL_ERROR_LOADING_DEPENDANT_MODULE=O m\u00f3dulo dependente %s n\u00e3o p\u00f4de ser carregado
+HYNLS_PORT_SL_SYMBOL_RESOLUTION_FAILURE=Falha de resolu\u00e7\u00e3o de s\u00edmbolo
+HYNLS_PORT_SL_COULD_NOT_LOAD_MODULE=N\u00e3o foi poss\u00edvel carregar o m\u00f3dulo
+HYNLS_PORT_SL_MODULE_FORMAT_INCORRECT=Formato de m\u00f3dulo incorreto
+HYNLS_PORT_SL_NOT_A_MODULE=N\u00e3o \u00e9 um m\u00f3dulo
+HYNLS_PORT_SL_MODULE_ARCHITECTURE_INCORRECT=Arquitetura do m\u00f3dulo incorreta
+HYNLS_PORT_SL_FILE_NOT_FOUND=Arquivo n\u00e3o localizado
+HYNLS_PORT_SL_PERMISSION_DENIED=Permiss\u00e3o negada
+HYNLS_PORT_SL_OUT_OF_MEMORY=Sem mem\u00f3ria
+HYNLS_PORT_SL_ERROR_PACE_BIT_SET=Erro: A fun\u00e7\u00e3o de 68K tem conjunto de bits PACE.
+HYNLS_PORT_SL_DLL_TABLE_NOT_FOUND=Tabela de DLLs n\u00e3o localizada
+HYNLS_PORT_SL_DLL_NOT_FOUND=DLL n\u00e3o localizada
+HYNLS_PORT_SL_UNABLE_TO_RESOLVE_REFERENCES=Imposs\u00edvel resolver refer\u00eancias de DLL - pode estar faltando uma DLL de pr\u00e9-requisito
+HYNLS_PORT_SL_INTERNAL_ERROR=Erro Interno %i
+
+#Note: argument is OS errorCode
+HYNLS_PORT_ERROR_OPERATION_FAILED=Falha na Opera\u00e7\u00e3o: %d
+#Note: argument is errorCodeBeingLookedUp, OS Function Call, errorCodeFromFunctionCall
+HYNLS_PORT_ERROR_MESSAGE_LOOKUP_FAILED=Falha na Opera\u00e7\u00e3o: %1$d (%2$s falhou: %3$d)
+
+
+
+



Mime
View raw message