<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/gnumach.git/linux/src/include/asm-i386, 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>2015-07-07T15:44:41Z</updated>
<entry>
<title>Fix build with -O0</title>
<updated>2015-07-07T15:44:41Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-07-07T15:44:41Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=1e0429e5f39ec219cbef3af2752528b8a29bc1be'/>
<id>urn:sha1:1e0429e5f39ec219cbef3af2752528b8a29bc1be</id>
<content type='text'>
* linux/src/include/linux/string.h (strcpy, strncpy, strcat, strncat,
strchr, strrchr, strlen, strnlen, strcmp, strncmp, memmove,
memscan): Comment out extern declarations.
* linux/dev/include/asm-i386/string.h (strcpy, strncpy, strcat, strncat,
strcmp, strncmp, strchr, strrchr, strlen, __memcpy, __constant_memcpy,
memmove, memchr, __memset_generic, __constant_c_memset, strnlen,
__constant_c_and_count_memset, memscan): Turn extern inline into static
inline.
* linux/dev/include/linux/fs.h (mark_buffer_uptodate): Likewise.
* linux/src/include/asm-i386/bitops.h (set_bit, clear_bit, change_bit,
test_and_set_bit, test_and_clear_bit, test_and_change_bit, test_bit,
find_first_zero_bit, find_next_zero_bit, ffz, ffs): Likewise.
* linux/src/include/asm-i386/io.h (virt_to_phys, phys_to_virt, __out##s,
__in##s, ins##s, outs##s): Likewise.
* linux/src/include/asm-i386/semaphore.h (down, down_interruptible, up):
Likewise.
* linux/src/include/asm-i386/segment.h [!__OPTIMIZE]: Emit an ud2 instruction
instead of an undefined reference.
</content>
</entry>
<entry>
<title>Fix semaphore failure path special calling convention</title>
<updated>2015-05-02T18:55:38Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-05-02T18:53:54Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=7803e9735dde445be3046a79bf1b4ca5ab525ac1'/>
<id>urn:sha1:7803e9735dde445be3046a79bf1b4ca5ab525ac1</id>
<content type='text'>
* linux/src/include/asm-i386/semaphore.h (down): Pass semaphore address to
down_failed through ecx.
(down_interruptible): Likewise to down_failed_interruptible.
(up): Likewise to up_wakeup.
</content>
</entry>
<entry>
<title>Replace clobbers with earlyclobbers</title>
<updated>2015-05-01T17:35:50Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-05-01T17:35:50Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=75a78c0eb4ed2d4bb9b461c4dae8aa71804b238b'/>
<id>urn:sha1:75a78c0eb4ed2d4bb9b461c4dae8aa71804b238b</id>
<content type='text'>
Newer gccs consider the former "impossible"

* linux/src/include/asm-i386/bitops.h (find_first_zero_bit): Replace
clobbers with earlyclobbers.
* linux/src/include/asm-i386/semaphore.h (down, down_interruptible, up):
Likewise.
</content>
</entry>
<entry>
<title>Add missing phystokv/kvtophys calls</title>
<updated>2012-03-24T01:54:49Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2012-03-23T01:19:44Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=264b750cc2d576beadfd74bcde45ac75edc4aab9'/>
<id>urn:sha1:264b750cc2d576beadfd74bcde45ac75edc4aab9</id>
<content type='text'>
* i386/i386/vm_param.h [!MACH_XEN]: Do not include &lt;xen/public/xen.h&gt;.
* i386/i386at/model_dep.c (init_alloc_aligned): Use phystokv to compare physical
memory addresses with kernel start, end, and symbol table.
* i386/intel/pmap.c (pmap_enter): Use kvtophys to convert ptp pointer to pte
entry.
* linux/dev/init/main.c (alloc_contig_mem, linux_init): Use phystokv to convert
allocated pages to virtual pointer.
* linux/src/include/asm-i386/io.h: Include &lt;machine/vm_param.h&gt;.
(virt_to_phys): Call _kvtophys.
(phys_to_virt): Call phystokv.
* linux/src/include/linux/compatmac.h: Include &lt;asm/io.h&gt;.
(ioremap): Use phys_to_virt to convert physical address to virtual pointer.
(my_iounmap): Likewise.
* linux/dev/include/asm-i386/page.h: Include &lt;mach/vm_param.h&gt;.
(PAGE_SHIFT, PAGE_SIZE, PAGE_MASK): Remove macros.
* linux/src/drivers/scsi/ncr53c8xx.c (vm_size_t): Remove type.
* linux/dev/glue/net.c: Include &lt;machine/vm_param.h&gt;
(device_write): Call phystokv to convert from physical page address to
virtual pointer.
* linux/dev/glue/block.c (alloc_buffer, free_buffer, rdwr_full): Likewise.
</content>
</entry>
<entry>
<title>Use unsigned long for addresses and sizes</title>
<updated>2012-03-09T00:04:52Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2012-03-09T00:04:52Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=4ae07e7e07cf77f1b7ce06bebf1057bfe4a16c54'/>
<id>urn:sha1:4ae07e7e07cf77f1b7ce06bebf1057bfe4a16c54</id>
<content type='text'>
TODO: remonter formats

* i386/include/mach/i386/vm_types.h (vm_offset_t): Define to unsigned long.
(signed32_t): Define to signed int.
(unsigned32_t): Define to unsigned int.
* i386/include/mach/sa/stdarg.h (__va_size): Use sizeof(unsigned long)-1
instead of 3.
* include/mach/port.h (mach_port_t): Define to vm_offset_t instead of
natural_t.
* include/sys/types.h (size_t): Define to unsigned long instead of
natural_t.
* linux/src/include/asm-i386/posix_types.h (__kernel_size_t): Define to
unsigned long.
(__kernel_ssize_t): Define to long.
* linux/src/include/linux/stddef.h (size_t): Define to unsigned long.

* device/dev_pager.c (dev_pager_hash): Cast port to vm_offset_t insted of
natural_t.
(device_pager_data_request): Fix format.

* device/ds_routines.c (ds_no_senders): Fix format.
* i386/i386/io_map.c (io_map): Likewise.
* i386/i386at/autoconf.c (take_dev_irq): Likewise.
* i386/i386at/com.c (comattach): Likewise.
* i386/i386at/lpr.c (lprattach): Likewise.
* i386/i386at/model_dep.c (mem_size_init, mem_size_init, c_boot_entry):
Likewise.
* i386/intel/pmap.c (pmap_enter): Likewise.
* ipc/ipc_notify.c (ipc_notify_port_deleted, ipc_notify_msg_accepted,
ipc_notify_dead_name): Likewise.
* ipc/mach_port.c (mach_port_destroy, mach_port_deallocate): Likewise.
* kern/ipc_kobject.c (ipc_kobject_destroy): Likewise.
* kern/slab.c (kalloc_init): Likewise.
* vm/vm_fault.c (vm_fault_page): Likewise.
* vm/vm_map.c (vm_map_pmap_enter): Likewise.
* xen/block.c (device_read): Likewise.

* device/net_io.c (bpf_match): Take unsigned long * instead of unsigned int
*.
(bpf_do_filter): Make mem unsigned long instead of long.
* i386/i386/ktss.c (ktss_init): Cast pointer to unsigned long instead of
unsigned.
* i386/i386/pcb.c (stack_attach, switch_ktss): Cast pointers to long instead of
int.
* i386/i386/trap.c (dump_ss): Likewise.
* ipc/ipc_hash.c (IH_LOCAL_HASH): Cast object to vm_offset_t.
* ipc/mach_msg.c (mach_msg_receive, mach_msg_receive_continue): Cast kmsg to
vm_offset_t instead of natural_t.
* kern/pc_sample.c (take_pc_sample): Cast to vm_offset_t instead of
natural_t.
* kern/boot_script.c (sym, arg): Set type of `val' field to long instead of int.
(create_task, builtin_symbols, boot_script_parse_line,
boot_script_define_function): Cast to long instead of int.
* kern/bootstrap.c (bootstrap_create): Likewise.
* kern/sched_prim.c (decl_simple_lock_data): Likewise.
* kern/printf.c (vsnprintf): Set size type to size_t.
* kern/printf.h (vsnprintf): Likewise.
* vm/vm_map.h (kentry_data_size): Fix type to vm_size_t.
* vm/vm_object.c (vm_object_pmap_protect_by_page): Fix size parameter type
to vm_size_t.
</content>
</entry>
<entry>
<title>Define BITS_PER_LONG for Linux code</title>
<updated>2011-10-09T20:41:22Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2011-10-09T20:41:22Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=5dbe4149457190564c9a9a4f22cc86dbc7924e62'/>
<id>urn:sha1:5dbe4149457190564c9a9a4f22cc86dbc7924e62</id>
<content type='text'>
* linux/src/include/asm-i386/types.h (BITS_PER_LONG): Define to 32.
</content>
</entry>
<entry>
<title>Remove unused and non-functional string specialization header</title>
<updated>2011-08-30T22:32:35Z</updated>
<author>
<name>Guillem Jover</name>
<email>guillem@hadrons.org</email>
</author>
<published>2011-08-30T01:09:35Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=409e31b480c14b34ec57b08ba5afa1ce25a8e753'/>
<id>urn:sha1:409e31b480c14b34ec57b08ba5afa1ce25a8e753</id>
<content type='text'>
* linux/src/include/asm-i386/string-486.h: Remove.
</content>
</entry>
<entry>
<title>Use selector definitions from Mach for Linux code</title>
<updated>2009-12-18T10:35:43Z</updated>
<author>
<name>Guillem Jover</name>
<email>guillem@hadrons.org</email>
</author>
<published>2009-12-17T13:39:24Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=2cd448b2a65df4d81950f9d5bd2389add9d1b8da'/>
<id>urn:sha1:2cd448b2a65df4d81950f9d5bd2389add9d1b8da</id>
<content type='text'>
	* linux/src/include/asm-i386/segment.h [MACH]: Include &lt;machine/gdt.h&gt;
	and &lt;machine/ldt.h&gt;.
	[MACH &amp;&amp; MACH_HYP] (KERNEL_CS, KERNEL_DS): Remove macros.
	[MACH &amp;&amp; !MACH_HYP] (KERNEL_CS, KERNEL_DS): Likewise.
	[MACH] (USER_CS, USER_DS): Likewise.
</content>
</entry>
<entry>
<title>Move linux/dev/include/asm-i386/segment.h to src tree</title>
<updated>2009-12-18T09:36:38Z</updated>
<author>
<name>Guillem Jover</name>
<email>guillem@hadrons.org</email>
</author>
<published>2009-12-17T13:39:23Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=f0d2abf1a3aa06e6b53dba642d09fd9237624107'/>
<id>urn:sha1:f0d2abf1a3aa06e6b53dba642d09fd9237624107</id>
<content type='text'>
	* linux/dev/include/asm-i386/segment.h: Move to ...
	* linux/src/include/asm-i386/segment.h: ... here.
</content>
</entry>
<entry>
<title>2007-07-09  Samuel Thibault  &lt;samuel.thibault@ens-lyon.org&gt;</title>
<updated>2009-06-17T22:27:12Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2007-08-07T13:07:25Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=e44a3dddf93d9ac15eea6bd323a2308b0ea6d493'/>
<id>urn:sha1:e44a3dddf93d9ac15eea6bd323a2308b0ea6d493</id>
<content type='text'>
* i386/i386/db_interface.c (int_regs): Drop gs and fs fields.
	(kdb_kentry): Get fs and gs from struct i386_interrupt_state instead of
	struct int_regs.
	* i386/i386/kttd_interface.c (int_regs, kttd_netentry): Likewise.
	* i386/i386/locore.S (all_intrs): Save fs and gs and set them to kernel
	segment too.
	(return_to_iret): Restore fs and gs too.
	(return_to_iret_i): Likewise.
	(ast_from_interrupt): Set fs and gs to kernel segment too.
	(kdb_from_iret): Don't save/restore fs and gs either.
	(ttd_from_iret): Likewise.
	* i386/i386/thread.h (i386_interrupt_state): Add gs and fs fields.
	* linux/src/include/asm-i386/irq.h (SAVE_ALL): Set gs to kernel
	segment too.
</content>
</entry>
</feed>
