search for: totalsize

Displaying 20 results from an estimated 29 matches for "totalsize".

Did you mean: total_size
2014 Jul 10
4
[PATCH 1/5] utils/mkdiskimage.in: Option -s caused freshly created image files to be too small by a factor of 512.
--- utils/mkdiskimage.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mkdiskimage.in b/utils/mkdiskimage.in index 533193a..a95a077 100644 --- a/utils/mkdiskimage.in +++ b/utils/mkdiskimage.in @@ -218,7 +218,7 @@ $totalsize = $c*$h*$s; $tracks = $c*$h; # If -s is given, try to simply use truncate... -unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) { +unless ($opt{'s'} && truncate(OUTPUT, $totalsize * 512)) { $track = "\0" x (512*$s); # Print fractional tr...
2014 Jan 30
5
[PATCH 00/05] Mending for mkdiskimage
Hi, following is a series of patches derived from my proposed diff. Based on syslinux-6.03-pre1, but should also apply down to 4.xx. I hope to have imitated the changelog style sufficiently. Mine are a bit longer than usual with patches in the archive, i fear. Instructions for the future are welcome. Each intermediate state is tested for its designated purpose only. The final state after
2014 Jan 23
4
[PATCH] Proposal for a pacifier option with mkdiskimage
...print STDERR " -s output a sparse file (don't allocate all blocks)\n"; + print STDERR " -S sync after each zeroized cylinder and show count\n"; exit 1; } @@ -221,12 +222,23 @@ $tracks = $c*$h; unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) { $track = "\0" x (512*$s); + $show_pacifier = $opt{'S'}; + # Print fractional track print OUTPUT "\0" x (512 * ($s-1)); for ( $i = 1 ; $i < $tracks ; $i++ ) { + if ( $show_pacifier && ( $i - 1 ) % $h == 0) { + $cyl_to_write =...
2014 Jan 28
3
[PATCH] Proposal for a pacifier option with mkdiskimage
...image file, with and without -s: ------------------------------------------------------------------------- --- mkdiskimage_orig.in 2014-01-23 12:23:34.000000000 +0100 +++ mkdiskimage_with_lower_s.in 2014-01-28 08:25:02.000000000 +0100 @@ -217,8 +217,11 @@ print OUTPUT "\x55\xaa"; $totalsize = $c*$h*$s; $tracks = $c*$h; -# If -s is given, try to simply use truncate... -unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) { +# If -s is given, simply use truncate. Do not care for success. Failure is +# normal with Linux block devices. +if ($opt{'s'}) { + tr...
2014 Jan 30
2
[PATCH 02/05] utils/mkdiskimage.in: With option -s: Avoid zeroizing the partition even if truncate() failed
utils/mkdiskimage.in: With option -s: Avoid zeroizing the partition even if truncate() failed. --- utils/mkdiskimage_patched_01.in 2014-01-30 20:43:02.000000000 +0100 +++ utils/mkdiskimage.in 2014-01-30 20:45:09.000000000 +0100 @@ -217,8 +217,11 @@ print OUTPUT "\x55\xaa"; $totalsize = $c*$h*$s; $tracks = $c*$h; -# If -s is given, try to simply use truncate... -unless ($opt{'s'} && truncate(OUTPUT, $totalsize * 512)) { +# If -s is given, simply use truncate. Do not care for success. Failure is +# normal with Linux block devices. +if ($opt{'s'}) { +...
2014 Jan 30
2
[PATCH 04/05] utils/mkdiskimage.in: New option -S to sync zeroizing after each cylinder and to issue pacifier messages
...pacifier && ( $i - 1 ) % $h == 0 ) { + $cyl_to_write = ( $i - 1 ) / $h + 1; + IO::Handle::sync(OUTPUT); + print STDERR " zeroizing cylinder $cyl_to_write of $c\r"; + } print OUTPUT $track; } + if ( $show_pacifier ) { + IO::Handle::sync(OUTPUT); + $zeroized = $totalsize + $zero_tail - 1; + print STDERR " $zeroized blocks zeroized. \n"; + } } # Print mtools temp file
2014 Jan 30
0
[PATCH 01/05] utils/mkdiskimage.in: Option -s caused freshly created image files to be too small by a factor of 512.
utils/mkdiskimage.in: Option -s caused freshly created image files to be too small by a factor of 512. --- utils/mkdiskimage_orig.in 2014-01-23 12:23:34.000000000 +0100 +++ utils/mkdiskimage.in 2014-01-30 20:35:13.000000000 +0100 @@ -218,7 +218,7 @@ $totalsize = $c*$h*$s; $tracks = $c*$h; # If -s is given, try to simply use truncate... -unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) { +unless ($opt{'s'} && truncate(OUTPUT, $totalsize * 512)) { $track = "\0" x (512*$s); # Print fractional tr...
2014 Jan 30
1
[PATCH] Mending proposals for mkdiskimage
...-i specify the MBR ID\n"; print STDERR " -s output a sparse file (don't allocate all blocks)\n"; + print STDERR " -S sync after each zeroized cylinder and show count\n"; exit 1; } @@ -217,16 +216,41 @@ print OUTPUT "\x55\xaa"; $totalsize = $c*$h*$s; $tracks = $c*$h; -# If -s is given, try to simply use truncate... -unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) { +# If -s is given, simply use truncate. Do not care for success. Failure is +# normal with Linux block devices. +if ($opt{'s'}) { + tr...
2018 Mar 26
0
Interest in integrating a linux perf JITEventListener?
..., > + JIT_CODE_DEBUG_INFO = 2, > + JIT_CODE_CLOSE = 3, > + JIT_CODE_UNWINDING_INFO = 4, > + > + JIT_CODE_MAX, > +}; > + > +struct LLVMPerfJitHeader { > + uint32_t Magic; /* characters "JiTD" */ > + uint32_t Version; /* header version */ > + uint32_t TotalSize; /* total size of header */ > + uint32_t ElfMach; /* elf mach target */ > + uint32_t Pad1; /* reserved */ > + uint32_t Pid; > + uint64_t Timestamp; /* timestamp */ > + uint64_t Flags; /* flags */ > +}; > + > +/* record prefix (mandatory in each record) */ > +struct L...
2009 Jul 30
2
SYSLINUX 3.83-pre3
I *think* I have found and fixed the Thinkpad MEMDISK problem. The problem with MS-DOS I understand... not so when it comes to an apparently unrelated FreeDOS problem, and as such I really don't know *why* the hack I did works, nor if it will *stay* fixed, but at least it seems to boot on my T61 (at least until it crashes due to another error...) -hpa -- H. Peter Anvin, Intel Open Source
2016 Dec 29
1
Interest in integrating a linux perf JITEventListener?
Having something like this available in tree would definitely be useful. For simplicity, why don't we start with support for the second style? This is the long term useful one and would be a good starting point for getting the code in tree. Can you give a pointer to the patch so that I can assess the rough complexity? If it's simple enough, I'd be happy to help get it reviewed
2017 Feb 02
0
Interest in integrating a linux perf JITEventListener?
Hi, On 2016-12-29 13:17:50 -0800, Philip Reames wrote: > Having something like this available in tree would definitely be > useful. Cool. > For simplicity, why don't we start with support for the second style? This > is the long term useful one and would be a good starting point for getting > the code in tree. Works for me. > Can you give a pointer to the patch so that
2015 Jan 26
2
[LLVMdev] [llvm] r188726 - Adding PIC support for ELF on x86_64 platforms
...Address(GOTSectionID) + (GOTIndex * GOTEntrySize); +} + +void RuntimeDyldELF::finalizeLoad() { + // Allocate the GOT if necessary + size_t numGOTEntries = GOTEntries.size(); + if (numGOTEntries != 0) { + // Allocate memory for the section + unsigned SectionID = Sections.size(); + size_t TotalSize = numGOTEntries * getGOTEntrySize(); + uint8_t *Addr = MemMgr->allocateDataSection(TotalSize, getGOTEntrySize(), + SectionID, false); + if (!Addr) + report_fatal_error("Unable to allocate memory for GOT!"); + Sections.push_ba...
2009 Jul 31
1
[PATCH] [memdisk] Additional EDD Device Parameter Table fields
...emdisk/memdisk.inc | 11 +++++++++++ memdisk/setup.c | 10 ++++++++++ 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/memdisk/memdisk.inc b/memdisk/memdisk.inc index 2699c34..b4d45c4 100644 --- a/memdisk/memdisk.inc +++ b/memdisk/memdisk.inc @@ -1008,6 +1008,17 @@ EDD_DPT: .totalsize dd 0, 0 ; Filled in by installer .bytespersec dw SECTORSIZE .eddtable dw -1, -1 ; Invalid DPTE pointer +.dpikey dw 0 ; Device Path Info magic (not impl.) + ; Would be 0beddh if implemented +.dpilen db 2ch ; DPI len +.res1 db 0 ; Reserved +.res2 db 0 ; Reserved +.bustype equ ...
1999 Nov 15
0
ANNOUNCE: openssh-1.2pre12
...sor directives from acconfig.h - Removed redundant inclusions of config.h - Added 'Obsoletes' lines to RPM spec file - Merged OpenBSD CVS changes: - [bufaux.c] save a view malloc/memcpy/memset/free's, ok niels - [scp.c] fix overflow reported by damien at ibs.com.au: off_t totalsize, ok niels,aaron - Delay fork (-f option) in ssh until after port forwarded connections have been initialised. Patch from Jani Hakala <jahakala at cc.jyu.fi> - Added shadow password patch from Thomas Neumann <tom at smart.ruhr.de> - Added ifdefs to auth-passwd.c to exclude it when...
2007 Aug 24
0
[LLVMdev] Turning on exception handling codegen
Hi Duncan, > > I'm trying it on 4.0. On 4.2, I'm getting this problem during bootstrapping: > > > > ccAMeZbg.s:111:non-relocatable subtraction expression, > > "___gxx_personality_v0" minus "L0" > > ccAMeZbg.s:111:symbol: "___gxx_personality_v0" can't be undefined in a > > subtraction expression > > this is the
2004 Jan 28
3
Change in reporting for --dry-run in 2.6.x
I just noticed that there is an extra blank line in the output generated by rsync when the --dry-run (-n) flag is used. This seems to have started with 2.6.0. Is this desired? The reason why I'm asking is because I use scripts that parse the output from rsync and little modifications in verbosity can make or break things easily. Thanks, -- Alberto [ads@localhost bin]$ rsync-2.5.7
2008 Apr 17
1
[LLVMdev] Being able to know the jitted code-size before emitting
Thx again Evan for the review. Here's a new patch for the JIT in itself. The major changes are: 1) A JITMemoryManager now has a flag saying "I require to know the size of what you want to emit" 2) DwarfJITEmitter is augmented with GetSize* functions 3) JITEmitter::startFunction checks if the JITMemoryManager requires to know the size. If so, it computes it and gives it through the
2007 Aug 24
5
[LLVMdev] Turning on exception handling codegen
Hi Bill, > I'm trying it on 4.0. On 4.2, I'm getting this problem during bootstrapping: > > ccAMeZbg.s:111:non-relocatable subtraction expression, > "___gxx_personality_v0" minus "L0" > ccAMeZbg.s:111:symbol: "___gxx_personality_v0" can't be undefined in a > subtraction expression this is the darwin assembler that barfs, right? It
2008 Feb 04
0
[LLVMdev] Exception handling in JIT
...nterSize(); > + > + unsigned TypeOffset = sizeof(int8_t) + // Call site format > + // Call-site table length > + AsmPrinter::SizeULEB128(SizeSites) + > + SizeSites + SizeActions + SizeTypes; > + > + unsigned TotalSize = sizeof(int8_t) + // LPStart format > + sizeof(int8_t) + // TType format > + AsmPrinter::SizeULEB128(TypeOffset) + // > TType base offset > + TypeOffset; > + > + unsigned SizeAlign = (4 - TotalSize) & 3; &gt...