search for: mstruct

Displaying 8 results from an estimated 8 matches for "mstruct".

Did you mean: struct
2012 Oct 22
1
[PATCH] memdisk: adjust order of DPT values in mstructs.h
...ts' 2nd edition by Ralf Brown & Jim Kyle copyright 1994 1st printing 1993 ISBN: 0-201-62485-0 page 211 Note: this fixes an issue with older FreeDOS kernels that expect this structure to contain valid values. Signed-off-by: Kenneth J. Davis <jeremyd at fdos.org> diff --git a/memdisk/mstructs.h b/memdisk/mstructs.h index fecbff4..0b0dc07 100644 --- a/memdisk/mstructs.h +++ b/memdisk/mstructs.h @@ -121,9 +121,9 @@ typedef union { uint8_t specify1; /* "First specify byte" */ uint8_t specify2; /* "Second specify byte" */ uint8_t dela...
2015 Apr 20
2
[LLVMdev] question about alignment of structures on the stack (arm 32)
Dear community, I faced with code which was generated by llvm, assembly instructions of that code is relying on 8-bytes alignment for structures on the stack. The part of Objective C code is following: -(void)getCharacters:(unichar *)unicode {     NSRange range;     range.location = 0;     range.length = [self length];     printf("%p, %p\n", &range.location, &range.length); And
2015 Apr 21
2
[LLVMdev] question about alignment of structures on the stack (arm 32)
...value, and second field of "range" is evaluated incorrectly, its address evaluated as address of the structure itself. because of orr r3, r2, #4, The minimum example I think is: #include <stdio.h> typedef struct {     int a;     char b; } MyStruct; int main(void) {     MyStruct mStruct = {11, 100};     printf("%p, %p\n", &mStruct.a, &mStruct.b);     return 0; } compile it by clang ---- clang version 3.3 (tags/RELEASE_33/final) Target: armv7l-unknown-linux-gnueabi Thread model: posix ----- And we get following code of assembler language: main:     push    {r11, l...
2004 Nov 30
0
[LLVMdev] Trouble using llvm tools
...^C^Y^B^O^@^G^@^G������"^@^@^@^@������"^@^@^@^@������^B^Q^@^@^@����^G^F^@^@]^Q^P^@^K<8c>^P^Hb^Q^A^A ^L ^@p^R^B^A^A������p^R^B^A^B������p^R��r^U^A^A^E^G^@^@��^H^@^@^@^A^A^B^Gtmp.1.i^C^G^B^Etmp.0^D^Gtmp.0.i^C^Etmp.2^C^L^L__main.entry^A endif.0.i^@^Eentry��$^M^@^@^B^Y^Nstruct..TorRec^Y^Mstruct.TorRecB^O^A^F.str_2^B^F.str_3^A^R^A^Fprintf^A^U^A^Dexit^A^W^A^Dmain^A^M^A^F.str_1^A^Q^A^OInitialized.0__������ ------------------------------------------------------------------------------- I generated it like this: $llvmgcc prog.c -o prog Thanks Tanu Chris Lattner <sabre at nondot.org&...
2004 Nov 30
4
[LLVMdev] Trouble using llvm tools
On Tue, 30 Nov 2004, Tanu Sharma wrote: > I have trouble using the llvm tools.Some of the errors are : > > $ llvm-dis prog.bc > $ llvm-dis: Invalid Top Level Block Length! Type:1, Size:456 (Vers=0, Pos=12) Can you explain how you generated this bytecode file? It looks corrupted or something. Also, can you send the actual bytecode file itself? Thanks! -Chris >
2007 Aug 02
0
Package portability issues
...uch as stdlib.h and math.h (and really cstdlib and cmath should be used). 3) Using features of particular sets of headers, e.g. "General.h", line 3: Error: Could not open include file<map.h>. "Scythe_Matrix.h", line 193: Error: __PRETTY_FUNCTION__ is not defined. "mstructs.cc", line 733: Error: The function "isinf" must have a prototype. "unf.cpp", line 459: Error: The function "finite" must have a prototype. "matrix.h", line 142: Error: Could not open include file<stdexcep>. "gnm.c", line 113: identifier...
2011 Aug 06
4
[PATCH] ifmemdsk.c32: Allow boot options based on presence of MEMDISK
...ot_detected_cmd' action will be taken.\n\ +\n"; + +#include <stdio.h> +#include <string.h> +#include <alloca.h> +#include <com32.h> +#include <console.h> +#include <syslinux/boot.h> + +/* Pull in MEMDISK common structures */ +#include "../../memdisk/mstructs.h" + +/*** Macros */ +#define M_GET_DRIVE_PARAMS (0x08) +#define M_INT13H ((0x0000 << 4) + 0x0013 * 4) +#define M_FREEBASEMEM ((0x0040 << 4) + 0x0013) +#define M_TOP ((0x9FFF << 4) + 0x0000) + +/*** Object types */ +typedef struct mdi s_mdi; +typedef real_addr_t u_segoff; +t...
2010 Jun 01
12
Wine & Pro/Intralink
Hi My name i Lorenzo, I'm new on linux's world. I wold like to know is someone has tried to use Wine with Pro/Intralink (a PTC product). During installation...no problem. Lunching the program after installation... no results. Following, more informations: WINE Version: Wine 1.2-rc1 TERMINAL OUTPUT DURING INSTALLATION [code]icelolli at ascari:/media/PRO$ wine setup.exe icelolli at