X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/89b3af67bb32e691275bf6fa803d1834b2284115..21362eb3e66fd2c787aee132bce100a44d71a99c:/osfmk/i386/commpage/bzero_scalar.s diff --git a/osfmk/i386/commpage/bzero_scalar.s b/osfmk/i386/commpage/bzero_scalar.s index 8d33c61b1..c55405696 100644 --- a/osfmk/i386/commpage/bzero_scalar.s +++ b/osfmk/i386/commpage/bzero_scalar.s @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2005 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2003 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -71,12 +71,10 @@ .text .align 5, 0x90 Lbzero_scalar: - pushl %ebp /* set up a frame for backtraces */ - movl %esp,%ebp pushl %edi pushl %ebx - movl 8(%ebp),%edi - movl 12(%ebp),%ecx + movl 12(%esp),%edi + movl 16(%esp),%ecx cld /* set fill direction forward */ xorl %eax,%eax /* set fill data to 0 */ @@ -87,7 +85,7 @@ Lbzero_scalar: * unaligned set. */ cmpl $0x0f,%ecx - jbe L1 + jle L1 movl %edi,%edx /* compute misalignment */ negl %edx @@ -111,7 +109,6 @@ L1: rep popl %ebx popl %edi - popl %ebp ret - COMMPAGE_DESCRIPTOR(bzero_scalar,_COMM_PAGE_BZERO,0,kHasSSE2) + COMMPAGE_DESCRIPTOR(bzero_scalar,_COMM_PAGE_BZERO,0,0)