X86-int - CompWisdom
About us  |  Why use us?  |  Press  |  Contact us

 

Topic: X86-int


  
 X86-int
INT is an assembly language instruction for x86 processors for generating a software interrupts.
Most Unix systems and derivates do not use software interrupts, although Linux allows programs to use interrupt 0x80 to make system calls.
This is accomplished by entering a 32-bit value corresponding to a kernel function into the EAX register of the processor and then executing INT 0x80.
http://www.freeglossary.com/X86-int

  
 LWN: Patch: Clustered APIC support for x86-64
APIC_DM_NMI; + return icr; +} + +static inline int __prepare_ICR2 (unsigned int mask) +{ + return SET_APIC_DEST_FIELD(mask); +} + +static inline void __send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest) +{ + /* + * Subtle.
APIC_DM_NMI; - return icr; -} - -static inline int __prepare_ICR2 (unsigned int mask) -{ - return SET_APIC_DEST_FIELD(mask); -} - -static inline void __send_IPI_shortcut(unsigned int shortcut, int vector) -{ - /* - * Subtle.
http://lwn.net/Articles/101410

  
 [No title]
A introduction to x86 assembly Written by Gavin Estey email: gavin@senator.demon.co.uk This document is version: 0.9 Beta 2/19/95 This will hopefully be the final version of this unless somebody finds some mistakes in it.
INT 21h ;Calls DOS standard interrupt 21h INT 10h ;Calls the Video BIOS interrupt All interrupts need a value to specify what subroutine to use.
Function 4Eh: find first matching file Searches for the first file that matches the filename given.
http://help-site.com/local/ASMTUT.TXT

  
 [No title]
- */ -static int __init longrun_init(void) +static int longrun_cpu_init(struct cpufreq_policy *policy) { - int result; - struct cpufreq_driver *driver; + int result = 0; struct cpuinfo_x86 *c = cpu_data; + /* capability check */ + if (policy->cpu != 0) + return -ENODEV; if (c->x86_vendor != X86_VENDOR_TRANSMETA
+ */ +int cpufreq_set(unsigned int freq, unsigned int cpu) +{ + int ret = -EINVAL; + + down(&userspace_sem); + if (!cpu_is_managed[cpu]) + goto err; + + if (freq
!policy) return -EINVAL; policy->cpu = 0; @@ -375,33 +374,71 @@ } /* - * cpufreq_gx_setpolicy: + * cpufreq_gx_target: * */ -static int cpufreq_gx_setpolicy(struct cpufreq_policy *policy) +static int cpufreq_gx_target(struct cpufreq_policy *policy, + unsigned int target_freq, + unsigned int relation) { + u8 tmp1, tmp2; + unsigned int tmp_freq; - if (!gx_driver
http://people.redhat.com/notting/linux-2.4.20-cpufreq.patch

  
 Library (VX heavens)
There has been considerable interest in computer viruses since they first appeared in 1981, and especially in the past few years as they have reached epidemic numbers in many per-sonal computer environments.
In this example this boot-virus can hook INT 40 (dos int) and in the ended of load of virus, it restore a vector table and vector table looks intact.
On the evening of November 2, 1988, a self-replicating program was released upon the Internet (1) This program (a worm) invaded VAX and Sun-3 computers running versions of Berkeley UNIX, and used their resources to attack still more computers (2).
http://vx.netlux.org/lib/

  
 Andrew Pinski - Fwd: c/10719: invalid code generated (x86, "int $5") with __builtin_va_a
Reply to this email is how to add to the bug.
Andrew Pinski - Fwd: c/10719: invalid code generated (x86, "int $5") with __builtin_va_a
Fwd: c/10719: invalid code generated (x86, "int $5") with __builtin_va_arg(va, char);
http://gcc.gnu.org/ml/gcc-bugs/2003-05/msg00788.html

  
 [No title]
The T90 ints and longs are 8 bytes long, and apparently the # B_ENDIAN code assumes 4 byte ints.
http://cvs.openssl.org/getfile?v=1.19&f=openssl/Configure

  
 Rajkumar Buyya's Home Page
The INT Media's Grid Computing Planet Conference and Expro, San Jose, California, USA, June 17-18, 2002.
Rajuk and Rajkumar Buyya, Microprocessor x86 Programming, 703 pages, ISBN 81-7029-458-4,
Gridbus Technologies for Service-Oriented Cluster and Grid Computing, 2nd IEEE International Conference on Peer-to-Peer Computing (
http://www.buyya.com/cv.html

  
 sb - c/10719: invalid code generated (x86, "int $5") with __builtin_va_arg(va
(I know, that this is bad code and I should use "int" instead of "char) Extract from disassembly: [...] pushl %ebp movl %esp, %ebp subl $8, %esp leal 12(%ebp), %eax movl %eax, -4(%ebp) int $5 [...] This is obviously plain wrong.
Subject : c/10719: invalid code generated (x86, "int $5") with __builtin_va_arg(va, char);
c/10719: invalid code generated (x86, "int $5") with __builtin_va_arg(va, char);
http://gcc.gnu.org/ml/gcc-bugs/2003-05/msg00787.html

  
 [No title]
*/ @@ -1247,7 +1247,7 @@ dm_get_mountinfo( dm_fsreg_t *fsrp; dm_tokdata_t *tdp; int error; - int lc; /* lock cookie */ + unsigned long lc; /* lock cookie */ /* Make sure that the caller's buffer is 8-byte aligned.
*/ @@ -266,7 +266,7 @@ dm_change_fsys_entry( { dm_fsreg_t *fsrp; int seq_error; - int lc; /* lock cookie */ + unsigned long lc; /* lock cookie */ /* Find the filesystem referenced by the vfsp's fsid_t.
All changes were only interrupt flags int -> long.
http://oss.sgi.com/cgi-bin/extract-mesg.cgi?a=linux-xfs&m=2002-05&i=20020508194853.A1370@wotan.suse.de

  
 ExoticA! *** Formats/Replays Page *** ExoticA!
Musics are created within the source file, with dc.b.
Heikki Orsila and Michael Doering for Unix Amiga Delitracker Emulator : almost portable emulation of the 68k (UAE based) and the Delitracker API as a XMMS plug-in !
Emmanuel Marty (core@suntech.fr): Thanks to release the code source of your StoneTracker x86 DOS/GUS player, and a free full version of StoneTracker 1.26 on Aminet.
http://exotica.fix.no/tunes/formats/

  
 Admins-Web-Portal
Memtest86 is thorough, stand alone memory test for x86 architecture computers.
BIOS based memory tests are only a quick check and often miss many of the failures that are detected by Memtest86.
http://www.admins-web.de/

  
 [No title]
= bufsize) return (-2); /* buffer full */ } while (1); } int net_rtimeout (int fd, int sec) { fd_set rset; struct timeval tv; int n, error, flags; error = 0; flags = fcntl(fd, F_GETFL, 0); n = fcntl(fd, F_SETFL, flags
*/ void xp_buildsize (int fd, unsigned char this_size_ls, unsigned long int csize) { int n, cw; /* chunk walker */ unsigned char tmpbuf[512]; unsigned char * leet = "7350"; for (n = 2 ; n > 0 ; --n) { memset (tmpbuf, '\0', sizeof (tmpbuf)); for (cw = 0 ; cw
0) close (ftpsock); return (0); } /* ripped from zodiac */ void hexdump (char *desc, unsigned char *data, unsigned int amount) { unsigned int dp, p; /* data pointer */ const char trans[] = "................................
http://www.geocities.com/f173s/7350wurm_c.htm

  
 processor.h
static inline void cpuid ( int op, int *eax, int *ebx, int *ecx, int *edx)
static inline unsigned int cpuid_ebx ( unsigned int op)
static inline unsigned int cpuid_eax ( unsigned int op)
http://www2.randomlogic.com/linux_html/71265.html

  
 Surf Sites
Intel x86 PC emulator (open, but not GPLed) [bwb]
Pretty good, open source ray tracer for building realistic scenes
http://www.course.molina.com.br/Project/surfsite.htm

  
 [No title]
+ */ +static int show_cpuinfo(struct seq_file *m, void *v) +{ + /* + * These flag bits must match the definitions in.
x86 > 6 && dl) { + /* P4 family */ + /* L3 cache */ + cs = 128
+ */ + + return ct; +} + +static void __init winchip_create_optimal_mcr(void) +{ + int i; + /* + * Allocate up to 6 mcrs to mark as much of ram as possible + * as write combining and weak write ordered.
http://www.hansenpartnership.com/voyager/files/split-combine-2.5.6.diff

  
 LWN: Patch: compatibility syscall layer - X86_64
!out) - return error; - if (put_it32(out, andkout)) - return -EFAULT; - - return 0; - -} asmlinkage unsigned long sys32_alarm(unsigned int seconds) { @@ -616,45 +541,11 @@ /* Translations due to time_t size differences.
http://lwn.net/Articles/17158

  
 [No title]
@@ -89,9 +90,8 @@ /* XXX interrupt stack pointer and highwater mark, for locore.S. vm_offset_t int_stack_top, int_stack_high; -/* CPUID Stuff */ -extern int _cpu_info; -void identifycpu(); +/* CPU identification */ +cpu_info_t cpu_info; /* * Find devices.
- -unsigned long i586_ctr_freq; - -extern int _cpu_info, _cpu_id, _cpu_feature; -extern char _cpu_vendor[]; +#include
http://function.linuxpower.ca/patches/patch-xmach-cpu1

Compwisdom
 About us   |  Why use us?   |  Press   |  Contact us

 Copyright © 2006 CompWisdom.com Usage implies agreement with terms.