Displaying 20 results from an estimated 82 matches for "_text".
Did you mean:
text
1998 Nov 11
0
Clipping and (device)_Text
..., since I found the following comments in devX11.c
/* Device capabilities */
/* Clipping is problematic for X11 */
/* Graphics is clipped, text is not */
.....................................
dd->dp.canClip = 1;
I simple disabled clipping in (device)_Text(...).
Now, all seems ok; examples before, demo(graphics),....
But, in this way, (device)_Text never 'clips'.
~~~~~
Is this correct? Or I must reintroduce clipping in
(device)_Text and set dd->dp.canClip to a values different
from 1 to advise the graphics...
2009 Jan 07
3
[LLVMdev] LLVM optmization
...TLE C:\msys\1.0\home\mteixeira\testeadvpl.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _tini:DWORD
COMM _tfim:DWORD
_DATA ENDS
PUBLIC _TESTE
; Function compile flags: /Ogtpy
; File c:\msys\1.0\home\mteixeira\testeadvpl.c
; COMDAT _TESTE
_TEXT SEGMENT
_parami$ = 8 ; size = 4
_paraml$ = 12 ; size = 4
_paramd$ = 16 ; size = 8
_TESTE PROC ; COMDAT
; 6 : int varx=0,vary=0;
; 7 : int nI =0;
; 8 : //varx= parami;
; 9 : if( parami > 0 )
mov ecx, DWORD PTR _parami$[esp-4]
; 10 : {
; 11 :...
2005 Dec 15
3
Generic Question about the way code is written
Hi,
This is a generic question about the way code is written in prototype and scriptaculous libraries.
Inside every object, we find functions that begin with "_".
How are these methods/functions different from the rest?
eg _text, _attributes, _each...
Please let me know.
Thank you,
Mandy.
2009 Jan 06
2
[LLVMdev] LLVM Optmizer
...] ; <i32> [#uses=1]
%5 = add i32 %paraml, 5 ; <i32> [#uses=1]
%6 = add i32 %5, %varx.1.lcssa ; <i32> [#uses=1]
ret i32 %6
}
While the MSVC generates the assemble :
PUBLIC _TESTE
; Function compile flags: /Ogtpy
; File c:\msys\1.0\home\mteixeira\testeadvpl.c
; COMDAT _TESTE
_TEXT SEGMENT
_parami$ = 8 ; size = 4
_paraml$ = 12 ; size = 4
_paramd$ = 16 ; size = 8
_TESTE PROC ; COMDAT
; 6 : int varx=0,vary;
; 7 : int nI =0;
; 8 : //varx= parami;
; 9 : if( parami > 0 )
mov ecx, DWORD PTR _parami$[esp-4]
; 10 : {
; 11 : v...
2020 Jul 24
0
[PATCH v5 34/75] x86/head/64: Make fixup_pointer() static inline
...git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h
index 5c2fd05bd52c..8aa6ba0427b0 100644
--- a/arch/x86/include/asm/setup.h
+++ b/arch/x86/include/asm/setup.h
@@ -74,6 +74,16 @@ static inline void x86_ce4100_early_setup(void) { }
extern struct boot_params boot_params;
extern char _text[];
+/*
+ * This function is used in C code that runs while the kernel still runs on
+ * identity mapped addresses to get the correct address of kernel pointers in
+ * the identity mapping.
+ */
+static __always_inline void *fixup_pointer(void *ptr, unsigned long physaddr)
+{
+ return ptr - (void...
2010 Sep 20
0
[PATCH] ia64: fix gcc 4.5 warnings
...xec.c 2010-09-20 11:00:48.000000000 +0200
+++ 2010-09-20/xen/arch/ia64/xen/machine_kexec.c 2010-09-20 10:59:09.000000000 +0200
@@ -104,7 +104,7 @@ void machine_reboot_kexec(xen_kexec_imag
static int machine_kexec_get_xen(xen_kexec_range_t *range)
{
- range->start = range->start = ia64_tpa(_text);
+ range->start = ia64_tpa(_text);
range->size = (unsigned long)_end - (unsigned long)_text;
return 0;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2011 Dec 06
0
[LLVMdev] Implement implicit TLS on Windows - need advice
...it
needs tests).
thread_local.c:
#ifdef _MSC_VER
#define __thread __declspec(thread)
#endif
__thread int i = 0;
int foo() {
return i++;
}
thread_local.asm:
PUBLIC _i
_TLS SEGMENT
_i DD 00H
_TLS ENDS
PUBLIC _foo
EXTRN __tls_array:DWORD
EXTRN __tls_index:DWORD
; Function compile flags: /Ogtpy
_TEXT SEGMENT
_foo PROC
; File c:\users\mspencer\projects\llvm-project\test\thread_local.c
; Line 7
mov eax, DWORD PTR __tls_index
mov ecx, DWORD PTR fs:__tls_array
mov ecx, DWORD PTR [ecx+eax*4]
mov eax, DWORD PTR _i[ecx]
lea edx, DWORD PTR [eax+1]
mov DWORD PTR _i[ecx], edx
; Line 8
ret 0
_foo E...
2011 Dec 04
3
[LLVMdev] Implement implicit TLS on Windows - need advice
Hi!
LLVM currently does not implement the implicit TLS model on Windows.
This model is easy:
- a thread local variable ends up in the .tls section
- to access a thread local variable, you have to do
(1) load pointer to thread local storage from TEB
On x86_64, this is gs:0x58, on x86 it is fs:0x2C.
(2) load pointer to thread local state. In general, the index is
stored in variable
2007 Nov 18
2
Variable inside of another variable
...el>
<%= form.text_field :email,
:size => User::EMAIL_SIZE,
:maxlength => User::EMAIL_MAX_LENGTH %>
</div>
but I will also use it for another fields rather than just email.
In PHP I know I could simply do it by ${all_${name}_text} but how does
it work with ruby on rails?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@publ...
2005 Dec 19
2
Network Loading of freeBSD
...xelinux.cfg/01:00:10:DC:0E:3F:31
DEFAULT freebsd
LABEL freebsd
KERNEL pxeboot.0
# results on screen of ErgoPro
Etherboot 5.4.1 (GPL) http://etherboot.org <http://etherboot.org/>
Drivers: EEPRO100 Images: NBI ELF FreeBSD a,out PXE Exports PXE
Protocols: DHCP TFTP
Relocating _text from: [00010420,00024470] to [0feebfb0,0ff00000)
Boot from (N)etwork of (Q)uit? N
Probing pci nic
[eepro100]Ethernet addr: 00:10:DC:0E:3F:31
Searching for server (DHCP)...\
ME: 192.168.200.5, DHCP: 192.168.200.103, TFTP: 192.168.200.103, Gateway
192.168.200.1
Loading 192.168.200.103:pxeli...
2017 Oct 11
0
[PATCH v1 15/27] compiler: Option to default to hidden symbols
.../setup.h
index a65cf544686a..7e0b54f605c6 100644
--- a/arch/x86/include/asm/setup.h
+++ b/arch/x86/include/asm/setup.h
@@ -67,7 +67,7 @@ static inline void x86_ce4100_early_setup(void) { }
* This is set up by the setup-routine at boot-time
*/
extern struct boot_params boot_params;
-extern char _text[];
+extern char _text[] __default_visibility;
static inline bool kaslr_enabled(void)
{
diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/microcode/core.c
index 86e8f0b2537b..8f021783a929 100644
--- a/arch/x86/kernel/cpu/microcode/core.c
+++ b/arch/x86/kernel/cpu/microcode/...
2012 Mar 27
1
[LLVMdev] Compiling integer mod
...mm = 0x38E38E39
movl %ecx, %eax
imull %edx
movl %edx, %eax
shrl $31, %eax
sarl $2, %edx
addl %eax, %edx
imull $18, %edx, %eax
subl %eax, %ecx
movl %ecx, %eax
ret
The visual studio compiler (/O2) instead issues the idiv instruction:
PUBLIC _f
; Function compile flags: /Ogtpy
; COMDAT _f
_TEXT SEGMENT
_n$ = 8 ; size = 4
_f PROC ; COMDAT
; File c:\a.c
; Line 6
mov eax, DWORD PTR _n$[esp-4]
inc eax
cdq
mov ecx, 18 ; 00000012H
idiv ecx
mov eax, edx
; Line 7
ret 0
_f ENDP
_TEXT ENDS
END
2013 Sep 24
4
Problems with vTPM manager
...running with PID 5048
Xen Minimal OS!
start_info: 0xa2000(VA)
nr_pages: 0x1000
shared_inf: 0x44e09000(MA)
pt_base: 0xa5000(VA)
nr_pt_frames: 0x5
mfn_list: 0x9a000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line:
stack: 0x597e0-0x797e0
MM: Init
_text: 0x0(VA)
_etext: 0x39357(VA)
_erodata: 0x45000(VA)
_edata: 0x47c40(VA)
stack start: 0x597e0(VA)
_end: 0x99e00(VA)
start_pfn: ad
max_pfn: 1000
Mapping memory range 0x400000 - 0x1000000
setting 0x0-0x45000 readonly
skipped 0x1000
MM: Initialise page allocator for b3000(b3000...
2009 May 11
3
[LLVMdev] Assign symbol the address of a section
...,
The binaries produced by LLVM and other compilers divide code up into
various sections, e.g. the .text section.
What is the recommended approach to assigning a symbol the address of a
section using LLVM? Using GCC/LD, you can do this with a linker script,
e.g. in a linker script you can do:
_text = .;
_stext = .;
These symbols are then available in the corresponding C code using an
"extern" definition. But, LLVM doesn't support linker scripts--so what's
the trick?
Thanks and regards,
Matt
2020 Aug 15
5
Supporting libunwind on Windows 10 (32bit; 64bit) for MSVC and Clang
...return_ _CRT_INSECURE_DEPRECATE(_dupenv_s)
^
C:\Program Files\Microsoft Visual
Studio\2019\Preview\VC\Tools\MSVC\14.27.29109\include\vcruntime.h:320:55:
note: expanded from macro '_CRT_INSECURE_DEPRECATE'
#define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT(
\
^
C:\Program Files\Microsoft Visual
Studio\2019\Preview\VC\Tools\MSVC\14.27.29109\include\vcruntime.h:310:47:
note: expanded from macro '_CRT_DEPRECATE_TEXT'
#define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))...
2007 May 31
1
[patch rfc wip] first cut of ELF bzImage
...r1 - phdr # e_phentsize
+ .word (e_phdr - phdr)/(e_phdr1 - phdr) # e_phnum
+ .word 40 # e_shentsize
+ .word 0 # e_shnum
+ .word 0 # e_shstrndx
+e_ehdr:
+
+ .org 71
+normalize:
# Normalize the start address
ljmp $BOOTSEG, $start2
+
+ .org 80
+phdr:
+ .int PT_LOAD # p_type
+ .int _text # p_offset
+ .int 0x8000 # p_vaddr
+ .int 0x8000 # p_paddr
+ .int _filesz # p_filesz
+ .int _memsz # p_memsz
+ .int PF_R | PF_W | PF_X # p_flags
+ .int 4 # p_align
+e_phdr1:
+ .int PT_LOAD # p_type
+ .int kernel - bootsect_start # p_offset
+ .int LOAD_PHYSICAL_ADDR...
2007 May 31
1
[patch rfc wip] first cut of ELF bzImage
...r1 - phdr # e_phentsize
+ .word (e_phdr - phdr)/(e_phdr1 - phdr) # e_phnum
+ .word 40 # e_shentsize
+ .word 0 # e_shnum
+ .word 0 # e_shstrndx
+e_ehdr:
+
+ .org 71
+normalize:
# Normalize the start address
ljmp $BOOTSEG, $start2
+
+ .org 80
+phdr:
+ .int PT_LOAD # p_type
+ .int _text # p_offset
+ .int 0x8000 # p_vaddr
+ .int 0x8000 # p_paddr
+ .int _filesz # p_filesz
+ .int _memsz # p_memsz
+ .int PF_R | PF_W | PF_X # p_flags
+ .int 4 # p_align
+e_phdr1:
+ .int PT_LOAD # p_type
+ .int kernel - bootsect_start # p_offset
+ .int LOAD_PHYSICAL_ADDR...
2013 Jun 19
9
some problems to start vTPM vtpm-stubdom
...running with PID 2406
Xen Minimal OS!
start_info: 0xa2000(VA)
nr_pages: 0x1000
shared_inf: 0xcd7b0000(MA)
pt_base: 0xa5000(VA)
nr_pt_frames: 0x5
mfn_list: 0x9a000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line:
stack: 0x597e0-0x797e0
MM: Init
_text: 0x0(VA)
_etext: 0x39357(VA)
_erodata: 0x45000(VA)
_edata: 0x47c40(VA)
stack start: 0x597e0(VA)
_end: 0x99e00(VA)
start_pfn: ad
max_pfn: 1000
Mapping memory range 0x400000 - 0x1000000
setting 0x0-0x45000 readonly
skipped 0x1000
MM: Initialise page allocator for b3000(b3000...
2013 Jun 19
9
some problems to start vTPM vtpm-stubdom
...running with PID 2406
Xen Minimal OS!
start_info: 0xa2000(VA)
nr_pages: 0x1000
shared_inf: 0xcd7b0000(MA)
pt_base: 0xa5000(VA)
nr_pt_frames: 0x5
mfn_list: 0x9a000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line:
stack: 0x597e0-0x797e0
MM: Init
_text: 0x0(VA)
_etext: 0x39357(VA)
_erodata: 0x45000(VA)
_edata: 0x47c40(VA)
stack start: 0x597e0(VA)
_end: 0x99e00(VA)
start_pfn: ad
max_pfn: 1000
Mapping memory range 0x400000 - 0x1000000
setting 0x0-0x45000 readonly
skipped 0x1000
MM: Initialise page allocator for b3000(b3000...
2007 Jun 01
2
another RFC patch: bzImage with ELF payload
...p.ld
@@ -3,7 +3,7 @@
*
* Linker script for the i386 setup code
*/
-OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
+OUTPUT_FORMAT("binary")
OUTPUT_ARCH(i386)
ENTRY(_start)
@@ -15,6 +15,7 @@ SECTIONS
. = 497;
.header : { *(.header) }
+ _text = .;
.inittext : { *(.inittext) }
.initdata : { *(.initdata) }
.text : { *(.text*) }
@@ -36,6 +37,7 @@ SECTIONS
LONG(0x5a5aaa55)
}
+ _filesz = . - _text;
. = ALIGN(16);
__bss_start = .;
@@ -46,8 +48,25 @@ SECTIONS
. = ALIGN(16);
_end = .;
- /DISCARD/ : { *(.note*) }
+ _mem...