unaligned.h
来自「基于组件方式开发操作系统的OSKIT源代码」· C头文件 代码 · 共 17 行
H
17 行
#ifndef __I386_UNALIGNED_H#define __I386_UNALIGNED_H/* * The i386 can do unaligned accesses itself. * * The strange macros are there to make sure these can't * be misused in a way that makes them not work on other * architectures where unaligned accesses aren't as simple. */#define get_unaligned(ptr) (*(ptr))#define put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?