i82586.h (c3aac50f284c6cca5b4f2eb46aaa13812cb8b630) | i82586.h (0e91b7d532045763d4714b4c668ccad88fc07ae0) |
---|---|
1/*- 2 * Copyright (c) 1992, University of Vermont and State Agricultural College. 3 * Copyright (c) 1992, Garrett A. Wollman. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 309 unchanged lines hidden (view full) --- 318 319static __inline volatile void * 320Alignvol(volatile void *ptr) { 321 uintptr_t l = (uintptr_t)ptr; 322 l = (l + 3) & ~3L; 323 return (volatile void *)l; 324} 325 | 1/*- 2 * Copyright (c) 1992, University of Vermont and State Agricultural College. 3 * Copyright (c) 1992, Garrett A. Wollman. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 309 unchanged lines hidden (view full) --- 318 319static __inline volatile void * 320Alignvol(volatile void *ptr) { 321 uintptr_t l = (uintptr_t)ptr; 322 l = (l + 3) & ~3L; 323 return (volatile void *)l; 324} 325 |
326#if 0 |
|
326static __inline void 327ie_ack(volatile struct ie_sys_ctl_block *scb, 328 u_int mask, int unit, 329 void (*ca)(int)) { 330 scb->ie_command = scb->ie_status & mask; 331 (*ca)(unit); 332} | 327static __inline void 328ie_ack(volatile struct ie_sys_ctl_block *scb, 329 u_int mask, int unit, 330 void (*ca)(int)) { 331 scb->ie_command = scb->ie_status & mask; 332 (*ca)(unit); 333} |
334#endif |
|