Changeset 39cea6a in mainline for arch/ia32/include/asm.h


Ignore:
Timestamp:
2006-04-13T17:38:03Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e185136
Parents:
897ad60
Message:

Cleanup pm.c and pm.h code on ia32 and amd64.
Add before_task_runs() and before_task_runs_arch() for each architecture.
Add ia32 and amd64 code to ensure I/O Permission Bitmap update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/asm.h

    r897ad60 r39cea6a  
    257257 * @param gdtr_reg Address of memory from where to load GDTR.
    258258 */
    259 static inline void gdtr_load(struct ptr_16_32 *gdtr_reg)
     259static inline void gdtr_load(ptr_16_32_t *gdtr_reg)
    260260{
    261261        __asm__ volatile ("lgdt %0\n" : : "m" (*gdtr_reg));
     
    266266 * @param gdtr_reg Address of memory to where to load GDTR.
    267267 */
    268 static inline void gdtr_store(struct ptr_16_32 *gdtr_reg)
     268static inline void gdtr_store(ptr_16_32_t *gdtr_reg)
    269269{
    270270        __asm__ volatile ("sgdt %0\n" : : "m" (*gdtr_reg));
     
    275275 * @param idtr_reg Address of memory from where to load IDTR.
    276276 */
    277 static inline void idtr_load(struct ptr_16_32 *idtr_reg)
     277static inline void idtr_load(ptr_16_32_t *idtr_reg)
    278278{
    279279        __asm__ volatile ("lidt %0\n" : : "m" (*idtr_reg));
Note: See TracChangeset for help on using the changeset viewer.