search for: sflag

Displaying 20 results from an estimated 33 matches for "sflag".

Did you mean: flag
2006 Aug 11
2
[PATCH][XEN] Use a union to pack the dual-short combos in an endian neutral way.
...\ DPRINTK( _f, ## _a ); \ @@ -177,7 +188,7 @@ __gnttab_map_grant_ref( */ for ( ; ; ) { - u32 scombo, prev_scombo, new_scombo; + union grant_combo scombo, prev_scombo, new_scombo; if ( unlikely((sflags & GTF_type_mask) != GTF_permit_access) || unlikely(sdom != led->domain->domain_id) ) @@ -186,22 +197,25 @@ __gnttab_map_grant_ref( sflags, sdom, led->domain->domain_id); /* Merge two 16-bit values into a 32-bit combined upd...
2014 Feb 23
2
mk/efi.mk: Add libefi.a dependency
...e changed, 2 insertions(+), 2 deletions(-) > > diff --git a/mk/efi.mk b/mk/efi.mk > index 3390cfc..f90ce5c 100644 > --- a/mk/efi.mk > +++ b/mk/efi.mk > @@ -55,11 +55,11 @@ $(LIBEFI): > %.o: %.c > > .PRECIOUS: %.o > -%.o: %.S > +%.o: %.S $(LIBEFI) > $(CC) $(SFLAGS) -c -o $@ $< > > .PRECIOUS: %.o > -%.o: %.c > +%.o: %.c $(LIBEFI) > $(CC) $(CFLAGS) -c -o $@ $< > I see duplicate lines. Why do they exist? Would --- a/mk/efi.mk +++ b/mk/efi.mk @@ -58,10 +58,6 @@ $(LIBEFI): %.o: %.S $(LIBEFI) $(CC) $(SFLAGS) -c -o $@ $&lt...
2011 Nov 18
5
[PATCH 0 of 4] amd iommu: IOMMUv2 support
This patch set adds basic supports for amd next generation iommu (IOMMUv2) hardware. IOMMUv2 supports various new features advertised by iommu extended feature register. It introduces guest level IO translation and supports state-of-the-art ATS/ATC devices with demand paging capability. Please refer to AMD IOMMU Architectural Specification [1] for more details. Thanks, Wei [1]
2018 Dec 14
0
[PATCH nbdkit 2/3] sh: Switch nbdkit-sh-plugin to use API version 2.
...+sh_pwrite (void *handle, const void *buf, uint32_t count, uint64_t offset, + uint32_t flags) { char *h = handle; char cbuf[32], obuf[32]; - const char *args[] = { script, "pwrite", h, cbuf, obuf, NULL }; + /* In future, comma-separated list of flags. */ + const char *sflags = flags & NBDKIT_FLAG_FUA ? "fua" : ""; + const char *args[] = { script, "pwrite", h, cbuf, obuf, sflags, NULL }; snprintf (cbuf, sizeof cbuf, "%" PRIu32, count); snprintf (obuf, sizeof obuf, "%" PRIu64, offset); @@ -467,12 +472,6 @@ s...
2014 Feb 23
1
mk/efi.mk: Add libefi.a dependency
...efi.mk >>> index 3390cfc..f90ce5c 100644 >>> --- a/mk/efi.mk >>> +++ b/mk/efi.mk >>> @@ -55,11 +55,11 @@ $(LIBEFI): >>> %.o: %.c >>> >>> .PRECIOUS: %.o >>> -%.o: %.S >>> +%.o: %.S $(LIBEFI) >>> $(CC) $(SFLAGS) -c -o $@ $< >>> >>> .PRECIOUS: %.o >>> -%.o: %.c >>> +%.o: %.c $(LIBEFI) >>> $(CC) $(CFLAGS) -c -o $@ $< >>> >> >> I see duplicate lines. >> Why do they exist? >> >> Would >> --- a/mk/efi.mk &gt...
2011 Nov 29
1
avp 2010 no sound at all..
...:resource_check_usage Unhandled usage flags 0x8. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3dcompiler:D3DCompile data 0x94c478, data_size 1306, filename "memory", defines (nil), include 0x33f9a0, entrypoint "main_Reflect_Normal", target "ps_2_0", sflags 0, eflags 0, shader 0x33fbb0, error_messages 0x33fbb4 stub! err:d3dcompiler:assemble_shader Asm reading failed err:d3dcompiler:assemble_shader Asm reading failed err:d3dcompiler:assemble_shader Asm reading failed err:d3dcompiler:assemble_shader Asm reading failed err:d3dcompiler:assemble_shader As...
2018 Dec 14
6
[PATCH nbdkit 0/3] tests: Test export flags (eflags).
Some feature additions to the shell script plugin allow us to test the export flags field reasonably easily. Rich.
2014 Feb 23
0
mk/efi.mk: Add libefi.a dependency
...t; >> diff --git a/mk/efi.mk b/mk/efi.mk >> index 3390cfc..f90ce5c 100644 >> --- a/mk/efi.mk >> +++ b/mk/efi.mk >> @@ -55,11 +55,11 @@ $(LIBEFI): >> %.o: %.c >> >> .PRECIOUS: %.o >> -%.o: %.S >> +%.o: %.S $(LIBEFI) >> $(CC) $(SFLAGS) -c -o $@ $< >> >> .PRECIOUS: %.o >> -%.o: %.c >> +%.o: %.c $(LIBEFI) >> $(CC) $(CFLAGS) -c -o $@ $< >> > > I see duplicate lines. > Why do they exist? > > Would > --- a/mk/efi.mk > +++ b/mk/efi.mk > @@ -58,10 +58,6 @@ $(LIBE...
2002 Mar 15
4
PATCH: sftp-server logging.
...t;; + case SSH2_FX_BAD_MESSAGE: + return "Bad message"; + default: + return "Unknown error"; + } + } + #endif + static int flags_from_portable(int pflags) { *************** *** 115,120 **** --- 143,173 ---- return flags; } + #ifdef SFTP_LOGGING + void + sflags_from_portable(char *psflags, int pflags) + { + if (pflags & SSH2_FXF_READ) + *psflags = 'r'; + psflags++; + if (pflags & SSH2_FXF_WRITE) + *psflags = 'w'; + psflags++; + if (pflags & SSH2_FXF_APPEND) + *psflags = 'a'; + psflags++; + if (pflags &...
2001 Jun 20
1
SFTP Logging Redux.
...portable attibutes, etc. */ +/* User information. */ +#define CUNAME cuname ? cuname : "UNKNOWN" +struct passwd *upw; +uid_t cuid; +pid_t ppid; +char *cuname; +/* portable attibutes, etc. */ typedef struct Stat Stat; struct Stat { @@ -115,6 +121,28 @@ return flags; } +void +sflags_from_portable(char *psflags, int pflags) +{ + if (pflags & SSH2_FXF_READ) + *psflags = 'r'; + psflags++; + if (pflags & SSH2_FXF_WRITE) + *psflags = 'w'; + psflags++; + if (pflags & SSH2_FXF_APPEND) + *psflags = 'a'; + psflags++; + if (pflags & SSH2_FXF_C...
2020 Jul 28
1
[PATCH] mk/efi: add -znoseparate-code to LD_FLAGS for EFI builds
...(EFI_SUBARCH LDSCRIPT := $(LIBDIR)/elf_$(EFI_SUBARCH)_efi.lds LDFLAGS = -T $(SRC)/$(ARCH)/syslinux.ld -Bsymbolic -pie -nostdlib -znocombreloc \ - -L$(LIBDIR) --hash-style=gnu -m elf_$(ARCH) $(CRT0) -E + -znoseparate-code -L$(LIBDIR) --hash-style=gnu -m elf_$(ARCH) \ + $(CRT0) -E SFLAGS = $(GCCOPT) $(GCCWARN) $(ARCHOPT) \ -fomit-frame-pointer -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ \
2018 Aug 02
1
[PATCH 1/2] Add fabs() implementation
When we add -ffreestanding the compiler won't get to inline this any more. Signed-off-by: David Woodhouse <dwmw2 at infradead.org> --- com32/lib/math/fabs.S | 15 +++++++++++++++ mk/lib.mk | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 com32/lib/math/fabs.S diff --git a/com32/lib/math/fabs.S b/com32/lib/math/fabs.S new file mode 100644 index
2012 Apr 12
1
Legend of Grimrock won't start
...d usage flags 0x8. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3dcompiler:D3DCompile data 0x4e5c90, data_size 169, filename (null), defines (nil), include 0x33ee50, entrypoint "main", target "vs_3_0", sflags 0x8, eflags 0, shader 0x33eea4, error_messages 0x33ee60 stub! err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded er...
2019 Jan 25
0
[klibc:update-dash] [SHELL] Optimize dash -c "command" to avoid a fork
...node; /* BLETCH for ansi C */ void evaltree(union node *, int); diff --git a/usr/dash/main.c b/usr/dash/main.c index 7df3c441..f79ad7dd 100644 --- a/usr/dash/main.c +++ b/usr/dash/main.c @@ -171,7 +171,7 @@ state2: state3: state = 4; if (minusc) - evalstring(minusc, 0); + evalstring(minusc, sflag ? 0 : EV_EXIT); if (sflag || minusc == NULL) { state4: /* XXX ??? - why isn't this before the "if" statement */ diff --git a/usr/dash/mktokens b/usr/dash/mktokens index 43d76ce1..fa6ccf78 100644 --- a/usr/dash/mktokens +++ b/usr/dash/mktokens @@ -71,13 +71,16 @@ TEND 1 "}&qu...
2020 Mar 28
0
[klibc:update-dash] dash: [SHELL] Optimize dash -c "command" to avoid a fork
...node; /* BLETCH for ansi C */ void evaltree(union node *, int); diff --git a/usr/dash/main.c b/usr/dash/main.c index 7df3c441..f79ad7dd 100644 --- a/usr/dash/main.c +++ b/usr/dash/main.c @@ -171,7 +171,7 @@ state2: state3: state = 4; if (minusc) - evalstring(minusc, 0); + evalstring(minusc, sflag ? 0 : EV_EXIT); if (sflag || minusc == NULL) { state4: /* XXX ??? - why isn't this before the "if" statement */ diff --git a/usr/dash/mktokens b/usr/dash/mktokens index 43d76ce1..fa6ccf78 100644 --- a/usr/dash/mktokens +++ b/usr/dash/mktokens @@ -71,13 +71,16 @@ TEND 1 "}&qu...
2015 Mar 14
0
[PATCH 0/1] EFI access from Com32 modules
...l/include -std=gnu99 \ + -DELF_DEBUG -DSYSLINUX_EFI -I$(objdir) \ + $(GCCWARN) -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ -mno-red-zone \ + -Wno-unused-parameter $(GCCOPT) + + + + +## granular test pat +LDFLAGS += -Bsymbolic -pie -nostdlib -znocombreloc \ + -L$(LIBDIR) -m elf_$(ARCH) -E +# +# +SFLAGS += $(GCCOPT) $(GCCWARN) $(ARCHOPT) \ + -fomit-frame-pointer -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ \ + -nostdinc -iwithprefix include \ + -I$(com32)/libutil/include -I$(com32)/include -I$(com32)/include/sys $(GPLINCLUDE) + + + + +LIBEFI = $(objdir)/lib/libefi.a + +$(LIBEFI): + @ech...
2015 Oct 05
0
[PATCH 1/4] diag/mbr: fix dependency to linker script
...<sylvain.gault at gmail.com> --- diag/mbr/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diag/mbr/Makefile b/diag/mbr/Makefile index 5b7153c..7901fea 100644 --- a/diag/mbr/Makefile +++ b/diag/mbr/Makefile @@ -25,7 +25,7 @@ all: handoff.bin $(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $< .PRECIOUS: %.elf -%.elf: %.o $(mbrdir)/mbr.ld +%.elf: %.o $(mbrdir)/$(ARCH)/mbr.ld $(LD) $(LDFLAGS) -T $(mbrdir)/$(ARCH)/mbr.ld -e _start -o $@ $< %.bin: %.elf $(mbrdir)/checksize.pl -- 2.5.3
2012 Apr 02
1
problems loading DC universe
...I HDMI, disabling mixer > fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x17c6f8,0x17c52c): stub > fixme:d3dcompiler:D3DCompile data 0x3f15000, data_size 4152, filename (null), defines 0x3f59c40, include 0x1e9f194, entrypoint "MainStripXY16iCF32_T2", > target "vs_2_0", sflags 0x1000, eflags 0, shader 0x1e9f128, error_messages 0x1e9f130 stub! > err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x10c5ec3 > fixme:file:ReplaceFileW Ignoring flags 2 > fixme:file:ReplaceFileW Ignoring flags 2 > fixme:iphlpapi:CancelIPChangeNotify (overlapped...
2013 Jun 24
0
Syslinux 6.00 released
...re mbr sample efi txt -ISUBDIRS = efi utils +ISUBDIRS = INSTALLSUBDIRS = efi diff --git a/efi/Makefile b/efi/Makefile index 2003430..c89ca06 100644 --- a/efi/Makefile +++ b/efi/Makefile @@ -66,8 +66,6 @@ codepage.o: ../codepage/cp865.cp cp $(objdir)/../codepage/cp865.cp codepage.cp $(CC) $(SFLAGS) -c -o $@ $(core)/codepage.S -installer: syslinux.efi - install: all install -m 755 $(BTARGET) $(INSTALLROOT)$(AUXDIR) -- 1.8.1.4 -- Matt Fleming, Intel Open Source Technology Center
2013 Jun 24
2
Syslinux 6.00 released
On Sat, 22 Jun, at 05:24:21PM, Ferenc Wagner wrote: > Matt Fleming <matt at console-pimps.org> writes: > > > Please do test out the release and report any regressions. > > Unfortunately, I can't make it under Debian wheezy + experimental > gnu-efi (ie. 3.0u+debian-1): > > $ make installer [...] > make[3]: *** No rule to make target