/[hurd]/hurd-l4/libl4/l4/pagefault.h
ViewVC logotype

Diff of /hurd-l4/libl4/l4/pagefault.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by marcus, Sat Apr 10 03:53:45 2004 UTC revision 1.2 by marcus, Wed Feb 9 04:07:00 2005 UTC
# Line 1  Line 1 
1  /* l4/pagefault.h - Public interface to the pagefault protocol.  /* l4/pagefault.h - Public interface to the pagefault protocol.
2     Copyright (C) 2004 Free Software Foundation, Inc.     Copyright (C) 2004, 2005 Free Software Foundation, Inc.
3     Written by Marcus Brinkmann <marcus@gnu.org>.     Written by Marcus Brinkmann <marcus@gnu.org>.
4    
5     This file is part of the GNU L4 library.     This file is part of the GNU L4 library.
# Line 77  _L4_pagefault_reply (_L4_thread_id_t to, Line 77  _L4_pagefault_reply (_L4_thread_id_t to,
77    _L4_msg_tag_t tag;    _L4_msg_tag_t tag;
78    _L4_word_t msg[2];    _L4_word_t msg[2];
79    
80    *((_L4_dword_t *) msg) = *((_L4_dword_t *) item);    /* We have to use memcpy here to avoid breaking the strict aliasing
81         rules, as we don't know the type of ITEM.  */
82      __builtin_memcpy (msg, item, sizeof (msg));
83    
84    _tag.raw = _L4_niltag;    _tag.raw = _L4_niltag;
85    _tag.typed = 2;    _tag.typed = 2;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26