# HG changeset patch # User Pascal Bellard # Date 1491209955 -7200 # Node ID 2717d404353bad23211cd9c9215ce76bfd0d6cee # Parent 429d89fd5e0fdfb1ca0d4c4b7ab58ccb139e862a bluez: add SIM access profile support diff -r 429d89fd5e0f -r 2717d404353b bluez/receipt --- a/bluez/receipt Mon Apr 03 10:27:24 2017 +0200 +++ b/bluez/receipt Mon Apr 03 10:59:15 2017 +0200 @@ -38,6 +38,7 @@ --enable-cups \ --enable-tools \ --enable-wiimote \ + --enable-sap \ --disable-test \ --without-systemdunitdir \ $CONFIGURE_ARGS && diff -r 429d89fd5e0f -r 2717d404353b linld/stuff/src/MEMTOP.ASM --- a/linld/stuff/src/MEMTOP.ASM Mon Apr 03 10:27:24 2017 +0200 +++ b/linld/stuff/src/MEMTOP.ASM Mon Apr 03 10:59:15 2017 +0200 @@ -48,15 +48,14 @@ mov ax,0E801h int 15h jc @@err - push cx ;kludge to handle BIOSes - or cx,dx ; which report their extended - pop cx ; memory in AX/BX rather than + xchg ax,cx + push ax ;kludge to handle BIOSes + or ax,dx ; which report their extended + pop ax ; memory in AX/BX rather than jnz @@use_cxdx ; CX/DX. The spec I have read @@use_axbx: mov dx,bx ; seems to indicate AX/BX - ;jmp @@end_kludge ; are more reasonable anyway... - db 0a8h ; test al,im opcode -@@use_cxdx: xchg ax,cx -@@end_kludge: ;now: dx=64k units above 16m + xchg ax,cx ; are more reasonable anyway... +@@use_cxdx: ;now: dx=64k units above 16m ; ax=1k units above 1m below 16m (max 3c00h) test dx,dx jz tokb ;dx=0 here, ax=kbs above 1m