wok rev 19882

bluez: add SIM access profile support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 03 10:59:15 2017 +0200 (2017-04-03)
parents 429d89fd5e0f
children a7fbb1c5c71a
files bluez/receipt linld/stuff/src/MEMTOP.ASM
line diff
     1.1 --- a/bluez/receipt	Mon Apr 03 10:27:24 2017 +0200
     1.2 +++ b/bluez/receipt	Mon Apr 03 10:59:15 2017 +0200
     1.3 @@ -38,6 +38,7 @@
     1.4  		--enable-cups \
     1.5  		--enable-tools \
     1.6  		--enable-wiimote \
     1.7 +		--enable-sap \
     1.8  		--disable-test \
     1.9  		--without-systemdunitdir \
    1.10  		$CONFIGURE_ARGS &&
     2.1 --- a/linld/stuff/src/MEMTOP.ASM	Mon Apr 03 10:27:24 2017 +0200
     2.2 +++ b/linld/stuff/src/MEMTOP.ASM	Mon Apr 03 10:59:15 2017 +0200
     2.3 @@ -48,15 +48,14 @@
     2.4                  mov     ax,0E801h
     2.5                  int     15h
     2.6                  jc      @@err
     2.7 -                push    cx              ;kludge to handle BIOSes
     2.8 -                or      cx,dx           ;  which report their extended
     2.9 -		pop	cx		;  memory in AX/BX rather than
    2.10 +		xchg	ax,cx
    2.11 +                push    ax              ;kludge to handle BIOSes
    2.12 +                or      ax,dx           ;  which report their extended
    2.13 +		pop	ax		;  memory in AX/BX rather than
    2.14                  jnz     @@use_cxdx      ;  CX/DX.  The spec I have read
    2.15  @@use_axbx:     mov     dx,bx           ;  seems to indicate AX/BX
    2.16 -                ;jmp     @@end_kludge    ;  are more reasonable anyway...
    2.17 -		db	0a8h	; test al,im opcode
    2.18 -@@use_cxdx:     xchg    ax,cx
    2.19 -@@end_kludge:                   ;now: dx=64k units above 16m
    2.20 +                xchg	ax,cx		;  are more reasonable anyway...
    2.21 +@@use_cxdx:                     ;now: dx=64k units above 16m
    2.22                                  ;     ax=1k units above 1m below 16m (max 3c00h)
    2.23                  test    dx,dx
    2.24                  jz      tokb            ;dx=0 here, ax=kbs above 1m