SYSTEM FOR DYNAMIC REGISTRATION OF PRIVILEGED MODE HOOKS IN A DEVICE
摘要
System for dynamic registration of privileged mode hooks in a device. The system includes a method for dynamically registering a function in a device that includes at least two operating modes comprising a privileged mode and a non-privileged mode. The method comprises identifying an available slot in a data structure that maps identifiers to functions, and storing a pointer associated with the function in the slot. The method also comprises retrieving an identifier that is associated with the slot, and making the identifier accessible to non-privileged applications.