<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/gnumach.git/linux/dev/kernel, branch master</title>
<subtitle>Personal GNU Mach development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/gnumach.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/'/>
<updated>2012-03-20T01:43:48Z</updated>
<entry>
<title>Use long types</title>
<updated>2012-03-20T01:43:48Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2012-03-20T01:37:02Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=84bf93fa103eb9e2ed914b67cd5d2c7058d30b42'/>
<id>urn:sha1:84bf93fa103eb9e2ed914b67cd5d2c7058d30b42</id>
<content type='text'>
* ddb/db_examine.c (db_xcdump): Do not cast addr before passing to
db_read_bytes.
* ddb/db_macro.c (db_arg_variable): Return long.
* ddb/db_macro.h (db_arg_variable): Likewise.
* ddb/db_sym.c (db_maxoff): Set type to unsigned long.
* ddb/db_task_thread.c (db_set_default_thread, db_get_task_thread): Return
long.
* ddb/db_variables.h (db_variable): Make fcn function field to return long.
(FCN_NULL): Make function type return long.
* i386/i386/db_interface.c (int_regs): Set field sizes to long.
* i386/i386/db_machdep.h (db_expr_t): Set type to long.
* i386/i386/db_trace.c (db_i386_reg_value): Return long. Use long types.
(i386_frame, i386_kregs, interrupt_frame, db_nextframe): Set field sizes to
long.
(db_regs, i386_kregs): Use long * pointers.
(db_lookup_i386_kreg): Return long *.
(db_numargs, db_nextframe, db_stack_trace_cmd, db_i386_stack_trace): Use long
types.
* i386/i386/debug_i386.c (dump_ss): Fix format.
* i386/i386/ktss.c (ktss_init): Use long type.
* i386/i386/pcb.c (set_user_regs): Likewise.
* i386/i386/thread.h (i386_saved_state, v86_segs, i386_kernel_state,
i386_interrupt_state): Set field sizes to long.
* i386/i386/trap.c (kernel_trap, user_trap): Fix formats.
* kern/ast.h (ast_t): Set type to long.
* kern/boot_script.c (create_task, resume_task, prompt_resume_task,
boot_script_set_variable): Use long types.
* kern/boot_script.h (boot_script_set_variable): Use long type.
* kern/bootstrap.c (bootstrap_create): Pass long type.
* kern/lock.c (simple_lock, simple_lock_try): Use long type.
* linux/dev/kernel/softirq.c (linux_soft_intr): Fix format.
</content>
</entry>
<entry>
<title>Change types holding cpu flags from int to long</title>
<updated>2012-03-20T01:09:13Z</updated>
<author>
<name>Guillem Jover</name>
<email>guillem@debian.org</email>
</author>
<published>2009-12-09T01:59:26Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=735cf19fdebf4a3df886426a51cad78b7ef025f2'/>
<id>urn:sha1:735cf19fdebf4a3df886426a51cad78b7ef025f2</id>
<content type='text'>
On amd64 the cpu flags is a 64-bit word, and long on 32-bit systems is
32-bit wide anyway.

* linux/dev/glue/kmem.c (linux_kmalloc, linux_kfree, __get_free_pages,
free_pages): Use unsigned long instead of unsigned.
* linux/dev/include/asm-i386/system.h (__save_flags, __restore_flags):
Likewise.
* linux/dev/kernel/printk.c (printk): Likewise.
* linux/src/drivers/scsi/advansys.c (DvcEnterCritical, DvcLeaveCritical,
advansys_queuecommand, advansys_abort, advansys_reset, advansys_interrupt,
interrupts_enabled, AdvISR): Likewise.
* linux/src/drivers/scsi/aha152x.c (aha152x_intr): Likewise.
* linux/src/drivers/scsi/aha1542.c (aha1542_intr_handle): Likewise.
* linux/src/drivers/scsi/aic7xxx.c (aic7xxx_done_cmds_complete): Likewise.
* linux/src/drivers/scsi/ultrastor.c (log_ultrastor_abort,
ultrastor_queuecommand, ultrastor_abort): Likewise.
</content>
</entry>
<entry>
<title>Fix variable types according to assembly use</title>
<updated>2012-03-14T00:27:56Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2012-03-14T00:27:56Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=5f701793f63f16d111db3e3d2e91134fcc179c5b'/>
<id>urn:sha1:5f701793f63f16d111db3e3d2e91134fcc179c5b</id>
<content type='text'>
* linux/dev/arch/i386/kernel/irq.c (intr_count): Set to int type.
* linux/dev/kernel/softirq.c (bh_active, bh_mask): Likewise.
(linux_soft_intr: active, mask, left): Likewise
* linux/src/include/linux/interrupt.h (bh_active, bh_mask): Likewise.
* linux/src/kernel/softirq.c (intr_count, bh_active, bh_mask): Likewise.
(do_bottom_half: active, mask, left): Likewise
</content>
</entry>
<entry>
<title>Do not remap errno codes from E* to LINUX_E*</title>
<updated>2011-09-02T18:18:43Z</updated>
<author>
<name>Guillem Jover</name>
<email>guillem@hadrons.org</email>
</author>
<published>2011-09-01T18:24:57Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=729f452a4ff186ae6990c6a3abd1705f42731343'/>
<id>urn:sha1:729f452a4ff186ae6990c6a3abd1705f42731343</id>
<content type='text'>
Mach no longer uses any of the old and clashing errno E* codes, so
it's safe to use them now w/o namespacing. This also means one less
modification needed to the Linux code.

* linux/dev/include/asm-i386/errno.h: Remove file.
* linux/dev/kernel/dma.c (notifier_chain_unregister) [MACH_INCLUDE]: Remove
code.
* linux/dev/include/linux/notifier.h: Likewise.
* linux/dev/arch/i386/kernel/irq.c (setup_x86_irq): Rename LINUX_EBUSY
to EBUSY.
(request_irq): Rename LINUX_EINVAL to EINVAL.
* linux/dev/glue/block.c (register_blkdev): Rename LINUX_EBUSY to EBUSY
and LINUX_EINVAL to EINVAL.
(unregister_blkdev): Rename LINUX_EINVAL to EINVAL.
(rdwr_partial) Rename LINUX_ENOMEM to ENOMEM and LINUX_EIO to EIO.
* linux/dev/glue/misc.c (linux_to_mach_error): Rename LINUX_EPERM to
EPERM, LINUX_EIO to EIO, LINUX_ENXIO to ENXIO, LINUX_EACCES to EACCES,
LINUX_EFAULT to EFAULT, LINUX_EBUSY to EBUSY, LINUX_EINVAL to EINVAL,
LINUX_EROFS to EROFS, LINUX_EWOULDBLOCK to EWOULDBLOCK and LINUX_ENOMEM
to ENOMEM.
(verify_area): Rename LINUX_EFAULT to EFAULT.
* linux/dev/kernel/resource.c (check_region): Rename LINUX_EBUSY to
EBUSY.
* linux/dev/kernel/sched.c (__do_down): Rename LINUX_EINTR to EINTR.
</content>
</entry>
<entry>
<title>Add missing headers</title>
<updated>2011-09-02T17:44:07Z</updated>
<author>
<name>Guillem Jover</name>
<email>guillem@hadrons.org</email>
</author>
<published>2011-09-01T15:17:19Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=10e17b05021f05ab40c71368c9a44a7818f3c0ae'/>
<id>urn:sha1:10e17b05021f05ab40c71368c9a44a7818f3c0ae</id>
<content type='text'>
* linux/dev/init/main.c: Include &lt;linux/pci.h&gt;.
* linux/dev/kernel/printk.c: Include &lt;kern/printf.h&gt;.
</content>
</entry>
<entry>
<title>Fix declarations</title>
<updated>2011-08-30T22:29:01Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2011-08-30T22:18:07Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=2b4bff9914d57bff600ac70194b8b1aab3485bee'/>
<id>urn:sha1:2b4bff9914d57bff600ac70194b8b1aab3485bee</id>
<content type='text'>
* device/ds_routines.h (io_done_list): Add variable declaration.
(device_io_map): Keep variable declaration and move definition to...
* device/ds_routines.c: ... here.
* i386/i386/fpu.c: Include &lt;i386/pic.h&gt;
(curr_ipl): Remove declaration.
(fpintr): Add int unit parameter.
* linux/dev/glue/glue.h: New header.
* i386/i386/fpu.h (fpintr): Add function prototype.
* i386/i386/hardclock.c (clock_interrupt, linux_timer_intr): Remove prototypes.
[LINUX_DEV]: Include &lt;linux/dev/glue/glue.h&gt;
* i386/i386/ipl.h (curr_ipl): Add declaration.
* i386/i386/pic.h (curr_pic_mask, pic_mask, prtnull, intnull): Add
declarations.
* i386/i386at/kd.h (kdintr): Add declaration.
* i386/i386at/pic_isa.c: Include &lt;i386/fpu.h&gt; and &lt;i386at/kd.h&gt;
(intnull, fpintr, hardclock, kdintr, prtnull): Remove prototypes.
* i386/xen/xen.c: Include &lt;kern/mach_clock.h&gt;
(clock_interrupt): Remove prototype.
* linux/dev/arch/i386/kernel/irq.c: Include &lt;linux/dev/glue/glue.h&gt; and
&lt;machine/machspl.h&gt;
(linux_timer_intr, splhigh, spl0, curr_ipl, curr_pic_mask, pic_mask,
get_options): Remove declarations.
* linux/dev/drivers/block/floppy.c: Include &lt;linux/dev/glue/glue.h&gt;
(issig, get_options): Remove declarations.
* linux/dev/drivers/block/genhd.c: Include &lt;linux/dev/glue/glue.h&gt;
(linux_intr_pri): Remove declaration.
* linux/dev/glue/block.c: Include &lt;devices/ds_routines.h&gt; and
&lt;linux/dev/glue/glue.h&gt;.
(device_io_map, blksize_size): Remove declarations.
* linux/dev/glue/kmem.c: Include &lt;kern/printf.h&gt; and &lt;linux/dev/glue/glue.h&gt;
(alloc_contig_mem, printf): Remove declarations.
* linux/dev/glue/misc.c: Include &lt;printf.h&gt; and &lt;linux/dev/glue/glue.h&gt;
(vm_map_lookup_entry, printf): Remove prototypes.
* linux/dev/glue/net.c: Include &lt;kern/printf.h&gt;, &lt;device/ds_routines.h&gt; and
&lt;linux/dev/glue/glue.h&gt;.
(linux_intr_pri, io_done_list): Remove declarations.
* linux/dev/init/main.c: Include &lt;machine/model_dep.h&gt; and
&lt;linux/dev/glue/glue.h&gt;.
(phys_last_addr, alloc_contig_mem, free_contig_mem, init_IRQ,
restore_IRQ, startrtclock, linux_version_init, linux_kmem_init, pci_init,
linux_net_emulation_init, device_setup, linux_printk, linux_timer_intr, spl0,
splhigh, form_pic_mask, linux_bad_intr, prtnull, intnull, linux_sched_init,
pcmcia_init): Remove declarations.
* linux/dev/kernel/sched.c: Include &lt;kern/printf.h&gt;, &lt;machine/machspl.h&gt; and
&lt;linux/dev/glue/glue.h&gt;.
(alloc_contig_mem, free_contig_mem, splhigh, splx, linux_soft_intr, issig,
printf, linux_auto_config): Remove prototypes.
* linux/dev/kernel/softirq.c: Include &lt;linux/dev/glue/glue.h&gt;.
* linux/src/drivers/block/floppy.c: Include &lt;linux/dev/glue/glue.h&gt;.
(get_options): Remove prototype.
* linux/src/init/main.c: Include &lt;linux/dev/glue/glue.h&gt;
(init_IRQ): Remove prototype.
</content>
</entry>
<entry>
<title>Move cdrom_sleep() definition to its original source file</title>
<updated>2011-08-30T20:42:55Z</updated>
<author>
<name>Guillem Jover</name>
<email>guillem@hadrons.org</email>
</author>
<published>2011-08-30T00:44:49Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=fb5d2aff2401841c5f6631e1371c33a3177bcd95'/>
<id>urn:sha1:fb5d2aff2401841c5f6631e1371c33a3177bcd95</id>
<content type='text'>
* linux/dev/kernel/sched.c (cdrom_sleep): Move to ...
* linux/src/drivers/block/ide-cd.c [MACH]: ... here, make it static.
Include &lt;kern/sched_prim.h&gt;.
</content>
</entry>
<entry>
<title>2008-07-15  Barry deFreese  &lt;bddebian@comcast.net&gt;</title>
<updated>2009-06-17T22:27:15Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2008-07-15T23:02:13Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=a2157edfb4675c418158591f3cb8664e043ed5a0'/>
<id>urn:sha1:a2157edfb4675c418158591f3cb8664e043ed5a0</id>
<content type='text'>
* device/cons.c (cnputc): Turn parameter `c' into a char.
	* device/cons.h (cninit, cngetc, cnmaygetc, cnputc): Add prototypes.
	* i386/i386at/model_dep.c: Include &lt;device/cons.h&gt;
	* kern/printf.c: Include &lt;device/cons.h&gt;
	(cnputc): Remove prototype.
	(vprintf, iprintf): Explicitely cast cnputc into the type _doprnt
	expects.
	* linux/dev/kernel/printk.c: Include &lt;device/cons.h&gt;
	(cnputc): Remove prototype.
</content>
</entry>
<entry>
<title>2004-09-08  Neal H. Walfield  &lt;neal@cs.uml.edu&gt;</title>
<updated>2009-06-17T22:15:26Z</updated>
<author>
<name>Alfred M. Szmidt</name>
<email>ams@gnu.org</email>
</author>
<published>2004-12-05T14:29:43Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=849488a953c0c98fbe5a473689bd25d5494b5927'/>
<id>urn:sha1:849488a953c0c98fbe5a473689bd25d5494b5927</id>
<content type='text'>
* linux/dev/kernel/printk.c: Include &lt;kern/assert.h&gt;.
	(printk): Use vsnprintf, not linux_vsprintf to avoid buffer
	overruns.

	* kern/printf.c (struct vsnprintf_cookie): New structure.
	(snputc): New function.
	(vsnprintf): Likewise.
</content>
</entry>
<entry>
<title>1998-12-02  OKUJI Yoshinori  &lt;okuji@kuicr.kyoto-u.ac.jp&gt;</title>
<updated>1999-04-26T05:49:38Z</updated>
<author>
<name>Thomas Bushnell</name>
<email>thomas@gnu.org</email>
</author>
<published>1999-04-26T05:49:38Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=59ec5ca501a2f5d9fc2b2c41d474ec30e4fd67ee'/>
<id>urn:sha1:59ec5ca501a2f5d9fc2b2c41d474ec30e4fd67ee</id>
<content type='text'>
	* configure.in: Fix linuxdev option handling.
	* linux/Drivers.in: Remove linuxdev option and fix linking files.
	* linux/Makefile.in: Replace @DEFS@ with -DLINUX_DEV.
	* linux/dev/arch/i386/kernel/irq.c: Include missing header files.
	* linux/dev/arch/i386/kernel/setup.c: Include &lt;device-drivers.h&gt;.
	* linux/dev/glue/kmem.c: Add printf declaration.
	* linux/dev/glue/misc.c: Include &lt;linux/types.h&gt;.
	* linux/dev/init/main.c: Call linux_sched_init instead of sched_init.
	* linux/dev/kernel/sched.c: Add timer_bh declaration.
	(tqueue_bh): Fix the argument.
	(linux_sched_init): Renamed from sched_init.

1998-11-30  OKUJI Yoshinori  &lt;okuji@kuicr.kyoto-u.ac.jp&gt;

	Clean up linux emulation code to make it architecture-independent
	as much as possible.

	* linux: Renamed from linuxdev.
	* Makefile.in (objfiles): Add linux.o instead of linuxdev.o.
	(MAKE): New variable. Used for the linux.o target.
	* configure.in: Add AC_CHECK_TOOL(MAKE, make).
	* i386/i386/spl.h: Include &lt;i386/ipl.h&gt;, for compatibility with
	OSF Mach 3.0. Suggested by Elgin Lee &lt;ehl@funghi.com&gt;.
	* linux/src: Renamed from linux/linux.
	* linux/dev: Renamed from linux/mach.
	* linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h,
	instead of mach/include/linux/autoconf.h.
	* Makefile.in (all): Target ../linux.o instead of ../linuxdev.o.
	* linux/dev/drivers/block/genhd.c: Include &lt;machine/spl.h&gt; instead
	of &lt;i386/ipl.h&gt;.
	* linux/dev/drivers/net/auto_irq.c: Remove unneeded header files,
	&lt;i386/ipl.h&gt; and &lt;i386/pic.h&gt;.
	* linux/dev/init/main.c: Many i386-dependent codes moved to ...
	* linux/dev/arch/i386/irq.c: ... here.
	* linux/dev/arch/i386/setup.c: New file.
	* linux/dev/arch/i386/linux_emul.h: Likewise.
	* linux/dev/arch/i386/glue/timer.c: Merged into sched.c.
	* linux/dev/arch/i386/glue/sched.c: Include &lt;machine/spl.h&gt; instead
	of &lt;i386/ipl.h&gt;, and moved to ...
	* linux/dev/kernel/sched.c: ... here.
	* linux/dev/arch/i386/glue/block.c: Include &lt;machine/spl.h&gt; and
	&lt;linux_emul.h&gt;, instead of i386-dependent header files, and
	moved to ...
	* linux/dev/glue/blocl.c: ... here.
	* linux/dev/arch/i386/glue/net.c: Include &lt;machine/spl.h&gt; and
	&lt;linux_emul.h&gt;, instead of i386-dependent header files, and
	moved to ...
	* linux/dev/glue/net.c: ... here.
	* linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ...
	* linux/dev/glue/misc.c: ... here.
	* linux/dev/arch/i386/glue/kmem.c: Moved to ...
	* linux/dev/glue/kmem.c: ... here.
</content>
</entry>
</feed>
