search for: mangle_name

Displaying 20 results from an estimated 25 matches for "mangle_name".

Did you mean: mangled_name
2010 Sep 15
2
CONFIG and appended directory; current directory
I've been testing the CONFIG directive and config.c32 module and I've found a possible issue. It seems to ignore the directory of "/" but can otherwise go up and down a directory tree perfectly. Executing COM32 chdir("/") does seem to work. Also, I noticed that the config file name is relative to the old present working directory (herein pwd) and not the new pwd
2006 Dec 22
5
[LLVMdev] in Cygwin problems
...totypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -o jc1.exe \ java/parse.o java/class.o java/decl.o java/expr.o java/constants.o java/lang.o java/typeck.o j ava/except.o java/verify.o java/zextract.o java/jcf-io.o java/win32-host.o java/jcf-parse.o java/mangle.o java /mangle_name.o java/builtins.o java/resource.o java/jcf-write.o java/buffer.o java/check-init.o java/jcf-depen d.o java/jcf-path.o java/xref.o java/boehm.o java/java-tree-inline.o mkdeps.o main.o libbackend.a -L../zlib -l z -liconv ../libiberty/libiberty.a -liconv libbackend.a(llvm-expand.o):llvm-expand.c:(.te...
2008 Feb 02
3
[LLVMdev] Problem Compiling llvm-gcc 4.2
...n -Wmissing-format-attribute -DHAVE_CONFIG_H -o jc1 \ java/parse.o java/class.o java/decl.o java/expr.o java/ constants.o java/lang.o java/typeck.o java/except.o java/verify-glue.o java/verify-impl.o java/zextract.o java/jcf-io.o java/win32-host.o java/jcf-parse.o java/mangle.o java/mangle_name.o java/builtins.o java/ resource.o java/jcf-write.o java/buffer.o java/check-init.o java/jcf- depend.o java/jcf-path.o java/boehm.o java/java-gimplify.o main.o libbackend.a ../libcpp/libcpp.a attribs.o stub-objc.o stub-c.o -L../ zlib -lz ../libcpp/libcpp.a ../libiberty/libiberty.a ../ li...
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
...how wrong that was). HPA: If you need me to separate this patch into multiple patches, please let me know. 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/ldlin...
2003 Dec 27
0
2 disks boot patch
...freddy77 + ; detect change needed + lodsw + cmp ah, ':' + je set_initrd_span + xor ax,ax + dec si + dec si +set_initrd_span: + mov [es:initrd_span], al +; end - freddy77 + mov di,InitRD push si ; mangle_dir mangles si call mangle_name ; Mangle ramdisk name pop si cmp byte [es:InitRD],NULLFILE ; Null filename? seta byte [es:initrd_flag] ; Set flag if not not_initrd: pop es ; Restore ES -> real_mode_seg skip_this_opt: lodsb...
2003 Dec 27
0
FW: 2 disks boot patch
...freddy77 + ; detect change needed + lodsw + cmp ah, ':' + je set_initrd_span + xor ax,ax + dec si + dec si +set_initrd_span: + mov [es:initrd_span], al +; end - freddy77 + mov di,InitRD push si ; mangle_dir mangles si call mangle_name ; Mangle ramdisk name pop si cmp byte [es:InitRD],NULLFILE ; Null filename? seta byte [es:initrd_flag] ; Set flag if not not_initrd: pop es ; Restore ES -> real_mode_seg skip_this_opt: lodsb...
2004 Oct 07
1
x86 vs. x86_64 detection proof of concept patch (try two)
...0000 -0600 @@ -100,6 +100,17 @@ .err: ret ; +; "kernel64" command +pc_kernel64: cmp word [VKernelCtr],byte 0 + je .err ; ("label" section only) + cmp word [CpuIs64], 0 + je .err ; Ignore if kernel cpu is 32bit + call pc_getline + mov di,VKernelBuf+vk_rname + call mangle_name +.err: ret + +; ; "timeout" command ; pc_timeout: call getint diff -u syslinux-2.11/pxelinux.asm syslinux-2.11.new/pxelinux.asm --- syslinux-2.11/pxelinux.asm 2004-08-04 00:16:53.000000000 -0600 +++ syslinux-2.11.new/pxelinux.asm 2004-10-04 17:33:56.000000000 -0600 @@ -304,6 +304,7 @@...
2013 Mar 02
0
[GIT-PULL] ext4 inline data support
...->fs; @@ -326,7 +348,7 @@ const struct fs_ops ext2_fs_ops = { .fs_flags = FS_THISIND | FS_USEMEM, .fs_init = ext2_fs_init, .searchdir = NULL, - .getfssec = generic_getfssec, + .getfssec = ext2_getfssec, .close_file = generic_close_file, .mangle_name = generic_mangle_name, .load_config = generic_load_config, diff --git a/core/fs/ext2/ext2_fs.h b/core/fs/ext2/ext2_fs.h index 8adc9bb..62cbc4a 100644 --- a/core/fs/ext2/ext2_fs.h +++ b/core/fs/ext2/ext2_fs.h @@ -31,10 +31,12 @@ #define EXT2_TIND_BLOCK (EXT2_DIND_BLOCK+1) #define EXT2_N_...
2005 Dec 15
3
menu.c32 - Return from sub-menu
I am new to SYSLINUX/PXELINUX and it is great! Thanks! Looking around the archives for uses/examples for the simple menu (menu.c32) for our implementation (DOS boot with networking support for various NICs), and it occurred to me that I might want to go back to the main menu if I ended up in the wrong sub-menu. Also would be useful if one needed to create multiple levels of menus and wanted to
2006 Dec 22
0
[LLVMdev] in Cygwin problems
...tic -Wno-long-long -fno-common -DHAVE_CONFIG_H -o jc1.exe \ > java/parse.o java/class.o java/decl.o java/expr.o java/constants.o java/lang.o java/typeck.o j > ava/except.o java/verify.o java/zextract.o java/jcf-io.o java/win32-host.o java/jcf-parse.o java/mangle.o java > /mangle_name.o java/builtins.o java/resource.o java/jcf-write.o java/buffer.o java/check-init.o java/jcf-depen > d.o java/jcf-path.o java/xref.o java/boehm.o java/java-tree-inline.o mkdeps.o main.o libbackend.a -L../zlib -l > z -liconv ../libiberty/libiberty.a -liconv > libbackend.a(llvm-expand.o):llv...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...ctual file structures (we don't have malloc yet...) */ __export struct file files[MAX_OPEN]; @@ -344,6 +349,9 @@ __export int open_file(const char *name, int flags, struct com32_filedata *filed dprintf("open_file %s\n", name); + if (switch_fs(&name)) + return -1; + mangle_name(mangled_name, name); rv = searchdir(mangled_name, flags); @@ -361,6 +369,9 @@ __export int open_file(const char *name, int flags, struct com32_filedata *filed filedata->blocklg2 = SECTOR_SHIFT(file->fs); filedata->handle = rv; + restore_fs(); + restore_chdir_start();...
2017 Mar 06
3
PATH directive searches in reverse order with wrong separator
...t that leads into a maze of twisty passages of virtual functions, default implementations and other stuff I haven't figured out yet. Also, what's the difference between CurrentDirName[] and config_cwd[] and this_fs->cwd_name? While trying to figure all that out, I found this in generic_mangle_name() which looks wrong to me. When collapsing repeat slashes (should we also be stripping repeat backslashes here?), we decrement i which is the "space left" count, but we haven't actually copied a character. I think that means that later, we'll end up padding with the incorrect nu...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...api_kbdtable: stc ret +; +; INT 22h AX=001Fh Get current working directory +; +comapi_getcwd: + 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=00...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...mapi_writeadv equ adv_write +; +; INT 22h AX=001Eh Get current working directory +; +comapi_getcwd: + 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=00...
2014 May 29
0
[PATCH 2/2] core/fs: Add support for Unix File system 1/2.
...>block_shift; +} + +const struct fs_ops ufs_fs_ops = { + .fs_name = "ufs", + .fs_flags = FS_USEMEM | FS_THISIND, + .fs_init = ufs_fs_init, + .searchdir = NULL, + .getfssec = generic_getfssec, + .close_file = generic_close_file, + .mangle_name = generic_mangle_name, + .open_config = generic_open_config, + .readlink = NULL, + .readdir = ufs_readdir, + .iget_root = ufs_iget_root, + .iget = ufs_iget, + .next_extent = ufs_next_extent, +}; diff --git a/core/fs/ufs/ufs.h b/core/fs/ufs/ufs.h...
2013 Jul 12
1
[PATCH 001/001] core/fs: Add support to Unix File system 1/2.
...>block_shift; +} + +const struct fs_ops ufs_fs_ops = { + .fs_name = "ufs", + .fs_flags = FS_USEMEM | FS_THISIND, + .fs_init = ufs_fs_init, + .searchdir = NULL, + .getfssec = generic_getfssec, + .close_file = generic_close_file, + .mangle_name = generic_mangle_name, + .open_config = generic_open_config, + .readlink = NULL, + .readdir = ufs_readdir, + .iget_root = ufs_iget_root, + .iget = ufs_iget, + .next_extent = ufs_next_extent, +}; diff --git a/core/fs/ufs/ufs.h b/core/fs/ufs/ufs.h...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...lfree(kernel); - create_args_and_load(cmdline); + lfree((void *)kernel); + create_args_and_load((char *)cmdline); } else if (type == KT_CONFIG) { char *argv[] = { "ldlinux.c32", NULL }; @@ -96,7 +97,7 @@ void execute(const char *cmdline, enum kernel_type type) if (*args) mangle_name(config_cwd, args); - start_ldlinux("ldlinux.c32", 1, argv); + start_ldlinux(argv); } else if (type == KT_LOCALBOOT) { /* process the image need int 22 support */ ireg.eax.w[0] = 0x0014; /* Local boot */ @@ -105,10 +106,10 @@ void execute(const char *cmdline, enum kernel_type t...
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com> Wrote the documentation below. I think it would be good to push the doc to the wiki as soon as the UFS support gets merged. Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install) ----- There is a confusion about the name of this file system, then I decided to contact the author who replied: "The name has always been