Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include
- Timestamp:
- Oct 29, 2015 4:30:44 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 103777
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
- Property svn:mergeinfo changed
/vendor/edk2/current merged: 103769-103776
- Property svn:mergeinfo changed
-
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Arm/machine/frame.h
r48674 r58466 120 120 121 121 #endif /* _ARM_FRAME_H_ */ 122 122 123 123 /* End of frame.h */ -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Efi/EfiSocketLib.h
r58459 r58466 181 181 @param [in] pThis Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance. 182 182 @param [in] pChildHandle Pointer to the handle of the child to create. If it is NULL, 183 then a new handle is created. If it is a pointer to an existing UEFI handle, 183 then a new handle is created. If it is a pointer to an existing UEFI handle, 184 184 then the protocol is added to the existing UEFI handle. 185 185 … … 200 200 /** 201 201 Destroys a child handle with a protocol installed on it. 202 202 203 203 When the socket application is linked against UseSocketDxe, the ::close 204 204 routine indirectly calls this routine in SocketDxe to undo the operations … … 437 437 is designed to be polled by the connect routine for completion 438 438 of the network connection. 439 439 440 440 @param [in] pSocketProtocol Address of an ::EFI_SOCKET_PROTOCOL structure. 441 441 442 442 @param [in] pSockAddr Network address of the remote system. 443 443 444 444 @param [in] SockAddrLength Length in bytes of the network address. 445 445 446 446 @param [out] pErrno Address to receive the errno value upon completion. 447 447 448 448 @retval EFI_SUCCESS The connection was successfully established. 449 449 @retval EFI_NOT_READY The connection is in progress, call this routine again. … … 469 469 470 470 @param [in] pSocketProtocol Address of an ::EFI_SOCKET_PROTOCOL structure. 471 471 472 472 @param [out] pAddress Network address to receive the local system address 473 473 … … 497 497 498 498 @param [in] pSocketProtocol Address of an ::EFI_SOCKET_PROTOCOL structure. 499 499 500 500 @param [out] pAddress Network address to receive the remote system address 501 501 … … 650 650 651 651 @param [in] pSocketProtocol Address of an ::EFI_SOCKET_PROTOCOL structure. 652 652 653 653 @param [in] Flags Message control flags 654 654 655 655 @param [in] BufferLength Length of the the buffer 656 656 657 657 @param [in] pBuffer Address of a buffer to receive the data. 658 658 659 659 @param [in] pDataLength Number of received data bytes in the buffer. 660 660 … … 690 690 691 691 @param [in] pSocketProtocol Address of an ::EFI_SOCKET_PROTOCOL structure. 692 692 693 693 @param [in] How Which operations to stop 694 694 695 695 @param [out] pErrno Address to receive the errno value upon completion. 696 696 … … 718 718 719 719 @param [in] pSocketProtocol Address of an ::EFI_SOCKET_PROTOCOL structure. 720 720 721 721 @param [in] Flags Message control flags 722 722 723 723 @param [in] BufferLength Length of the the buffer 724 724 725 725 @param [in] pBuffer Address of a buffer containing the data to send 726 726 727 727 @param [in] pDataLength Address to receive the number of data bytes sent 728 728 -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ia32/machine/asm.h
r48674 r58466 108 108 #define IDTVEC(name) \ 109 109 ALIGN_TEXT; .globl X ## name; .type X ## name,@function; X ## name: 110 #else 110 #else 111 111 #define IDTVEC(name) \ 112 112 ALIGN_TEXT; .globl X/**/name; .type X/**/name,@function; X/**/name: 113 #endif /* __STDC__ */ 114 #else 115 #ifdef __STDC__ 116 #define IDTVEC(name) \ 117 ALIGN_TEXT; .globl _X ## name; .type _X ## name,@function; _X ## name: 113 #endif /* __STDC__ */ 114 #else 115 #ifdef __STDC__ 116 #define IDTVEC(name) \ 117 ALIGN_TEXT; .globl _X ## name; .type _X ## name,@function; _X ## name: 118 118 #else 119 119 #define IDTVEC(name) \ … … 152 152 # define _PROF_PROLOGUE \ 153 153 pushl %ebp; movl %esp,%ebp; call PIC_PLT(__mcount); popl %ebp 154 # else 154 # else 155 155 # define _PROF_PROLOGUE \ 156 156 pushl %ebp; movl %esp,%ebp; call PIC_PLT(mcount); popl %ebp -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ia32/machine/byte_swap.h
r48674 r58466 70 70 __byte_swap_u16_variable(uint16_t x) 71 71 { 72 __asm volatile ("rorw $8, %w1" : "=r" (x) : "0" (x)); 72 __asm volatile ("rorw $8, %w1" : "=r" (x) : "0" (x)); 73 73 return (x); 74 74 } -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/asm.h
r48674 r58466 4 4 * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University 5 5 * All Rights Reserved. 6 * 6 * 7 7 * Permission to use, copy, modify and distribute this software and its 8 8 * documentation is hereby granted, provided that both the copyright … … 10 10 * software, derivative works or modified versions, and any portions 11 11 * thereof, and that both notices appear in supporting documentation. 12 * 12 * 13 13 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 14 14 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR 15 15 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 16 * 16 * 17 17 * Carnegie Mellon requests users of this software to return to 18 * 18 * 19 19 * Software Distribution Coordinator or [email protected] 20 20 * School of Computer Science 21 21 * Carnegie Mellon University 22 22 * Pittsburgh PA 15213-3890 23 * 23 * 24 24 * any improvements or extensions that they make and grant Carnegie Mellon 25 25 * the rights to redistribute these changes. -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/bootinfo.h
r48674 r58466 6 6 * 7 7 * Author: Chris G. Demetriou 8 * 8 * 9 9 * Permission to use, copy, modify and distribute this software and 10 10 * its documentation is hereby granted, provided that both the copyright … … 12 12 * software, derivative works or modified versions, and any portions 13 13 * thereof, and that both notices appear in supporting documentation. 14 * 15 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 16 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 14 * 15 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 16 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 17 17 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 18 * 18 * 19 19 * Carnegie Mellon requests users of this software to return to 20 20 * -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/cpu.h
r48674 r58466 151 151 /* 152 152 * Give a profiling tick to the current process when the user profiling 153 * buffer pages are invalid. XXX:Fixme.... On the ia64 I haven't yet figured 153 * buffer pages are invalid. XXX:Fixme.... On the ia64 I haven't yet figured 154 154 * out what to do about this.. XXX. 155 155 */ … … 172 172 173 173 174 /* XXX: TODO: generic microtime support kern/kern_microtime.c 175 * #define microtime(tv) cc_microtime(tv) 174 /* XXX: TODO: generic microtime support kern/kern_microtime.c 175 * #define microtime(tv) cc_microtime(tv) 176 176 */ 177 177 -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/db_machdep.h
r48674 r58466 76 76 #define ADDR_SLOT0(addr) ( (addr) & ~(0xFUL) ) 77 77 #define SLOT_ADDR(addr) ( (addr) & (0xFUL) ) 78 /* breakpoint address. 79 * Check for violations of pseudo offsets above 2. 78 /* breakpoint address. 79 * Check for violations of pseudo offsets above 2. 80 80 * Adjust for 32 bit shift within Bundle. 81 81 */ -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/ia64_cpu.h
r48674 r58466 181 181 } 182 182 183 /* 183 /* 184 184 * Flush Instruction Cache 185 185 */ -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/int_limits.h
r48674 r58466 85 85 86 86 /* 7.18.2.3 Limits of fastest minimum-width integer types */ 87 87 88 88 /* minimum values of fastest minimum-width signed integer types */ 89 89 #define INT_FAST8_MIN (-0x7fffffff-1) /* int_fast8_t */ -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/loadfile_machdep.h
r48674 r58466 52 52 53 53 /* XXX: cherry: This whole thing is glue between the NetBSD pread/vpbcopy etc. etc 54 * and the FreeBSD kern_pread/bzero etc. etc. Needs to be cleaned up 54 * and the FreeBSD kern_pread/bzero etc. etc. Needs to be cleaned up 55 55 * after discussion. 56 56 */ -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/pmap.h
r48674 r58466 157 157 158 158 159 #define PMAP_VHPT_LOG2SIZE 16 159 #define PMAP_VHPT_LOG2SIZE 16 160 160 161 161 -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/setjmp.h
r48674 r58466 5 5 * Intel Corporation. 6 6 * All rights reserved. 7 * 7 * 8 8 * Redistribution and use in source and binary forms, with or without 9 9 * modification, are permitted provided that the following conditions 10 10 * are met: 11 * 11 * 12 12 * 1. Redistributions of source code must retain the above copyright 13 13 * notice, this list of conditions and the following disclaimer. 14 * 14 * 15 15 * 2. Redistributions in binary form must reproduce the above copyright 16 16 * notice, this list of conditions and the following disclaimer in the 17 17 * documentation and/or other materials provided with the distribution. 18 * 18 * 19 19 * 3. All advertising materials mentioning features or use of this software 20 20 * must display the following acknowledgement: 21 * 21 * 22 22 * This product includes software developed by Intel Corporation and 23 23 * its contributors. 24 * 24 * 25 25 * 4. Neither the name of Intel Corporation or its contributors may be 26 26 * used to endorse or promote products derived from this software 27 27 * without specific prior written permission. 28 * 28 * 29 29 * THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION AND CONTRIBUTORS ``AS IS'' 30 30 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE … … 38 38 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 39 39 * THE POSSIBILITY OF SUCH DAMAGE. 40 * 40 * 41 41 * $FreeBSD: src/sys/ia64/include/setjmp.h,v 1.12 2003/07/26 08:03:43 marcel Exp $ 42 42 */ -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/Protocol/EfiSocket.h
r58459 r58466 29 29 30 30 /** 31 EfiSocketLib (SocketDxe) interface 31 EfiSocketLib (SocketDxe) interface 32 32 **/ 33 33 typedef struct _EFI_SOCKET_PROTOCOL EFI_SOCKET_PROTOCOL; … … 207 207 is designed to be polled by the connect routine for completion 208 208 of the network connection. 209 209 210 210 @param [in] pSocketProtocol Address of the ::EFI_SOCKET_PROTOCOL structure. 211 211 212 212 @param [in] pSockAddr Network address of the remote system. 213 213 214 214 @param [in] SockAddrLength Length in bytes of the network address. 215 215 216 216 @param [out] pErrno Address to receive the errno value upon completion. 217 217 218 218 @retval EFI_SUCCESS The connection was successfully established. 219 219 @retval EFI_NOT_READY The connection is in progress, call this routine again. … … 240 240 241 241 @param [in] pSocketProtocol Address of the ::EFI_SOCKET_PROTOCOL structure. 242 242 243 243 @param [out] pAddress Network address to receive the local system address 244 244 … … 269 269 270 270 @param [in] pSocketProtocol Address of the ::EFI_SOCKET_PROTOCOL structure. 271 271 272 272 @param [out] pAddress Network address to receive the remote system address 273 273 … … 427 427 428 428 @param [in] pSocketProtocol Address of the ::EFI_SOCKET_PROTOCOL structure. 429 429 430 430 @param [in] Flags Message control flags 431 431 432 432 @param [in] BufferLength Length of the the buffer 433 433 434 434 @param [in] pBuffer Address of a buffer to receive the data. 435 435 436 436 @param [in] pDataLength Number of received data bytes in the buffer. 437 437 … … 468 468 469 469 @param [in] pSocketProtocol Address of the ::EFI_SOCKET_PROTOCOL structure. 470 470 471 471 @param [in] How Which operations to stop 472 472 473 473 @param [out] pErrno Address to receive the errno value upon completion. 474 474 … … 530 530 531 531 @param [in] pSocketProtocol Address of the ::EFI_SOCKET_PROTOCOL structure. 532 532 533 533 @param [in] Flags Message control flags 534 534 535 535 @param [in] BufferLength Length of the the buffer 536 536 537 537 @param [in] pBuffer Address of a buffer containing the data to send 538 538 539 539 @param [in] pDataLength Address to receive the number of data bytes sent 540 540 -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/X64/machine/asm.h
r48674 r58466 72 72 #define IDTVEC(name) \ 73 73 ALIGN_TEXT; .globl X ## name; .type X ## name,@function; X ## name: 74 #else 74 #else 75 75 #define IDTVEC(name) \ 76 76 ALIGN_TEXT; .globl X/**/name; .type X/**/name,@function; X/**/name: 77 #endif /* __STDC__ */ 77 #endif /* __STDC__ */ 78 78 #endif /* _KERNEL */ 79 79 -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/X64/machine/byte_swap.h
r48674 r58466 62 62 __byte_swap_u16_variable(uint16_t x) 63 63 { 64 __asm volatile ("rorw $8, %w1" : "=r" (x) : "0" (x)); 64 __asm volatile ("rorw $8, %w1" : "=r" (x) : "0" (x)); 65 65 return (x); 66 66 } -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/arpa/nameser_compat.h
r48674 r58466 3 3 /* Copyright (c) 1983, 1989 4 4 * The Regents of the University of California. All rights reserved. 5 * 5 * 6 6 * Redistribution and use in source and binary forms, with or without 7 7 * modification, are permitted provided that the following conditions … … 19 19 * may be used to endorse or promote products derived from this software 20 20 * without specific prior written permission. 21 * 21 * 22 22 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23 23 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/err.h
r48674 r58466 2 2 3 3 Copyright (c) 2011, Intel Corporation. All rights reserved.<BR> 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 11 **/ 12 12 -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/glob.h
r48674 r58466 65 65 */ 66 66 void (*gl_closedir)(void *); 67 struct dirent *(*gl_readdir)(void *); 67 struct dirent *(*gl_readdir)(void *); 68 68 void *(*gl_opendir)(const char *); 69 69 int (*gl_lstat)(const char *, __gl_stat_t *); -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/netatalk/at.h
r48674 r58466 71 71 72 72 /* 73 * Socket address, AppleTalk style. We keep magic information in the 73 * Socket address, AppleTalk style. We keep magic information in the 74 74 * zero bytes. There are three types, NONE, CONFIG which has the phase 75 75 * and a net range, and IFACE which has the network address of an -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/netinet/ip.h
r48674 r58466 6 6 * Intel Corporation. 7 7 * All rights reserved. 8 * 8 * 9 9 * Redistribution and use in source and binary forms, with or without 10 10 * modification, are permitted provided that the following conditions 11 11 * are met: 12 * 12 * 13 13 * 1. Redistributions of source code must retain the above copyright 14 14 * notice, this list of conditions and the following disclaimer. 15 * 15 * 16 16 * 2. Redistributions in binary form must reproduce the above copyright 17 17 * notice, this list of conditions and the following disclaimer in the 18 18 * documentation and/or other materials provided with the distribution. 19 * 19 * 20 20 * 3. All advertising materials mentioning features or use of this software 21 21 * must display the following acknowledgement: 22 * 22 * 23 23 * This product includes software developed by the University of 24 24 * California, Berkeley, Intel Corporation, and its contributors. 25 * 25 * 26 26 * 4. Neither the name of University, Intel Corporation, or their respective 27 27 * contributors may be used to endorse or promote products derived from 28 28 * this software without specific prior written permission. 29 * 29 * 30 30 * THIS SOFTWARE IS PROVIDED BY THE REGENTS, INTEL CORPORATION AND 31 31 * CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/nsswitch.h
r58464 r58466 55 55 * Layout of: 56 56 * uint32_t ns_src.flags 57 */ 57 */ 58 58 /* nsswitch.conf status codes and nsdispatch(3) return values */ 59 59 #define NS_SUCCESS (1<<0) /* entry was found */ … … 126 126 #define NS_FILES_CB(F,C) { NSSRC_FILES, F, __UNCONST(C) }, 127 127 #define NS_COMPAT_CB(F,C) { NSSRC_COMPAT, F, __UNCONST(C) }, 128 128 129 129 #ifdef HESIOD 130 130 # define NS_DNS_CB(F,C) { NSSRC_DNS, F, __UNCONST(C) }, -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/stringlist.h
r48674 r58466 42 42 43 43 #ifndef _STRINGLIST_H 44 #define _STRINGLIST_H 44 #define _STRINGLIST_H 45 45 #include <sys/cdefs.h> 46 46 #include <sys/types.h> -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/_posix.h
r48674 r58466 36 36 * It should only handle pre-processor defines. 37 37 * 38 * See section B.2.7 of 1003.1b-1993 38 * See section B.2.7 of 1003.1b-1993 39 39 * 40 40 */ … … 82 82 * If they specify a version including P1003.1B then they show up. 83 83 * 84 * (Two macros are added to permit hiding new extensions while 84 * (Two macros are added to permit hiding new extensions while 85 85 * keeping historic BSD features - that is not done now) 86 86 * -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/sockio.h
r48674 r58466 6 6 * Intel Corporation. 7 7 * All rights reserved. 8 * 8 * 9 9 * Redistribution and use in source and binary forms, with or without 10 10 * modification, are permitted provided that the following conditions 11 11 * are met: 12 * 12 * 13 13 * 1. Redistributions of source code must retain the above copyright 14 14 * notice, this list of conditions and the following disclaimer. 15 * 15 * 16 16 * 2. Redistributions in binary form must reproduce the above copyright 17 17 * notice, this list of conditions and the following disclaimer in the 18 18 * documentation and/or other materials provided with the distribution. 19 * 19 * 20 20 * 3. All advertising materials mentioning features or use of this software 21 21 * must display the following acknowledgement: 22 * 22 * 23 23 * This product includes software developed by the University of 24 24 * California, Berkeley, Intel Corporation, and its contributors. 25 * 25 * 26 26 * 4. Neither the name of University, Intel Corporation, or their respective 27 27 * contributors may be used to endorse or promote products derived from 28 28 * this software without specific prior written permission. 29 * 29 * 30 30 * THIS SOFTWARE IS PROVIDED BY THE REGENTS, INTEL CORPORATION AND 31 31 * CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, -
trunk/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/sysctl.h
r48674 r58466 9 9 * Intel Corporation. 10 10 * All rights reserved. 11 * 11 * 12 12 * Redistribution and use in source and binary forms, with or without 13 13 * modification, are permitted provided that the following conditions 14 14 * are met: 15 * 15 * 16 16 * 1. Redistributions of source code must retain the above copyright 17 17 * notice, this list of conditions and the following disclaimer. 18 * 18 * 19 19 * 2. Redistributions in binary form must reproduce the above copyright 20 20 * notice, this list of conditions and the following disclaimer in the 21 21 * documentation and/or other materials provided with the distribution. 22 * 22 * 23 23 * 3. All advertising materials mentioning features or use of this software 24 24 * must display the following acknowledgement: 25 * 25 * 26 26 * This product includes software developed by the University of 27 27 * California, Berkeley, Intel Corporation, and its contributors. 28 * 28 * 29 29 * 4. Neither the name of University, Intel Corporation, or their respective 30 30 * contributors may be used to endorse or promote products derived from 31 31 * this software without specific prior written permission. 32 * 32 * 33 33 * THIS SOFTWARE IS PROVIDED BY THE REGENTS, INTEL CORPORATION AND 34 34 * CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, … … 96 96 * be implemented. 97 97 * e.g. SYSCTL_INT(_parent, OID_AUTO, name, CTLFLAG_RW, &variable, 0, ""); 98 */ 98 */ 99 99 #define OID_AUTO (-1) 100 100
Note:
See TracChangeset
for help on using the changeset viewer.