From f215e02bf85f68d3a6106c2a1f4f7f063f819064 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Apr 2024 10:17:27 +0200 Subject: Adding upstream version 7.0.14-dfsg. Signed-off-by: Daniel Baumann --- src/VBox/Runtime/common/string/watcom/bzero.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/memchr.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/memcmp.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/memcpy.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/memmove.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/mempcpy.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/memrchr.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/memset.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/strchr.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/strcmp.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/strcpy.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/strlen.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/strncmp.asm | 42 +++++++++++++++++++++++ src/VBox/Runtime/common/string/watcom/strncpy.asm | 42 +++++++++++++++++++++++ 14 files changed, 588 insertions(+) create mode 100644 src/VBox/Runtime/common/string/watcom/bzero.asm create mode 100644 src/VBox/Runtime/common/string/watcom/memchr.asm create mode 100644 src/VBox/Runtime/common/string/watcom/memcmp.asm create mode 100644 src/VBox/Runtime/common/string/watcom/memcpy.asm create mode 100644 src/VBox/Runtime/common/string/watcom/memmove.asm create mode 100644 src/VBox/Runtime/common/string/watcom/mempcpy.asm create mode 100644 src/VBox/Runtime/common/string/watcom/memrchr.asm create mode 100644 src/VBox/Runtime/common/string/watcom/memset.asm create mode 100644 src/VBox/Runtime/common/string/watcom/strchr.asm create mode 100644 src/VBox/Runtime/common/string/watcom/strcmp.asm create mode 100644 src/VBox/Runtime/common/string/watcom/strcpy.asm create mode 100644 src/VBox/Runtime/common/string/watcom/strlen.asm create mode 100644 src/VBox/Runtime/common/string/watcom/strncmp.asm create mode 100644 src/VBox/Runtime/common/string/watcom/strncpy.asm (limited to 'src/VBox/Runtime/common/string/watcom') diff --git a/src/VBox/Runtime/common/string/watcom/bzero.asm b/src/VBox/Runtime/common/string/watcom/bzero.asm new file mode 100644 index 00000000..b7b0ebe4 --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/bzero.asm @@ -0,0 +1,42 @@ +; $Id: bzero.asm $ +;; @file +; IPRT - No-CRT bzero - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/bzero.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/memchr.asm b/src/VBox/Runtime/common/string/watcom/memchr.asm new file mode 100644 index 00000000..b04df09e --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/memchr.asm @@ -0,0 +1,42 @@ +; $Id: memchr.asm $ +;; @file +; IPRT - No-CRT memchr - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/memchr.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/memcmp.asm b/src/VBox/Runtime/common/string/watcom/memcmp.asm new file mode 100644 index 00000000..c29702a5 --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/memcmp.asm @@ -0,0 +1,42 @@ +; $Id: memcmp.asm $ +;; @file +; IPRT - No-CRT memcmp - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/memcmp.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/memcpy.asm b/src/VBox/Runtime/common/string/watcom/memcpy.asm new file mode 100644 index 00000000..64617098 --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/memcpy.asm @@ -0,0 +1,42 @@ +; $Id: memcpy.asm $ +;; @file +; IPRT - No-CRT memcpy - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/memcpy.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/memmove.asm b/src/VBox/Runtime/common/string/watcom/memmove.asm new file mode 100644 index 00000000..0d741f03 --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/memmove.asm @@ -0,0 +1,42 @@ +; $Id: memmove.asm $ +;; @file +; IPRT - No-CRT memmove - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/memmove.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/mempcpy.asm b/src/VBox/Runtime/common/string/watcom/mempcpy.asm new file mode 100644 index 00000000..d00bc6e5 --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/mempcpy.asm @@ -0,0 +1,42 @@ +; $Id: mempcpy.asm $ +;; @file +; IPRT - No-CRT mempcpy - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/mempcpy.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/memrchr.asm b/src/VBox/Runtime/common/string/watcom/memrchr.asm new file mode 100644 index 00000000..d020ead1 --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/memrchr.asm @@ -0,0 +1,42 @@ +; $Id: memrchr.asm $ +;; @file +; IPRT - No-CRT memrchr - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/memrchr.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/memset.asm b/src/VBox/Runtime/common/string/watcom/memset.asm new file mode 100644 index 00000000..d98f0951 --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/memset.asm @@ -0,0 +1,42 @@ +; $Id: memset.asm $ +;; @file +; IPRT - No-CRT memset - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/memset.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/strchr.asm b/src/VBox/Runtime/common/string/watcom/strchr.asm new file mode 100644 index 00000000..9efe0c61 --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/strchr.asm @@ -0,0 +1,42 @@ +; $Id: strchr.asm $ +;; @file +; IPRT - No-CRT strchr - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/strchr.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/strcmp.asm b/src/VBox/Runtime/common/string/watcom/strcmp.asm new file mode 100644 index 00000000..a4cd1135 --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/strcmp.asm @@ -0,0 +1,42 @@ +; $Id: strcmp.asm $ +;; @file +; IPRT - No-CRT strcmp - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/strcmp.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/strcpy.asm b/src/VBox/Runtime/common/string/watcom/strcpy.asm new file mode 100644 index 00000000..1d9a5f3a --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/strcpy.asm @@ -0,0 +1,42 @@ +; $Id: strcpy.asm $ +;; @file +; IPRT - No-CRT strcpy - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/strcpy.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/strlen.asm b/src/VBox/Runtime/common/string/watcom/strlen.asm new file mode 100644 index 00000000..81d5396d --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/strlen.asm @@ -0,0 +1,42 @@ +; $Id: strlen.asm $ +;; @file +; IPRT - No-CRT strlen - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/strlen.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/strncmp.asm b/src/VBox/Runtime/common/string/watcom/strncmp.asm new file mode 100644 index 00000000..a62dac4e --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/strncmp.asm @@ -0,0 +1,42 @@ +; $Id: strncmp.asm $ +;; @file +; IPRT - No-CRT strncmp - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/strncmp.asm" + diff --git a/src/VBox/Runtime/common/string/watcom/strncpy.asm b/src/VBox/Runtime/common/string/watcom/strncpy.asm new file mode 100644 index 00000000..65a6868e --- /dev/null +++ b/src/VBox/Runtime/common/string/watcom/strncpy.asm @@ -0,0 +1,42 @@ +; $Id: strncpy.asm $ +;; @file +; IPRT - No-CRT strncpy - Watcom register calling convention. +; + +; +; Copyright (C) 2006-2023 Oracle and/or its affiliates. +; +; This file is part of VirtualBox base platform packages, as +; available from https://www.virtualbox.org. +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation, in version 3 of the +; License. +; +; This program 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 +; General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, see . +; +; The contents of this file may alternatively be used under the terms +; of the Common Development and Distribution License Version 1.0 +; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +; in the VirtualBox distribution, in which case the provisions of the +; CDDL are applicable instead of those of the GPL. +; +; You may elect to license modified versions of this file under the +; terms and conditions of either the GPL or the CDDL or both. +; +; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +; + +%include "iprt/asmdefs.mac" + +%define ASM_CALL32_WATCOM +%define NAME(name) name %+ _ +%include "common/string/strncpy.asm" + -- cgit v1.2.3