Displaying 20 results from an estimated 278 matches for "jz".
Did you mean:
jnz
2015 Feb 13
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...FFh
mov edi, 1
mov r13, r9
nop word ptr [rax+rax+00h]
loc_100000DB0: ; CODE XREF: _main+14F j
xor ebx, ebx
mov ebp, r10d
sub ebp, [r13+0]
jz loc_100000D30
cmp ecx, ebp
jz loc_100000D30
cmp edi, ebp
jz loc_100000D30
add r13, 4
inc rdi
dec ecx
mov ebx, edi
ad...
2015 Feb 14
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
..., r9
>> nop word ptr [rax+rax+00h]
>>
>> loc_100000DB0: ; CODE XREF: _main+14F j
>> xor ebx, ebx
>> mov ebp, r10d
>> sub ebp, [r13+0]
>> jz loc_100000D30
>> cmp ecx, ebp
>> jz loc_100000D30
>> cmp edi, ebp
>> jz loc_100000D30
>> add r13, 4
>> inc rdi
>>...
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
...ow.
diff --git a/core/comboot.inc b/core/comboot.inc
index 2ff5f33..0d4f931 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -1067,12 +1067,8 @@ comapi_opendir:
mov di,InitRD
call mangle_name
pop ds
- call searchdir
- jnz comapi_err ; Didn't find a directory
- cmp eax,0
- jz comapi_err ; Found nothing
- ;ZF is unset
- call alloc_fill_dir
+ call searchdir4dir
+ jz comapi_err
mov P_EAX,eax
mov P_CX,SECTOR_SIZE
mov P_SI,si
diff --git a/core/ldlinux.asm b/core/ldlinux.asm
index 2219d5f..0bd7d0d 100644
--- a/core/ldlinux.asm
+++ b/core/ldlinux.asm
@@ -984,10 +...
2015 Feb 14
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...rax+rax+00h]
>>>>
>>>> loc_100000DB0: ; CODE XREF: _main+14F j
>>>> xor ebx, ebx
>>>> mov ebp, r10d
>>>> sub ebp, [r13+0]
>>>> jz loc_100000D30
>>>> cmp ecx, ebp
>>>> jz loc_100000D30
>>>> cmp edi, ebp
>>>> jz loc_100000D30
>>>> add r13, 4
>>>>...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...mov P_ES,cs
+ mov P_BX,CurrentDirName
+ clc
+ ret
+
+;
+; INT 22h AX=0020h Open directory
+;
+%if IS_SYSLINUX
+comapi_opendir:
+ push ds
+ mov ds,P_ES
+ mov si,P_SI
+ mov di,InitRD
+ call mangle_name
+ pop ds
+ call searchdir
+ jnz comapi_err ; Didn't find a directory
+ cmp eax,0
+ jz comapi_err ; Found nothing
+ ;ZF is unset
+ call alloc_fill_dir
+ mov P_EAX,eax
+ mov P_CX,SECTOR_SIZE
+ mov P_SI,si
+ clc
+ ret
+%else
+comapi_opendir equ comapi_err
+%endif
+
+;
+; INT 22h AX=0021h Read directory
+;
+%if IS_SYSLINUX
+comapi_readdir:
+ mov es,P_ES
+ mov di,P_DI
+ mov si...
2010 Jan 21
2
Samba behind NAT
Hello All,
I have a strange problem regarding samba 3.0.37
I have samba server installed in the local network behind NAT, the
router iptables are configured as follows:
#samba
$IPT -t nat -A PREROUTING -i $INET_IFACE -p udp -d $INET_IP -m multiport --dports 137,138 -j DNAT --to-destination $FILESERV
$IPT -t nat -A PREROUTING -i $INET_IFACE -p tcp -d $INET_IP -m multiport
2010 Mar 09
3
Enhanced MDISKCHK.COM and MEMDISK patches
Good day to all,
Gert Hulselmans requested a feature for MDISKCHK.COM that would function
roughly like GETARGS.COM[1] by Murali Krishnan Ganapathy: DOS SET
command output for MEMDISK kernel arguments passed by previous
boot-loaders. He also needed to support the case for
MEMDISK-in-a-MEMDISK type situations, where all MEMDISK kernel arguments
could be gathered together and output as a list
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...mov P_ES,cs
+ mov P_BX,CurrentDirName
+ clc
+ ret
+
+;
+; INT 22h AX=001Fh Open directory
+;
+%if IS_SYSLINUX
+comapi_opendir:
+ push ds
+ mov ds,P_ES
+ mov si,P_SI
+ mov di,InitRD
+ call mangle_name
+ pop ds
+ call searchdir
+ jnz comapi_err ; Didn't find a directory
+ cmp eax,0
+ jz comapi_err ; Found nothing
+ ;ZF is unset
+ call alloc_fill_dir
+ mov P_EAX,eax
+ mov P_CX,SECTOR_SIZE
+ mov P_SI,si
+ clc
+ ret
+%else
+comapi_opendir equ comapi_err
+%endif
+
+;
+; INT 22h AX=0020h Read directory
+;
+%if IS_SYSLINUX
+comapi_readdir:
+ mov es,P_ES
+ mov di,P_DI
+ mov si...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...nc cx
+ cld
+ mov [pspCmdLen],cl
+ mov si,pspCmdArg+1
+ mov di,si
+ add di,cx
+ xor al,al
+ stosb
+ mov si,pspCmdArg+1
+
+; get config file name
+ mov ax,0eh
+ int 22h
+
+; open config file
+ mov si,bx ; es:bx config file name
+ mov ax,6
+ int 22h
+ jc no_config_file
+ and eax,eax
+ jz no_config_file
+ jmp got_config_file
+no_config_file:
+ push es
+ push bx
+ push cs
+ pop es
+ mov bx, msg_config_file
+ mov ax,2
+ int 22h
+ mov bx, msg_space
+ mov ax,2
+ int 22h
+ pop bx
+ pop es
+ mov ax,2
+ int 22h
+ push cs
+ pop es
+ mov bx, msg_space
+ mov ax,2
+ int 22h...
2009 Jul 13
0
[PATCH] gfxboot: change handling of keywords
...int 22h
%endif
+ mov bx,keywords
+ mov cx,[keyword_cnt]
+.keywords_loop:
+ push cx
push si
push di
- xor ecx,ecx
+ xor cx,cx
mov si,configbuf
- mov di,label_keyword+1
- mov cl, byte [label_keyword]
+ mov di,[bx]
+ mov cl,byte [di]
+ inc di
call memcmp
pop di
pop si
- jz .do_label
+ jnz .not_found
+ pop cx
+ call [bx+2] ; call keyword handler
+ jmp .read
- push si
- push di
- xor ecx,ecx
- mov si,configbuf
- mov di,default_keyword+1
- mov cl, byte [default_keyword]
- call memcmp
- pop di
- pop si
- jz .do_default
+.not_found:
+ add bx,4
+ pop cx
+...
2009 Aug 10
2
PROMPT=0/ESCAPE key SERIAL fun
...slinux-3.82/core/ui.inc 2009-08-07 20:31:19.868015273 +0100
@@ -48,6 +48,16 @@
;
; Check whether or not we are supposed to display the boot prompt.
;
+check_for_key_serial:
+ mov dx,[SerialPort] ; No serial port -> no input
+ and dx,dx
+ jz check_for_key
+; call pollchar
+; jz check_for_key
+ call reset_idle
+ call getchar
+ cmp al,1Bh ; <ESC>
+ je enter_command
check_for_key:
test byte [KbdFlags],5Bh ;...
2009 Jan 15
21
4 disk raidz1 with 3 disks...
Hello,
I was hoping that this would work:
http://blogs.sun.com/zhangfan/entry/how_to_turn_a_mirror
I have 4x(1TB) disks, one of which is filled with 800GB of data (that I
cant delete/backup somewhere else)
> root at FSK-Backup:~# zpool create -f ambry raidz1 c4t0d0 c5t0d0 c5t1d0
> /dev/lofi/1
> root at FSK-Backup:~# zpool list
> NAME SIZE USED AVAIL CAP HEALTH ALTROOT
2002 Feb 26
0
syslinux timeout
...slinux_id equ 031h ; SYSLINUX (3) version 1.x (1)
;
; Segments used by Linux
;
; Note: the real_mode_seg is supposed to be 9000h, but some device drivers
; hog some of high memory. Therefore, we load it at 7000:0000h and copy
; it before starting the Linux kernel.
@@ -1198,20 +1201,24 @@
jz near no_config_file
parse_config:
call getkeyword
jc near end_config_file ; Config file loaded
cmp ax,'de' ; DEfault
je pc_default
cmp ax,'ap' ; APpend
je pc_append
cmp ax,'ti' ; TImeout
je near pc_timeout
+ ; DTM BEGIN --------...
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...nc cx
+ cld
+ mov [pspCmdLen],cl
+ mov si,pspCmdArg+1
+ mov di,si
+ add di,cx
+ xor al,al
+ stosb
+ mov si,pspCmdArg+1
+
+; get config file name
+ mov ax,0eh
+ int 22h
+
+; open config file
+ mov si,bx ; es:bx config file name
+ mov ax,6
+ int 22h
+ jc no_config_file
+ and eax,eax
+ jz no_config_file
+ jmp got_config_file
+no_config_file:
+ push es
+ push bx
+ push cs
+ pop es
+ mov bx, msg_config_file
+ mov ax,2
+ int 22h
+ mov bx, msg_space
+ mov ax,2
+ int 22h
+ pop bx
+ pop es
+ mov ax,2
+ int 22h
+ push cs
+ pop es
+ mov bx, msg_space
+ mov ax,2
+ int 22h...
2017 Oct 04
0
[PATCH 09/13] x86/asm: Convert ALTERNATIVE*() assembler macros to preprocessor macros
...arch/x86/entry/entry_32.S
index 21d1197779a4..338dc838a9a8 100644
--- a/arch/x86/entry/entry_32.S
+++ b/arch/x86/entry/entry_32.S
@@ -443,8 +443,8 @@ ENTRY(entry_SYSENTER_32)
movl %esp, %eax
call do_fast_syscall_32
/* XEN PV guests always use IRET path */
- ALTERNATIVE "testl %eax, %eax; jz .Lsyscall_32_done", \
- "jmp .Lsyscall_32_done", X86_FEATURE_XENPV
+ #define JMP_IF_IRET testl %eax, %eax; jz .Lsyscall_32_done
+ ALTERNATIVE(JMP_IF_IRET, jmp .Lsyscall_32_done, X86_FEATURE_XENPV)
/* Opportunistic SYSEXIT */
TRACE_IRQS_ON /* User mode traces as IRQs on. *...
2017 Mar 24
2
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi,
i am looking now at the code which i assume loads the rest of isolinux.bin.
The entry point for program execution from the MBR is obviously at
http://git.zytor.com/syslinux/syslinux.git/tree/core/isolinux.asm#n186
(Do i get it right that this is the Intel syntax ? (Gronfff))
If POP yields the victim of the most recent not yet popped PUSH, then
this does not look correctly coordinated
2009 Apr 09
0
[PATCH] gfxboot: parse DEFAULT keywork in syslinux config file
...mov [menu_desc+menu_ent_list+2],di
- mov word [menu_desc+menu_default],0
- mov [menu_desc+menu_default+2],di
+ mov word [menu_desc+menu_default],dentry_buf
+ mov [menu_desc+menu_default+2],cs
mov di,256
mov [menu_desc+menu_arg_list],di
@@ -699,6 +699,17 @@ parse_config:
pop si
jz .do_label
+ push si
+ push di
+ xor ecx,ecx
+ mov si,configbuf
+ mov di,default_keyword+1
+ mov cl, byte [default_keyword]
+ call memcmp
+ pop di
+ pop si
+ jz .do_default
+
.nextline:
call skipline
jmp .read
@@ -723,6 +734,22 @@ parse_config:
jmp .read
+.do_default:
+ ca...
2005 May 10
2
filename
...o
R via cgi. R gets the parameters by using commandArgs, which are passed
to a variable named j and z
j<-commandArgs()[3]
z<-commandArgs()[4]
Later I want to use the characters strings of the argument which the
variables are holding for my filename, e.g.:
jpeg(file="d:/data/images/jz.jpeg",...)
i tried to use paste and as.character, but neither worked out the way i
want it to.
thanks for any advice, Lars Claussen
2008 Mar 11
3
Is it possible to make hypercall from user application directly?
Hi,
I implemented my own Hypercall in xen.
Now I wish my application under dom0 could talk to Xen via my hypercall.
Currently, I make a stub in dom0''s kernel, which works as a proxy to forward
the request. So, my application first makes a system call to dom0, which
then makes hypercall to xen.
Is this design necessary? May I call hypercalls from user application under
dom0 directly?
2015 Nov 18
0
[PATCH 1/3] x86/xen: Avoid fast syscall path for Xen PV guests
...a/arch/x86/entry/entry_32.S
+++ b/arch/x86/entry/entry_32.S
@@ -308,7 +308,8 @@ sysenter_past_esp:
movl %esp, %eax
call do_fast_syscall_32
- testl %eax, %eax
+ /* XEN PV guests always use IRET path */
+ ALTERNATIVE "testl %eax, %eax", "xor %eax, %eax", X86_FEATURE_XENPV
jz .Lsyscall_32_done
/* Opportunistic SYSEXIT */
diff --git a/arch/x86/entry/entry_64_compat.S b/arch/x86/entry/entry_64_compat.S
index c320183..98893d9 100644
--- a/arch/x86/entry/entry_64_compat.S
+++ b/arch/x86/entry/entry_64_compat.S
@@ -121,7 +121,8 @@ sysenter_flags_fixed:
movq %rsp, %rdi...